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

Improvement: Move useQueryFilter to a view #40

Open
JCZuurmond opened this issue Oct 6, 2023 · 1 comment
Open

Improvement: Move useQueryFilter to a view #40

JCZuurmond opened this issue Oct 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@JCZuurmond
Copy link
Collaborator

Instead of calling useQueryFilter when querying data. Create a view that contains those filters and use the view inside the queries. This separates the dynamic query filters from the logic that is specific to retrieve the right information for a specific part of the dashboard. We need to be sure that when users change the query filter by using the dashboard, that the data is still updated.

@JCZuurmond
Copy link
Collaborator Author

@ramonvermeulen : What do you think?

@JCZuurmond JCZuurmond added the enhancement New feature or request label Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant