Repository navigation
Tab-scoped sidebar persistence #2838
Unanswered
masnmt
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently,
<flux:sidebar>stores its collapsed state inlocalStorage, so the state is shared across browser tabs.It would be useful to have a tab-scoped persistence mode, for example:
When
persist="tab"is specified, it could prefer the value fromsessionStorage, falling back tolocalStoragefor a newly opened tab:When the state changes, both could be updated:
This would keep the sidebar state independent between open tabs, while preserving the latest state as the default for newly opened tabs.
All reactions