mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 14:34:59 +08:00

In this PR, the admin panel remembers the previous state and restores it when the admin panel is deactivated. https://github.com/discourse/discourse/pull/25781 However, it would be better to have a more generic solution. When the panel is changed, the previous state is saved in the sidebarState. When a user returns to the specific panel, a previously remembered state is restored.