-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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: Move Apply and ClearAll Button below filters and change clearAll Button to link #17505
feat: Move Apply and ClearAll Button below filters and change clearAll Button to link #17505
Conversation
Codecov Report
@@ Coverage Diff @@
## master #17505 +/- ##
=======================================
Coverage 77.00% 77.00%
=======================================
Files 1049 1050 +1
Lines 56588 56594 +6
Branches 7825 7826 +1
=======================================
+ Hits 43574 43580 +6
Misses 12760 12760
Partials 254 254
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Hi @Nithin-George-Philips , first of all, thank you so much for your contribution! In this case, the reason the “Apply” and “Clear all” buttons are on the top is because the list of filters can become very long, in which case the buttons might be outside the currently visible viewport. In addition, keeping them on top makes it possible to keep them sticky when scrolling the filter list. If you found the current solution is not sufficient for your use case, we suggest you to either kickoff a discussion in the Issue page, or update the PR description with change rational and we can continue our discussion in the thread. For now, unfortunately, we will not be able to merge your PR. |
…thin-Philips/superset into superset-filtering-UX-changes
@junlincc I totally agree with the need of keeping the buttons sticky in case of many filters Would you consider that as a configurable feature (either bottom/top ) ? |
…nto superset-filtering-UX-changes
I think the problem of moving this to the bottom in a |
I'm thinking in this direction.
Side note: if a dashboard falls into the last criteria, it is better for the dashboard builder to use the default position for the buttons which is at the top. Advantages:
|
I had a discussion with @Nithin-George-Philips . We decided on the following steps, that will introduce least changes.
Plan is to use dashboard specific css by using the flexbox properties to put the footer to the bottom. Going to test this theory. If it works, then it should be pretty straight forward. |
SUMMARY
New UI
ADDITIONAL INFORMATION