Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix backwards compatibility #143

Merged
merged 24 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f0616a3
Fix error with rendering when ItemDropDown values are undefined
adiletelf Jan 25, 2024
26b650e
Fix tests
adiletelf Jan 25, 2024
445da2d
Set topLevelSlice for "Cursor", "First Day of Week" formatting settin…
adiletelf Mar 1, 2024
90466aa
Update API to 5.8.0
adiletelf Mar 1, 2024
237e2f9
Fix height and width calculation when enableManualSizing is enabled
adiletelf Mar 1, 2024
0d6bf00
Limit max text size in range header and labels
adiletelf Mar 1, 2024
883e3a7
Rollback capabilities.json to previous configuration to keep backward…
adiletelf Mar 1, 2024
f154e97
Update packages
adiletelf Mar 5, 2024
565bfe3
Remove jquery
adiletelf Mar 5, 2024
bfd724b
Update GitHub actions to use node 18, 20
adiletelf Mar 5, 2024
e9ccce9
Add TimelineSettingsModel.ts
adiletelf Mar 5, 2024
6115a74
Refactor calendar interfaces
adiletelf Mar 5, 2024
17773c4
Migrate to formatting model
adiletelf Mar 6, 2024
2738c4a
Add visual short and long description localization keys
adiletelf Mar 6, 2024
670b3c5
Fix granularity value backwards compatibility (use numbers instead of…
adiletelf Mar 7, 2024
698e1d0
Add cursor formatting settings
adiletelf Mar 11, 2024
ea4a626
Add "Cells" card settings: stroke width and gap width
adiletelf Mar 11, 2024
32d1c02
Add formatting setting to manually resize cell height and width
adiletelf Mar 11, 2024
d9f4cc4
Split D3 into submodules like d3-selection
adiletelf Mar 11, 2024
f55b577
Update packages
adiletelf Mar 11, 2024
94a52a0
Update API to 5.9.0
adiletelf Mar 29, 2024
4c252af
Refactor event handlers into behavior.ts
adiletelf Apr 1, 2024
752cb80
Refactor behavior.ts into static
adiletelf Apr 2, 2024
74011f1
Fix karma.config
adiletelf Apr 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm audit
continue-on-error: true
- run: npm ci
- run: npm outdated
continue-on-error: true
- run: npm run eslint
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ webpack.statistics.html
webpack.statistics.dev.html
webpack.statistics.prod.html

# JetBrains
## JetBrains
.idea/
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 2.5.3
* Update API to 5.9.0
* Fix npm vulnerabilities
* Refactor event handlers into behavior.ts

## 2.5.2
* Fix backwards compatibility with 2.4.0
* Packages update

## 2.5.1
* powerbi-visuals-api was updated to 5.8.0
* Packages update


## 2.5.0
* powerbi-visuals-api was updated to 5.7.0
* Updated to new formatting model api provided
Expand Down
162 changes: 149 additions & 13 deletions capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,22 @@
}
}
},
"weeksDeterminationStandards": {
"weeksDetermintaionStandards": {
"properties": {
"weekStandard": {
"type": {
"text": true
"enumeration": [
{
"value": "0",
"displayName": "-- none --",
"displayNameKey": "Visual_Week_Standard_None"
},
{
"value": "1",
"displayName": "ISO 8601",
"displayNameKey": "Visual_Week_Standard_ISO8601"
}
]
}
}
}
Expand All @@ -90,7 +101,68 @@
"properties": {
"month": {
"type": {
"text": true
"enumeration": [
{
"value": "0",
"displayName": "January",
"displayNameKey": "Visual_Month_January"
},
{
"value": "1",
"displayName": "February",
"displayNameKey": "Visual_Month_February"
},
{
"value": "2",
"displayName": "March",
"displayNameKey": "Visual_Month_March"
},
{
"value": "3",
"displayName": "April",
"displayNameKey": "Visual_Month_April"
},
{
"value": "4",
"displayName": "May",
"displayNameKey": "Visual_Month_May"
},
{
"value": "5",
"displayName": "June",
"displayNameKey": "Visual_Month_June"
},
{
"value": "6",
"displayName": "July",
"displayNameKey": "Visual_Month_July"
},
{
"value": "7",
"displayName": "August",
"displayNameKey": "Visual_Month_August"
},
{
"value": "8",
"displayName": "September",
"displayNameKey": "Visual_Month_September"
},
{
"value": "9",
"displayName": "October",
"displayNameKey": "Visual_Month_October"
},
{
"value": "10",
"displayName": "November",
"displayNameKey": "Visual_Month_November"
},
{
"value": "11",
"displayName": "December",
"displayNameKey": "Visual_Month_December"
}
]
}
},
"day": {
Expand All @@ -109,7 +181,43 @@
},
"day": {
"type": {
"text": true
"enumeration": [
{
"value": "0",
"displayName": "Sunday",
"displayNameKey": "Visual_Day_Sunday"
},
{
"value": "1",
"displayName": "Monday",
"displayNameKey": "Visual_Day_Monday"
},
{
"value": "2",
"displayName": "Tuesday",
"displayNameKey": "Visual_Day_Tuesday"
},
{
"value": "3",
"displayName": "Wednesday",
"displayNameKey": "Visual_Day_Wednesday"
},
{
"value": "4",
"displayName": "Thursday",
"displayNameKey": "Visual_Day_Thursday"
},
{
"value": "5",
"displayName": "Friday",
"displayNameKey": "Visual_Day_Friday"
},
{
"value": "6",
"displayName": "Saturday",
"displayNameKey": "Visual_Day_Saturday"
}
]
}
}
}
Expand Down Expand Up @@ -148,31 +256,33 @@
}
}
},
"fillUnselected": {
"strokeSelected": {
"type": {
"fill": {
"solid": {
"color": {
"nullable": true
}
"color": true
}
}
}
},
"strokeColor": {
"fillUnselected": {
"type": {
"fill": {
"solid": {
"color": true
"color": {
"nullable": true
}
}
}
}
},
"selectedStrokeColor": {
"strokeUnselected": {
"type": {
"fill": {
"solid": {
"color": true
"color": {
"nullable": true
}
}
}
}
Expand Down Expand Up @@ -231,7 +341,33 @@
},
"granularity": {
"type": {
"text": true
"enumeration": [
{
"value": "0",
"displayName": "Year",
"displayNameKey": "Visual_Granularity_Year"
},
{
"value": "1",
"displayName": "Quarter",
"displayNameKey": "Visual_Granularity_Quarter"
},
{
"value": "2",
"displayName": "Month",
"displayNameKey": "Visual_Granularity_Month"
},
{
"value": "3",
"displayName": "Week",
"displayNameKey": "Visual_Granularity_Week"
},
{
"value": "4",
"displayName": "Day",
"displayNameKey": "Visual_Granularity_Day"
}
]
},
"filterState": true
},
Expand Down
6 changes: 6 additions & 0 deletions karma.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ process.env.CHROME_BIN = require("playwright-chromium").chromium.executablePath(
module.exports = (config) => {
config.set({
browsers: ["ChromeHeadless"],
customLaunchers: {
ChromeDebugging: {
base: "ChromeHeadless",
flags: ["--remote-debugging-port=9333"]
}
},
colors: true,
coverageReporter: {
dir: path.join(__dirname, coverageFolder),
Expand Down
Loading
Loading