Skip to content
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

[FEATURE] Keep Sidebar Menu State #5813

Open
burdittw opened this issue Jan 25, 2025 · 0 comments
Open

[FEATURE] Keep Sidebar Menu State #5813

burdittw opened this issue Jan 25, 2025 · 0 comments

Comments

@burdittw
Copy link
Contributor

When I have closed or opened the sidebar menu, I would expect it to keep that state when I reload the page or go to another page. Currently, AdminLTE does not store the state anywhere.

Due to this being a template, there is a lack of options on where to store this state and the one that makes sense is the browser. If we store it in the browser then we have to decide what storage to use, local or session. I would expect this state to be there the next time I open the site, so it makes sense to me to store it in the local storage as the session storage would be gone the next time we open the browser and create a new session to the site.

The alternatives would be to store it in an xml or Json file but that would not really be good of decision as we would have to keep one per user and somehow maintain that. Since we have no database in the template there is no way to tie it to table.

Others in the comments have expressed interest in this feature and adding it will give the users a much-needed functionality that is missing and causes the user to constantly have to close the menu anytime the page refreshes or the window size is adjusted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant