diff options
| author | bndw <ben@bdw.to> | 2026-03-04 21:21:22 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-03-04 21:21:22 -0800 |
| commit | b6405dd6a4ba65fc5dc6746db7be7be7d0bb29f3 (patch) | |
| tree | 7d04268e9adfe9a6a83029556ef0dd5f72a63d42 /renderer/src/components/ChatPane.tsx | |
| parent | ead65fd7d50ead785f437cc895c74146bd232702 (diff) | |
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
Diffstat (limited to 'renderer/src/components/ChatPane.tsx')
| -rw-r--r-- | renderer/src/components/ChatPane.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/renderer/src/components/ChatPane.tsx b/renderer/src/components/ChatPane.tsx index c2cdfbb..4136d16 100644 --- a/renderer/src/components/ChatPane.tsx +++ b/renderer/src/components/ChatPane.tsx | |||
| @@ -45,10 +45,10 @@ export function ChatPane({ | |||
| 45 | style={{ width: collapsed ? 28 : chatWidth }} | 45 | style={{ width: collapsed ? 28 : chatWidth }} |
| 46 | > | 46 | > |
| 47 | <div className="chat-header"> | 47 | <div className="chat-header"> |
| 48 | {!collapsed && <span>Chat</span>} | ||
| 49 | <button className="chat-collapse-btn" onClick={onToggleCollapse}> | 48 | <button className="chat-collapse-btn" onClick={onToggleCollapse}> |
| 50 | {collapsed ? "⟨" : "⟩"} | 49 | {collapsed ? "◀" : "▷"} |
| 51 | </button> | 50 | </button> |
| 51 | {!collapsed && <span>Chat</span>} | ||
| 52 | </div> | 52 | </div> |
| 53 | 53 | ||
| 54 | {!collapsed && ( | 54 | {!collapsed && ( |
