mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
* fix(desktop): don't auto-expand user-collapsed side on reactive unhide When `setTreePaneHidden(paneId, false)` was called for a workspace-gated pane like `files` (bound to $hasWorkspace), it auto-called `revealTreePane(paneId)` — which expanded the parent column even when the user had explicitly collapsed it via Cmd+J. That meant every session create / resume — anything that flipped $currentCwd from empty to non-empty — silently re-opened the right sidebar and persisted that open state to localStorage, so the original session also showed the sidebar as open on return. `setTreePaneHidden` is a state primitive; user-intent semantics (open the side, front the tab) belong to `revealTreePane`. Drop the auto-call and replace it with a narrower `frontPaneInGroup` helper that only makes the pane the active tab in its group — visible the next time the column is opened, without forcing it open now. * fix(desktop): preserve explicit review reveal --------- Co-authored-by: David Metcalfe <80915+DavidMetcalfe@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||