Skip to content

Commit

Permalink
Merge branch 'dev' into certification (microsoft#159)
Browse files Browse the repository at this point in the history
* New translations (microsoft#112)

* Microsoft mandatory file (microsoft#117)

Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>

* Update timeline to use new formatting model API (5.1+) (microsoft#137)

* Add new formatting model units

* Update capabilities.json to new formatting model API

* Update version to 2.5.0

* Refactor Calendar into using interfaces

* Upgrade to new formatting model API

* Remove jquery, fix tests

* Migrate from puppeteer to playwright-chromium

* Split d3 into submodules like d3-selection

* Update dependencies

Previously visual didn't work with node v20.10.0,
but after updating the dependencies it works now.

* Set default value "false" for ScrollAutoAdjustment

* Fix top level slices to display "show" button on the cards

* Add stroke color and stroke width settings

* Add cursor color settings

* Add an option to specify the width, height manually

* Add scroll behavior

When scrolling on the cell it increases/decreases the date period.

* Add cell gap setting

* Revert "Add scroll behavior"

This reverts commit 3a0e970.

* Decrease min cell width. Add missing localization keys.

* Fix build status in README.md

* Use 4 digit number in version

* Update build.yml to run audit, outdated, linter

* Rename ambiguous topLevelSlice to show field. Revert MinCellWidth to fix a breaking change.

* Fix the resizing issue when enabling manual sizing.

When enabling manual sizing width and height of the cell is changed to the last saved by the user. Instead, the expected behavior is so width and height should be the same as before enabling manual sizing. It requires persisting current width and height of cells, but it triggers an additional update.

* Fix uneven stroke width around cells

When increasing stroke-width around the cells the height of the cell should be decreasing, otherwise the stroke is uneven.

* Fix vertical cursor shift when changing stroke width

* Update packages

* Fix npm vulnerabilities

* Remove core-js

* Update powerbi-visuals-api to 5.7.0

* Fix the issue with replacing old Timeline visual with newer version (microsoft#138)

* Add "Visual_Short_Description", "Visual_Long_Description" localization keys

* Fix the issue with upgrading the visual version inside the report

When user replaces the visual with new version the visual didn't render because some ItemDropDown values were not set.

* Fix eslint errors

* New translations

* Fix error with rendering when ItemDropDown values are undefined (microsoft#139)

* Fix error with rendering when ItemDropDown values are undefined

* Fix tests

* Update codeql-analysis.yml

* New translations

* Fix backwards compatibility (microsoft#143)

* Fix error with rendering when ItemDropDown values are undefined

* Fix tests

* Set topLevelSlice for "Cursor", "First Day of Week" formatting settings cards

* Update API to 5.8.0

* Fix height and width calculation when enableManualSizing is enabled

* Limit max text size in range header and labels

* Rollback capabilities.json to previous configuration to keep backwards compatibility

* Update packages

Bump version to 2.5.0.0

* Remove jquery

* Update GitHub actions to use node 18, 20

* Add TimelineSettingsModel.ts

* Refactor calendar interfaces

* Migrate to formatting model

* Add visual short and long description localization keys

* Fix granularity value backwards compatibility (use numbers instead of string)

* Add cursor formatting settings

* Add "Cells" card settings: stroke width and gap width

* Add formatting setting to manually resize cell height and width

* Split D3 into submodules like d3-selection

* Update packages

* Update API to 5.9.0

* Refactor event handlers into behavior.ts

* Refactor behavior.ts into static

* Fix karma.config

* Fix bugs with click handler and selecting period (microsoft#148)

* Disable "Calendar" and "First day of week" settings when WeekStandard is set to IS0 8601

* Fix cell click handler (passed invalid selected index)

* Fix uninitialized start date when date from filters is less than date from DataView

* Increase font max size for range header to 40

* Update outdated packages

* New translations

* New translations

* New translations

* Add toggle 'Treat as end of fiscal year' (microsoft#150)

* 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'

* Downgrade to API 5.9.0 (microsoft#155)

* New translations

---------

Co-authored-by: pbicvloc <[email protected]>
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: MulyukovAidar <[email protected]>
  • Loading branch information
4 people authored Aug 13, 2024
1 parent 015cca7 commit ade04b6
Show file tree
Hide file tree
Showing 56 changed files with 752 additions and 453 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 2.5.7
* Fix rendering visual when scroll is enabled. Fix scroll arrows not being clicked
* Remove range header font size restrictions
* Downgrade to API 5.9.0

## 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 ade04b6

Please sign in to comment.