From b6405dd6a4ba65fc5dc6746db7be7be7d0bb29f3 Mon Sep 17 00:00:00 2001 From: bndw Date: Wed, 4 Mar 2026 21:21:22 -0800 Subject: feat: replace header dropdowns with collapsible sidebar tree - Add Sidebar.tsx: project/session tree with inline rename, collapse/resize - App.tsx: load all sessions at startup, sync selectedProject on session click - Header.tsx: strip project/session UI, keep only right-side controls - globals.css: add .main-layout, sidebar, item, and activity-dot styles - Chat pane: move toggle button to left, use triangle icons matching sidebar --- renderer/src/styles/globals.css | 337 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 318 insertions(+), 19 deletions(-) (limited to 'renderer/src/styles') diff --git a/renderer/src/styles/globals.css b/renderer/src/styles/globals.css index 20275ae..c463432 100644 --- a/renderer/src/styles/globals.css +++ b/renderer/src/styles/globals.css @@ -122,23 +122,6 @@ body { background: var(--bg-tertiary); } -.session-rename-input { - padding: 5px 10px; - background: var(--bg-tertiary); - border: 1px solid var(--accent); - border-radius: 2px; - color: var(--text-primary); - font-size: 12px; - font-family: inherit; - min-width: 140px; - outline: none; - box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2); -} - -html[data-theme="light"] .session-rename-input { - box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2); -} - /* Theme toggle */ .theme-toggle { font-size: 11px; @@ -167,6 +150,17 @@ html[data-theme="light"] .session-rename-input { border-radius: 2px; background: var(--bg-tertiary); color: var(--text-secondary); + border: none; + font-family: inherit; +} + +/* Reachable phases rendered as