Skip to content

feat(web): add collapse toggle for the chat side panel - #83141

Closed
Eros-ITA wants to merge 1 commit into
NousResearch:mainfrom
Eros-ITA:feat/chat-side-panel-collapse
Closed

feat(web): add collapse toggle for the chat side panel#83141
Eros-ITA wants to merge 1 commit into
NousResearch:mainfrom
Eros-ITA:feat/chat-side-panel-collapse

Conversation

@Eros-ITA

Copy link
Copy Markdown
Contributor

Summary

The right-hand chat panel (model picker + session list) is a fixed 240px column on desktop with no way to hide it, eating horizontal space on smaller screens. Add a collapse button (✕) in the panel header and a floating "panel" button over the terminal to reopen it — mirroring the collapsible app sidebar. The choice is persisted in localStorage (hermes-chat-panel-collapsed) so it survives reloads.

Test Plan

  • New unit test: collapsing hides the panel and persists the flag; reopening restores it and clears the flag
  • npx vitest run src/pages/ChatPage.test.tsx → 5 passing
  • npx tsc -p tsconfig.app.json --noEmit → clean
  • npx eslint src/pages/ChatPage.tsx src/pages/ChatPage.test.tsx → 0 errors
  • Manually verified in a real deployment: ✕ collapses the panel, "panel" reopens it, the choice survives a hard reload.

The right-hand chat panel (model picker + session list) is a fixed 240px
column on desktop with no way to hide it. Add a collapse button (X) in the
panel header and a floating 'panel' button over the terminal to reopen it,
mirroring the collapsible app sidebar. The choice is persisted in
localStorage (hermes-chat-panel-collapsed) so it survives reloads.
@Eros-ITA
Eros-ITA force-pushed the feat/chat-side-panel-collapse branch from d90ff7b to 854f132 Compare August 10, 2026 11:05
@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/dashboard Web dashboard / control panel UI (dashboard/, landing) area/sessions Session lifecycle, resume, persistence, history labels Aug 10, 2026
@teknium1

Copy link
Copy Markdown
Contributor

Thanks for this fix! It was salvaged into #86771 (cherry-picked onto current main with your authorship preserved in the commit history) and is now merged. Closing since the work has landed.

@teknium1 teknium1 closed this Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/sessions Session lifecycle, resume, persistence, history comp/dashboard Web dashboard / control panel UI (dashboard/, landing) P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants