docs: update meta files for multi-theme system session
This commit is contained in:
parent
ff2d354219
commit
54edb43e8b
8 changed files with 60 additions and 8 deletions
|
|
@ -242,6 +242,19 @@
|
|||
#### Verification
|
||||
- All 138 vitest + 36 cargo tests pass, vite build succeeds
|
||||
|
||||
### Session: 2026-03-07 (continued) — Multi-Theme System
|
||||
|
||||
#### Theme System Generalization (7 Editor Themes)
|
||||
- [x] Generalized CatppuccinFlavor to ThemeId union type (11 themes)
|
||||
- [x] Added 7 editor themes: VSCode Dark+, Atom One Dark, Monokai, Dracula, Nord, Solarized Dark, GitHub Dark
|
||||
- [x] Added ThemePalette, ThemeMeta, THEME_LIST types; deprecated old Catppuccin-only types
|
||||
- [x] Theme store: getCurrentTheme()/setTheme() with deprecated wrappers for backwards compat
|
||||
- [x] SettingsTab: optgroup-based theme selector, fixed input overflow with min-width:0
|
||||
- [x] All themes map to same --ctp-* CSS vars — zero component changes needed
|
||||
|
||||
#### Verification
|
||||
- All 138 vitest + 35 cargo tests pass
|
||||
|
||||
### Next Steps
|
||||
- [ ] Real-world relay testing (2 machines)
|
||||
- [ ] TLS/certificate pinning for relay connections
|
||||
|
|
|
|||
|
|
@ -99,3 +99,32 @@
|
|||
#### Rust Cleanup (committed separately)
|
||||
- [x] Removed dead `update_ssh_session()` method from session.rs and its test
|
||||
- [x] Fixed stale TilingGrid comment in AgentPane.svelte
|
||||
|
||||
### Session: 2026-03-07 — Multi-Theme System (7 Editor Themes)
|
||||
|
||||
#### Theme System Generalization
|
||||
- [x] Generalized `CatppuccinFlavor` type to `ThemeId` union type (11 values)
|
||||
- [x] Added 7 new editor themes: VSCode Dark+, Atom One Dark, Monokai, Dracula, Nord, Solarized Dark, GitHub Dark
|
||||
- [x] Added `ThemePalette` interface (26-color slots) — all themes map to same slots
|
||||
- [x] Added `ThemeMeta` interface (id, label, group, isDark) for UI metadata
|
||||
- [x] Added `THEME_LIST: ThemeMeta[]` with group metadata ('Catppuccin' or 'Editor')
|
||||
- [x] Added `ALL_THEME_IDS: ThemeId[]` derived from THEME_LIST for validation
|
||||
- [x] Deprecated `CatppuccinFlavor`, `CatppuccinPalette`, `FLAVOR_LABELS`, `ALL_FLAVORS` (kept as backwards compat aliases)
|
||||
|
||||
#### Theme Store Updates
|
||||
- [x] `getCurrentTheme(): ThemeId` replaces `getCurrentFlavor()` as primary getter
|
||||
- [x] `setTheme(theme: ThemeId)` replaces `setFlavor()` as primary setter
|
||||
- [x] `initTheme()` validates saved theme against `ALL_THEME_IDS`
|
||||
- [x] Deprecated `getCurrentFlavor()` and `setFlavor()` with delegation wrappers
|
||||
|
||||
#### SettingsTab Theme Selector
|
||||
- [x] Theme dropdown uses `<optgroup>` per theme group (Catppuccin, Editor)
|
||||
- [x] `themeGroups` derived from `THEME_LIST` using Map grouping
|
||||
- [x] `handleThemeChange()` replaces direct `setFlavor()` call
|
||||
- [x] Fixed input overflow in `.setting-row` with `min-width: 0`
|
||||
|
||||
#### Design Decision
|
||||
All editor themes map to the same `--ctp-*` CSS custom property names (26 vars). This means every component works unchanged — no component-level theme awareness needed. Each theme provides its own mapping of colors to the 26 semantic slots.
|
||||
|
||||
#### Verification
|
||||
- All 138 vitest + 35 cargo tests pass
|
||||
|
|
|
|||
|
|
@ -388,6 +388,7 @@ No sidecar changes needed for v3.0.
|
|||
| Keyboard shortcut layers: App > Workspace > Terminal | Prevents conflicts. Terminal captures raw keys only when focused. App layer uses Ctrl+K/G. | 2026-03-07 |
|
||||
| AgentPane splits into ClaudeSession + TeamAgentsPanel | Team agents shown inline in right panel, not as separate panes. Saves xterm/pane slots. | 2026-03-07 |
|
||||
| Unmount/remount on group switch | Serialize xterm scrollbacks, destroy, remount new group. <100ms perceived. Frees ~80MB. | 2026-03-07 |
|
||||
| All themes map to --ctp-* CSS vars | 7 editor themes (VSCode Dark+, Atom One Dark, Monokai, Dracula, Nord, Solarized Dark, GitHub Dark) added alongside 4 Catppuccin. All map to same 26 --ctp-* CSS custom properties — zero component changes needed. | 2026-03-07 |
|
||||
|
||||
## Errors Encountered
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue