hermes-agent/apps/desktop/src/app/right-sidebar
Brooklyn Nicholson 66747f154c fix(desktop): auto-expand a lane when starting a session in it, and stabilize sidebar collapse state
Clicking '+' on a collapsed worktree/branch lane (or repo) created a session in a folder the user couldn't see. It now force-expands the target node.

The root cause was that collapse state was stored as an XOR override of defaultOpen. defaultOpen flips for a worktree lane (collapsed while empty, open once it holds a session), so an explicit expand of an empty lane silently re-read as a 'collapse' the moment the lane gained its first row - collapsing the very lane you'd just opened to work in. Store the resolved open/collapsed boolean per node instead ($sidebarWorkspaceNodeOpen), which survives the default flip; one-time migration off the old set. The review file-tree shares this store and is updated to match.
2026-07-22 22:43:55 -05:00
..
files perf(desktop): targeted file-tree revalidation instead of whole-tree rescan 2026-07-19 21:56:57 -05:00
review fix(desktop): auto-expand a lane when starting a session in it, and stabilize sidebar collapse state 2026-07-22 22:43:55 -05:00
terminal Merge pull request #63029 from NousResearch/bb/salvage-62022-tooltip 2026-07-12 01:59:25 -05:00
file-actions.tsx feat(desktop): add Codex-style review pane 2026-06-25 16:40:27 -05:00
index.test.tsx feat(desktop): add Codex-style review pane 2026-06-25 16:40:27 -05:00
index.tsx feat(desktop): button tooltip keybind hints + keybinds settings tab + unified worktree dialog (#65204) 2026-07-16 18:26:21 -04:00
store.ts feat(desktop): disconnect external (CLI-managed) providers 2026-06-16 00:08:21 -05:00