Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 0 additions & 7 deletions .eslintignore

This file was deleted.

20 changes: 0 additions & 20 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
matrix:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ webpack.statistics.prod.html

## JetBrains
.idea/

## VSCode
.vscode/
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
## 2.5.13
* Update packages, migrate to eslint v9

## 2.5.12
* Fix labels settings for backwards compatibility
* Fix selecting or dragging cells when partial labels are enabled (edges have an incorrect offset)

## 2.5.11
* Change the default color for "unselected cells" to transparent

## 2.5.10
* Fix the bug with scroll area being too big
* Update packages

## 2.5.9
* Fix the bug with header not moving on scrolling horizontally
* Fix npm vulnerabilities

## 2.5.8
* Fix the bug with dragging cursors

## 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
62 changes: 44 additions & 18 deletions capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,6 @@
}
}
},
"cursor": {
"properties": {
"show": {
"type": {
"bool": true
}
},
"color": {
"type": {
"fill": {
"solid": {
"color": true
}
}
}
}
}
},
"forceSelection": {
"properties": {
"currentPeriod": {
Expand Down Expand Up @@ -99,6 +81,11 @@
},
"calendar": {
"properties": {
"treatAsEndOfFiscalYear": {
"type": {
"bool": true
}
},
"month": {
"type": {
"enumeration": [
Expand Down Expand Up @@ -311,6 +298,20 @@
"type": {
"numeric": true
}
},
"showEdges": {
"type": {
"bool": true
}
},
"edgeColor": {
"type": {
"fill": {
"solid": {
"color": true
}
}
}
}
}
},
Expand Down Expand Up @@ -410,6 +411,31 @@
"bool": true
}
},
"displayYears": {
"type": {
"bool": true
}
},
"displayQuarters": {
"type": {
"bool": true
}
},
"displayMonths": {
"type": {
"bool": true
}
},
"displayWeeks": {
"type": {
"bool": true
}
},
"displayDays": {
"type": {
"bool": true
}
},
"fontColor": {
"type": {
"fill": {
Expand Down
19 changes: 19 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import powerbiVisualsConfigs from "eslint-plugin-powerbi-visuals";
import tseslint from 'typescript-eslint';

export default [
...tseslint.configs.recommended,
powerbiVisualsConfigs.configs.recommended,
{
ignores: [
"node_modules/**",
"dist/**",
".vscode/**",
".tmp/**",
"coverage/**",
"test/**",
"karma.conf.ts",
"test.webpack.config.js"
]
},
];
2 changes: 1 addition & 1 deletion karma.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = (config) => {
files: [
testRecursivePath,
],
frameworks: ["jasmine"],
frameworks: ["jasmine", "webpack"],
junitReporter: {
outputDir: path.join(__dirname, coverageFolder),
outputFile: "TESTS-report.xml",
Expand Down
Loading
Loading