Skip to content
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

[Dashboard]native filter to support freeForm values #13428

Closed
junlincc opened this issue Mar 3, 2021 · 1 comment
Closed

[Dashboard]native filter to support freeForm values #13428

junlincc opened this issue Mar 3, 2021 · 1 comment
Labels
dashboard:native-filters Related to the native filters of the Dashboard enhancement:request Enhancement request submitted by anyone from the community

Comments

@junlincc
Copy link
Member

junlincc commented Mar 3, 2021

Posting on behalf of users

Feedback 1: AFAIK Superset prefetchs all the distinct values of filters by running a separate query for each filter.
I'm looking for a way to implement an instant filter (filter as you type).Is there a way to achieve that? My dataset contains at least 2 millions of records so, I think prefeching all different values for each filter is not the best way for UX AND performance. My first guess is to use the data API but i'm not sure if this is the correct path to follow. Any suggestion?

Feedback 2: I've been using the new Dashboard native filters. I like them very much. One feature that is no longer available is entering freeForm values like it was possible with FilterBox. Is there plans to support free from values in native filters. Perhaps a configuration option? In our use cases it's not possible to provide a list of all possible values in the UI. So having the ability to enter arbitrary values is crucial.

Proposed solution

  • configuration to 'uncheck' autocomplete filter, similar to the setting in Explore.
  • Allow user to type instant filter value
@junlincc junlincc added enhancement:request Enhancement request submitted by anyone from the community dashboard:native-filters Related to the native filters of the Dashboard labels Mar 3, 2021
@junlincc junlincc changed the title [Dashboard]uncheck autocomplete native filter value [Dashboard]'uncheck' autocomplete native filter value Mar 3, 2021
@junlincc junlincc changed the title [Dashboard]'uncheck' autocomplete native filter value [Dashboard]native filter to support freeForm values Mar 3, 2021
@villebro
Copy link
Member

Implemented in #14314

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dashboard:native-filters Related to the native filters of the Dashboard enhancement:request Enhancement request submitted by anyone from the community
Projects
None yet
Development

No branches or pull requests

2 participants