-
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
style: Update metadata and filters positions + styles #1552
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
8a2d81e
to
7d8e288
Compare
@ptbrowne I refactored a bit to separate Let me know if it looks better now; otherwise I can move it one step further and actually refactor into a common zustand store 👍 |
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.
Thanks for the changes, I think it looks better already.
LGTM at the current stage, no need to go further. I had thought of the zustand store because I thought it could also keep the state of whether the metadata panel was opened or not. But it could be easily done later. The interactive filters could also go there. Actually the current interactive filters stores could maybe be extended with the filters state and the metadata panel state.
Let me know what you think, but I do not think it should be done in this PR :)
I think it would make sense, but then it should probably be renamed to something like "chartControlsStore" that would keep the state of both interactive filters, data filters element and metadata panel? All in a way "control" the chart 😅 I also wonder if we should simply keep state of UI elements there for data filters and metadata panel ( I think this could be a part of technical improvements in the next sprint :) |
Closes #1528
How to test