HERMES-GIELIE/static
Nathan Esquenazi d4ab01c152 fix: workspace updates on profile switch; remove redundant topbar workspace chip
Two changes:

1. Workspace updates correctly on profile switch
   switchToProfile() now applies data.default_workspace from the switch
   response to the current session via /api/session/update, updates
   S.session.workspace in-memory, and stores S._profileDefaultWorkspace
   so the next new session also inherits the profile's workspace.
   newSession() in sessions.js picks up S._profileDefaultWorkspace when
   creating a new session after a profile switch.

2. Workspace chip removed from topbar
   The workspace was shown in two places: the topbar chip (wsChip) AND
   the sidebar bottom display (sidebarWsDisplay with name + full path).
   The topbar chip was redundant, cluttered the topbar, and pushed other
   chips (profile, model, clear, settings) off screen.
   Removed wsChip from the topbar entirely. The sidebar display is now
   the sole workspace UI, consistent and unambiguous.
   Moved wsDropdown to live inside the sidebar position:relative wrapper
   so it opens downward from sidebarWsDisplay. Updated the click-outside
   listener to close on clicks outside sidebarWsDisplay/wsDropdown.
   Removed stale wsChip update code from syncTopbar() in ui.js.

Tests: 426 passed, 0 failed.
2026-04-03 19:38:33 +00:00
..
boot.js feat: multi-profile support -- create, switch, delete profiles from web UI (Issue #28) 2026-04-03 10:50:21 -07:00
commands.js feat: Sprint 17 -- workspace breadcrumbs, slash commands, send key setting 2026-04-03 04:13:38 -07:00
index.html fix: workspace updates on profile switch; remove redundant topbar workspace chip 2026-04-03 19:38:33 +00:00
messages.js feat: polish send button — hidden until content, icon-circle, pop-in animation 2026-04-03 07:20:16 -07:00
panels.js fix: workspace updates on profile switch; remove redundant topbar workspace chip 2026-04-03 19:38:33 +00:00
sessions.js fix: workspace updates on profile switch; remove redundant topbar workspace chip 2026-04-03 19:38:33 +00:00
style.css fix: workspace updates on profile switch; remove redundant topbar workspace chip 2026-04-03 19:38:33 +00:00
ui.js fix: workspace updates on profile switch; remove redundant topbar workspace chip 2026-04-03 19:38:33 +00:00
workspace.js fix: profile switch fails with 'does not exist' when server starts on non-default profile 2026-04-03 19:29:24 +00:00