-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add filter patterns #2403
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
Comments
Thanks for opening this issue!
|
Is this similar to #2041? |
Uh, a year has passed and I've added it again; at least this one has a screenshot and a suggestion for the config syntax. #2041 is similar but not the same; it's just more in the idea of a database view. Essentially the same functionality, but maybe a different layout suggestion. I've added a screenshot in the issue there, to show the different UI. Maybe both feature can coexist and share much of the config parsing logic? |
A key difference between this issue and #2041 is that "Filter Views" in #2041 are there permanently, which may be unwanted for rarely used filter patterns. For example, a specific filter patterns is used once in a while. The pattern has a bad DB performance because it's not indexed. Indexing however wouldn't make sense for this rarely used pattern, because maintaining the indices continuously would mean a high constant strain the DB. If this rare pattern is added as a "Filter View", then the count operation next to the filter view triggers this bad performing query too often. |
New Feature / Enhancement Checklist
Current Limitation
Combinations of filters that are set in the data browser are lost when navigating away or reloading the dashboard.
Feature / Enhancement Description
Add feature to set preset filter patterns via filter dialog and preset filter patterns via dashboard configuration.
Example Use Case
A filter pattern that finds objects in the
_User
class wherecreatedAt >= 10 days ago
&&updatedAt <= 1 day ago
The filer dialog could look like this, with existing buttons less verbose, so there is enough space for a 4th button:
The dashboard config could look like this:
Alternatives / Workarounds
Enter filter pattern manually (status quo).
The text was updated successfully, but these errors were encountered: