-
Notifications
You must be signed in to change notification settings - Fork 12
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
Maintain collapsed state of Ringdowns list when switching tabs in ER view #274
base: main
Are you sure you want to change the base?
Conversation
Thanks for this, @kretzbryan. I'm not sure writing the state to localStorage is the best approach, as we'd be leaving behind the title of each ringdown in the browser, and there's no guarantee they'd be unique. Seems like the app itself would need to maintain the state. Or the tab could just be hidden, instead of torn down, so the expanded state would be maintained in the DOM. |
I'm not sure if we're going to have other ui features related to the ringdown sections, so I structured the state so we can add more values to each section. If you think all we're expecting is to expand them, then I can simplify the state a little more. |
No description provided.