-
Notifications
You must be signed in to change notification settings - Fork 147
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
[Tidy] Prepare for dynamic filters, part 1 of 2 #850
Conversation
View the example dashboards of the current commit live on PyCafe ☕ 🚀Updated on: 2024-11-07 11:55:22 UTC Link: vizro-core/examples/dev/ Link: vizro-core/examples/scratch_dev |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Do you guys want any further reviews? |
Let's say @petar-qb is the lead reviewer but a quick second pair of eyes would be good thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the ground breaking refactoring that will and optimise and facilitate the implementation of the dynamic filters!!
The targeted_data
format is just the master piece 🎨
I left a few minor comments, but other than that, all good! (tests are also okay, so no comments for that part)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As promised, glanced over it and it looks good to me
Description
Refactor filter.py to prepare for dynamic filters. This solves several long-standing TODOs in this file.
pre_build
(useful but not critical) and when updating filters during dashboard runtime (not yet implemented, but performance here is critical)_set
methods all rewritten and simplified (no more loops needed)__call__
(not yet used anywhere but will be soon)@petar-qb I recommend reviewing as follows:
Still TODO:
Screenshot
Notice
I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":