-
Notifications
You must be signed in to change notification settings - Fork 271
feat(plugin-chart-echart): New Tree chart #1018
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/superset/superset-ui/D9aGdWRZ2xsMJ3131PQnMdKweCaf |
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.
Thanks so much for taking this on! A few comments (sorry if I barged in on a WIP that wasn't supposed to be reviewed yet).
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
…set-ui into ui-echart-tree
Codecov Report
@@ Coverage Diff @@
## master #1018 +/- ##
==========================================
+ Coverage 28.35% 28.78% +0.43%
==========================================
Files 448 455 +7
Lines 9057 9126 +69
Branches 1423 1436 +13
==========================================
+ Hits 2568 2627 +59
- Misses 6289 6296 +7
- Partials 200 203 +3
Continue to review full report at Codecov.
|
@mayurnewase Hi Mayur, many thanks for the PR. it has been open for a long time, do you think it's ready to merge? I need help to get it to the other main repo for testing. @villebro |
@mayurnewase I'm reviewing now; can you rebase to resolve the conflict? |
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.
Looks mostly good - a minor change recommendation on the orientation control labels. Also, I was unable to get the radio buttons to work correctly despite nuking superset-ui
, linking core
and chart-controls
etc. Probably just my env that doesn't work properly, but might be a good idea to double check that the control panel works correctly:
Radio button signature was updated in #1019 |
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, thanks for all the hard work on this awesome plugin! 🚀
* initial * tests added,1 typing issue present * remove log * remove color * remove duplicate tooltip * Update plugins/plugin-chart-echarts/src/Tree/transformProps.ts Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> * clean * merge * optional name column,more tests... * bug fix * remove unused imports * lint * bug fix * tying fix * clean,typing fix * stories added * optional metric control * bigger thumbnail * optional root node name * storybokk updated * children list seperated instead of mutating data,if root node not provided defaault it to node with most children * remove logs,optimization needed * find best node if root not provided,use seperate children list to avoid issues if column name is children * remove unused import * type fix * Update transformProps.ts * Update debugging.md * better todo * updated radio button with new signature Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
…)" This reverts commit e03c37e.
🏆 Enhancements
Added new Echart's Tree chart
Couldn't find a suitable table in existing examples, so added my own.
Deployment: https://superset-ui-5zve2b551-superset.vercel.app/?path=/story/chart-plugins-plugin-chart-echarts-tree--tree
SS (controls are not updated)