-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Query the new chart data api for charts that support it #9710
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9710 +/- ##
==========================================
- Coverage 70.78% 66.02% -4.77%
==========================================
Files 586 586
Lines 30434 30445 +11
Branches 3117 3121 +4
==========================================
- Hits 21544 20101 -1443
- Misses 8776 10160 +1384
- Partials 114 184 +70
Continue to review full report at Codecov.
|
@@ -84,7 +84,7 @@ | |||
"@superset-ui/legacy-plugin-chart-sunburst": "^0.13.5", | |||
"@superset-ui/legacy-plugin-chart-table": "^0.13.5", | |||
"@superset-ui/legacy-plugin-chart-treemap": "^0.13.3", | |||
"@superset-ui/legacy-plugin-chart-world-map": "^0.13.3", | |||
"@superset-ui/legacy-plugin-chart-world-map": "^0.13.6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need to bump @superset-ui/plugin-chart-word-cloud
to 0.13.5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went ahead and did this :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hope that's not a faux pas
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I meant so say 0.13.6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
CATEGORY
SUMMARY
Charts with the metadata value
useLegacyApi
set tofalse
will now query the new api endpoint. This is demonstrated with the word cloud plugin, which has been upgraded to the non-legacy version.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
I've added a test for the api query, and verified both the new word cloud and a few of the legacy chart types in Explore. Still verifying that charts work correctly in Dashboards. You're encouraged to try out the branch.
ADDITIONAL INFORMATION
REVIEWERS