Skip to content

Commit

Permalink
Interactivity removal + context menu fix (microsoft#104)
Browse files Browse the repository at this point in the history
* Replace interactivity service with selectionManager

* Add aria labels

* Add tests for selection and keyboard navigation

* Increment visual version

* Added interactivity to legend

* Update dependencies

---------

Co-authored-by: Iuliia Kulagina <[email protected]>
  • Loading branch information
kullJul and Iuliia Kulagina authored Jul 31, 2024
1 parent e1507ee commit 04acd15
Show file tree
Hide file tree
Showing 12 changed files with 844 additions and 544 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 3.0.4.0
* Use selectionManager instead of interactivity utils
* Add interactivity to legend
* Add context menu to legend and axis labels
* Add aria-labels
* API 5.11.10

## 3.0.3.0
* Fix issue with categoryAxis end type
* Update packages
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const testRecursivePath = "test/visualTest.ts";
const srcOriginalRecursivePath = "src/**/*.ts";
const coverageFolder = "coverage";

require("playwright").chromium.executablePath();
process.env.CHROME_BIN = require("playwright-chromium").chromium.executablePath();

module.exports = (config) => {
config.set({
Expand Down
703 changes: 372 additions & 331 deletions package-lock.json

Large diffs are not rendered by default.

36 changes: 17 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "powerbi-visuals-tornadochart",
"version": "3.0.3.0",
"version": "3.0.4.0",
"author": {
"name": "Microsoft",
"email": "[email protected]"
Expand All @@ -20,16 +20,15 @@
"url": "git+https://github.com/Microsoft/PowerBI-visuals-Tornado.git"
},
"devDependencies": {
"@types/d3": "^7.4.2",
"@types/d3": "^7.4.3",
"@types/jasmine": "5.1.1",
"@types/jasmine-jquery": "1.5.36",
"@types/jquery": "3.5.25",
"@types/karma": "6.3.6",
"@types/webpack": "5.28.4",
"ajv": "^8.12.0",
"css-loader": "6.8.1",
"jasmine": "5.1.0",
"karma": "^6.4.2",
"karma": "^6.4.3",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
"karma-coverage-istanbul-reporter": "^3.0.3",
Expand All @@ -41,33 +40,32 @@
"karma-webpack": "5.0.0",
"less": "^4.2.0",
"less-loader": "^11.1.3",
"powerbi-visuals-api": "^5.9.1",
"powerbi-visuals-tools": "^5.4.3",
"powerbi-visuals-utils-chartutils": "6.0.4",
"powerbi-visuals-utils-colorutils": "6.0.4",
"powerbi-visuals-utils-dataviewutils": "6.1.0",
"powerbi-visuals-utils-formattingutils": "6.1.1",
"powerbi-visuals-utils-interactivityutils": "6.0.4",
"powerbi-visuals-utils-svgutils": "6.0.4",
"playwright-chromium": "^1.45.2",
"powerbi-visuals-tools": "^5.5.1",
"powerbi-visuals-utils-testutils": "6.1.1",
"powerbi-visuals-utils-tooltiputils": "6.0.4",
"powerbi-visuals-utils-typeutils": "6.0.3",
"style-loader": "3.3.3",
"stylelint": "^15.11.0",
"ts-loader": "9.5.0",
"typescript": "5.2.2",
"webpack": "5.89.0"
"webpack": "^5.89.0"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.9.1",
"coverage-istanbul-loader": "^3.0.5",
"d3-array": "^3.2.4",
"d3-brush": "^3.0.0",
"d3-selection": "^3.0.0",
"eslint": "^8.53.0",
"eslint": "^8.57.0",
"eslint-plugin-powerbi-visuals": "^0.8.1",
"playwright": "^1.39.0",
"powerbi-visuals-utils-formattingmodel": "^6.0.0"
"powerbi-visuals-api": "^5.11.0",
"powerbi-visuals-utils-chartutils": "7.0.0-beta.1",
"powerbi-visuals-utils-colorutils": "6.0.4",
"powerbi-visuals-utils-dataviewutils": "6.1.0",
"powerbi-visuals-utils-formattingmodel": "^6.0.0",
"powerbi-visuals-utils-formattingutils": "6.1.1",
"powerbi-visuals-utils-svgutils": "6.0.4",
"powerbi-visuals-utils-tooltiputils": "6.0.4",
"powerbi-visuals-utils-typeutils": "6.0.3"
}
}
6 changes: 3 additions & 3 deletions pbiviz.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"visual": {
"name": "TornadoChart",
"displayName": "Tornado 3.0.3.0",
"displayName": "Tornado 3.0.4.0",
"guid": "TornadoChart1452517688218",
"visualClassName": "TornadoChart",
"version": "3.0.3.0",
"version": "3.0.4.0",
"description": "A bar chart with category values listed vertically. Use for comparing the relative importance of a variable between two distinct groups.",
"supportUrl": "https://community.powerbi.com",
"gitHubUrl": "https://github.com/Microsoft/PowerBI-visuals-Tornado"
},
"apiVersion": "5.9.1",
"apiVersion": "5.11.0",
"author": {
"name": "Microsoft",
"email": "[email protected]"
Expand Down
Loading

0 comments on commit 04acd15

Please sign in to comment.