Skip to content

Commit

Permalink
Add toggle 'Treat as end of fiscal year' (#150)
Browse files Browse the repository at this point in the history
* Add toggle 'Treat as end of fiscal year'

* Disable 'Force selection' toggles when filters are changed

* Fix 'Force selection' update on filter change

* Update packages, bump version to 2.5.6.0

* Fix selecting current period

* Fix npm vulnerabilities

* Fix forceSelection update when currentPeriod dates is null

* Add labels toggle switches to allow users to customize which labels to show

* Fix week granularity label

Previously it showed 'Year 5 - 2014, Q1 Jan' instead of 'Week 5 - 2014, Q1 Jan'

* Fix rendering visual when scroll is enabled. Fix scroll arrows not being clicked

* Remove range header font size restrictions

* Remove displayAll from labels

* Remove tests with label 'displayAll'
  • Loading branch information
adiletelf authored Jul 31, 2024
1 parent fc93fda commit 8ae149c
Show file tree
Hide file tree
Showing 13 changed files with 497 additions and 457 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 2.5.7
* Fix rendering visual when scroll is enabled. Fix scroll arrows not being clicked
* Remove range header font size restrictions

## 2.5.6
* Fix ignoring filters when "Force selection" is enabled. "Force selection" will automatically disable if filters select another period
* Add labels toggle switches to allow users to customize which labels to show
* Fix week granularity label. Previously it showed 'Year 5 - 2014, Q1 Jan' instead of 'Week 5 - 2014, Q1 Jan'

## 2.5.5
* Add toggle 'Treat as end of fiscal year'

## 2.5.4
* Disable "Calendar" and "First day of week" settings when WeekStandard is set to IS0 860
* Fix uninitialized start date when date from filters is less than date from DataView
Expand Down
27 changes: 26 additions & 1 deletion capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@
},
"calendar": {
"properties": {
"treatAsEndOfFiscalYear": {
"type": {
"bool": true
}
},
"month": {
"type": {
"enumeration": [
Expand Down Expand Up @@ -405,7 +410,27 @@
"bool": true
}
},
"displayAll": {
"displayYears": {
"type": {
"bool": true
}
},
"displayQuarters": {
"type": {
"bool": true
}
},
"displayMonths": {
"type": {
"bool": true
}
},
"displayWeeks": {
"type": {
"bool": true
}
},
"displayDays": {
"type": {
"bool": true
}
Expand Down
Loading

0 comments on commit 8ae149c

Please sign in to comment.