-
Notifications
You must be signed in to change notification settings - Fork 16.6k
fix: row limit in filter box #10410
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
fix: row limit in filter box #10410
Conversation
|
Closing to rerun the CI |
699bd3f to
77ebfe6
Compare
|
@villebro can this be merged? |
|
I think personally I prefer the approach in #8101, looks like the PR got dropped, but it should be easy to revive/update it. Also for the record you can change the 50k default value by using a |
|
I'd also vote for reviving #8101 |
|
what about an unlimited option where whatever a user types, ie "Ecuador" is sent as query to to backend db --> select distinct column from table where column like '%Ecuador%' then the results of that are shown in the dropdown list? ie Ecuador Exports, Ecuador Imports, Ecuador Revenue.... Otherwise even a limit of 10million would crash browser or not cover all entries in a huge table |
|
There's deeper work on filters taking place as we speak that will replace the "Filter Box" with dashboard-native filters, so we probably do not want to spend too many cycles improving Filter Box |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
|
Closing this PR @aspedrosa as the community momentum is focused on the new Dashboard Native Filters and slowly deprecating Filterbox 🙏 |
SUMMARY
Currently there is a hard coded row limit on FilterBox.
I added the row limit control to the filter box visualization control panel so the user can customize this limit.
However the new default limit is 50000, imposed by the control itself.
There was another pull request (#8101) that fixed this but placed the row limit within each field being filtered, but this leads to having several row limit selects.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:

After:

TEST PLAN
Suppose that the rendering of controls cover this 🤔
ADDITIONAL INFORMATION