-
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
chore: Change Sort by and Sort descending controls for Time-series Bar Chart #18950
Conversation
Codecov Report
@@ Coverage Diff @@
## master #18950 +/- ##
=======================================
Coverage 66.38% 66.39%
=======================================
Files 1640 1641 +1
Lines 63514 63516 +2
Branches 6418 6423 +5
=======================================
+ Hits 42164 42171 +7
+ Misses 19690 19685 -5
Partials 1660 1660
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Hey, @geido. I tested it in my local environment. I found that we can't remove series order by
metric after disabling series limit
. Please look at the video:
should.remove.unused.measure.mov
Hello @zhaoyongjie this is the problem that I am mentioning in the description as well. This issue is affecting master too and it requires more investigation. @stephenLYZ is working on it in a separate PR. Thanks! |
For reference, the problem mentioned above can also be reproduced from this PR #17726. The Sort descending will always be applied even when hidden |
superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/index.tsx
Show resolved
Hide resolved
Thanks for the explanation. LGTM |
(cherry picked from commit f53f86f)
SUMMARY
This PR hides the SERIES LIMIT SORT BY and SERIES LIMIT SORT DESCENDING when no SERIES LIMIT is set and viceversa.
There is an issue for which some controls are not properly cleared when hidden. This issue is already affecting master and will be fixed in a separate PR.
AFTER
DEV.Quarterly.Sales.By.Product.Line.1.mp4
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION