Skip to content

Commit

Permalink
Tornado v3.0.0.0 (microsoft#89)
Browse files Browse the repository at this point in the history
* migrate to formatting pane, package version up

* +datapoint contextmenu handling in behavior
+tooltip handling in behavior
+formattinpage localization in model
- formatting setting from dataview
+eslint
+overall refactoring

* fix tests, remove jquery, split d3,
remove unused packages

* eslint error fix

* make formattingSettingModel property non-static

* use formatting settings legend
overall refactoring

* scrolling fix TornadoChart

* npm audit fix,
refactor
delete unused files

* status badge

* rendering events

* tooltip support in capabilities to see setting in formatting pane

* feature keyboardfocus, bug fix 2303270040009678

* small refactor

* gradient feature on supporthighlight, this commit is not finished, checkpoint

* supporthighlight via gradient, refactoring

* fix highlight test to support gradient

* remove unused imports

* Use native scroll instead custom

* Hide legend settings if legend bucket is empty

* Fix default formatting settings and labels height

* Add keys for multiselection

* Update visual version

* Add legend font settings to capabilities

* Remove dataview reassignment in render

* Fix grouped datalabels

* Fix object property access

* Fix tests

* Fix audit

* Update build.yml

* Add short and long descriptions to the string resources

* Rename master to main

* Fix keys for long and short description

---------

Co-authored-by: Nursultan Dzhumabaev <[email protected]>
Co-authored-by: Iuliia Kulagina <[email protected]>
  • Loading branch information
3 people authored Jan 23, 2024
1 parent 322f2a6 commit 51843a3
Show file tree
Hide file tree
Showing 16 changed files with 340 additions and 519 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: build

on:
push:
branches: [ master, certification, dev ]
branches: [ main, certification, dev ]
pull_request:
branches: [ master, certification, dev ]
branches: [ main, certification, dev ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 3.0.0.0
* Update packages to the latest versions
* Replace custom scroll with native
* Add keyboard navigation
* Migrate to formatting pane

## 2.1.1
* Update packages to the latest versions
* Add context menu
Expand Down
20 changes: 18 additions & 2 deletions capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,21 @@
"fontFamily": true
}
}
},
"fontBold": {
"type": {
"bool": true
}
},
"fontUnderline": {
"type": {
"bool": true
}
},
"fontItalic": {
"type": {
"bool": true
}
}
}
},
Expand Down Expand Up @@ -266,7 +281,7 @@
}
}
}
},
},
"supportsHighlight": true,
"sorting": {
"default": {}
Expand All @@ -276,5 +291,6 @@
"supportedTypes": {
"default": true
}
}
},
"supportsKeyboardFocus": true
}
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "powerbi-visuals-tornadochart",
"version": "2.1.2.0",
"version": "3.0.0.0",
"author": {
"name": "Microsoft",
"email": "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions pbiviz.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"visual": {
"name": "TornadoChart",
"displayName": "Tornado 2.1.2.0",
"displayName": "Tornado 3.0.0.0",
"guid": "TornadoChart1452517688218",
"visualClassName": "TornadoChart",
"version": "2.1.2.0",
"version": "3.0.0.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"
Expand Down
Loading

0 comments on commit 51843a3

Please sign in to comment.