-
Notifications
You must be signed in to change notification settings - Fork 14k
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
feat(explore): adhoc column formatting for Table chart #13758
Conversation
2c1a471
to
7019a5f
Compare
a55f820
to
890b6cd
Compare
...config, | ||
...controls[name], | ||
name, | ||
}; | ||
if (config.mapStateToProps?.length === 3) { |
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.
what does this mean? maybe a comment to show why it's necessary?
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 updated the comments
superset-frontend/src/explore/components/ControlPanelsContainer.tsx
Outdated
Show resolved
Hide resolved
145bea3
to
3c93b75
Compare
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, and thanks for bumping the package versions to pull in my fix too!
3c93b75
to
d95514d
Compare
It seems emotion's |
Codecov Report
@@ Coverage Diff @@
## master #13758 +/- ##
=======================================
Coverage 78.09% 78.09%
=======================================
Files 934 934
Lines 47345 47350 +5
Branches 5937 5945 +8
=======================================
+ Hits 36972 36976 +4
- Misses 10229 10230 +1
Partials 144 144
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
95b2c8d
to
421335e
Compare
421335e
to
73166b5
Compare
/testenv up |
@ktmud Ephemeral environment creation is currently limited to committers. |
* master: (26 commits) chore: bump to new superset-ui version (#13932) fix: do not run containers as root by default in Helm chart (#13917) feat(explore): adhoc column formatting for Table chart (#13758) fix(sqla-query): order by aggregations in Presto and Hive (#13739) feat(alert/report): add ALERTS_ATTACH_REPORTS feature flags + feature (#13894) test: Fixes PropertiesModal_spec (#13548) fix: Pin Prophet dependency after breaking changes (#13852) test: Adds tests to dnd controls (#13650) test: Adds tests to the AnnotationLayer component (#13748) test: Refactor and enhance tests for the Explore DatasourcePanel Component (#13799) Add tests (#13778) test: DisplayQueryButton (#13750) Fixing condition around left margin for dashboard layout. Fixes #13863 (#13905) Revert "fix: select table overlay (#13694)" (#13901) test: Adds tests to the OptionControls component (#13729) test: DatasourceControl (#13605) tests for function handleScroll (#13896) test: Adds tests to the CustomFrame component (#13675) test: Adds tests to the AdvancedFrame component (#13664) test: DataTableControl (#13668) ...
SUMMARY
Add ad-hoc per-column formatting to table chart so users can change things like column width and d3 format after querying.
Most logics are built in
superset-ui
, with this PR: apache-superset/superset-ui#1019The only change in
superset-frontend
is to pass chart state to controls.Closes #10729 .
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
See apache-superset/superset-ui#1019 for more screenshots.
TEST PLAN
Manual testing
ADDITIONAL INFORMATION