-
Notifications
You must be signed in to change notification settings - Fork 0
Default settings sidebar to open #368
Copy link
Copy link
Open
Description
Description
The main user settings sidebar (in /packages/web/src/components/settings/SettingsLayout.jsx) currently defaults to collapsed when a user first visits. It should default to expanded/open instead.
Current Behavior
getInitialSidebarMode() returns 'collapsed' when no value is found in localStorage (corates-sidebar-mode key). On first visit, the sidebar is collapsed and the user has to manually expand it.
Expected Behavior
The settings sidebar should default to 'expanded' on first visit. Once a user explicitly collapses it, their preference should still be persisted via localStorage.
Implementation Notes
- File:
packages/web/src/components/settings/SettingsLayout.jsx - Change the default return value in
getInitialSidebarMode()from'collapsed'to'expanded' - The settings sidebar shares localStorage keys with the main sidebar (
corates-sidebar-mode), so consider whether this change should also affect the main sidebar or if they should use separate keys
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels