6 Commits
Author SHA1 Message Date
spellitwithaph 6abc41b4dc refactor: extract render methods for workspace panel templates
Break the dense one-liner workspace-panel and expand-button templates
into multi-line formatted render methods for readability and safer
future edits.
2026-05-27 10:41:46 -04:00
spellitwithaph 2e2ca283cf fix: remove unused collapsed property from WorkspacePanel
The collapsed state is owned by PiWebApp and used only to toggle the
shell CSS class and hide the element — the WorkspacePanel never reads
it. Remove the dead property and its pass-through.
2026-05-27 10:38:42 -04:00
spellitwithaph 6d45505afc fix: hide panel toggle icon at responsive breakpoints
The workspace panel is already hidden at ≤1180px by responsive CSS,
so the expand/collapse toggle icon is meaningless there. Hide the
expand-panel-strip inside both media queries.
2026-05-27 10:36:31 -04:00
spellitwithaph 1784b1e6c6 fix: add responsive collapsed overrides for tablet/mobile breakpoints
The desktop .shell.workspace-panel-collapsed selector had higher
specificity than the media-query .shell rules, causing horizontal
overflow at ≤1180px and ≤760px widths. Add matching collapsed grid
overrides inside each breakpoint.
2026-05-27 10:32:32 -04:00
spellitwithaph c8b05427fd fix: tooltip reads 'Toggle Panel' and expand button aligns right
- Change title/aria-label on both collapse and expand buttons to 'Toggle Panel'
- Right-align the expand-panel-strip so the toggle icon sits on the right
  edge of the main column when the workspace panel is collapsed
2026-05-27 10:19:59 -04:00
spellitwithaph c26359917f feat: add collapse/expand toggle for workspace panel
Adds a chevron-right collapse button after the last tab (Files, Git,
Terminal, Info) in the workspace panel header. Clicking it hides the
workspace panel and lets the main chat column fill the full width.

When collapsed, an expand strip with a chevron-left button appears
below the context bar to re-open the workspace panel.

Changes:
- Add workspacePanelCollapsed boolean to AppState
- Add collapse button to WorkspacePanel header tabs
- Add expand strip with toggle button in main column when collapsed
- Adjust grid layout to hide panel and stretch main when collapsed
- Handle collapsed state at ≤1180px responsive breakpoint
2026-05-27 10:10:17 -04:00