-
Notifications
You must be signed in to change notification settings - Fork 3
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
Preparation dashboard #1516
Preparation dashboard #1516
Conversation
…icular chart context
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
56b54cd
to
edd42f0
Compare
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.
LGTM 💯
When testing, I noticed one issue (which is also there on TEST, so not a regression, but related to this area I think):
- Go to https://visualization-tool-git-feat-preparation-dashboard-ixt1.vercel.app/en/create/new?cube=https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/9&dataSource=Prod
- Add a second chart.
- Go back to first chart.
- Go to X axis.
- Enable interactive filter.
- Proceed to layout options.
- See that the chart changes filter range to 2014-2014.
I can also open a new issue, let me know 👍
Co-authored-by: Bartosz Prusinowski <[email protected]>
Thanks for the thorough review, I've created an issue for the problem you saw 🙇 |
InteractiveFilters state has been lifted up, out of the chart themselves, inside a global InteractiveFilters provider, which creates one zustand store for each chart, and then provides it to the charts through InteractiveFiltersChartProvider. This will enable control of multiple interactive filters by one component.