fix: Settings sidebar always starts expanded for discoverability
The sidebar no longer persists its collapsed state to localStorage. Each visit to Settings starts with the sidebar expanded, showing all menu labels for better discoverability by new users. Users can still collapse the sidebar during their session if they want more space, but it will reset to expanded on page reload. Related to #764
This commit is contained in:
parent
b70a4eba9d
commit
42766be8cc
1 changed files with 3 additions and 1 deletions
|
|
@ -597,7 +597,9 @@ const Settings: Component<SettingsProps> = (props) => {
|
|||
);
|
||||
|
||||
const [hasUnsavedChanges, setHasUnsavedChanges] = createSignal(false);
|
||||
const [sidebarCollapsed, setSidebarCollapsed] = usePersistentSignal('settings-sidebar-collapsed', false);
|
||||
// Sidebar always starts expanded for discoverability (issue #764)
|
||||
// Users can collapse during session but it resets on page reload
|
||||
const [sidebarCollapsed, setSidebarCollapsed] = createSignal(false);
|
||||
const [nodes, setNodes] = createSignal<NodeConfigWithStatus[]>([]);
|
||||
const [discoveredNodes, setDiscoveredNodes] = createSignal<DiscoveredServer[]>([]);
|
||||
const [showNodeModal, setShowNodeModal] = createSignal(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue