Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

refactor(desktop): housekeeping cleanups for primitive/token discipline

3 months ago

80865aa
Authored
Max Weinbach6/17/2026, 5:41:33 PM
- Remove dead --sidebar*/--color-sidebar* tokens from styles.css (no
  consumers; theme-bridge already maps --color-sidebar via --surface-sidebar)
- Tokenize Univer spreadsheet surfaces: bg-white -> bg-[var(--surface-spreadsheet)]
- Compose shadcn primitives at call sites: attach-files button -> Button
  (ghost/icon) in ChatComposer + NewChatLanding; A2ui text field/area ->
  Input/Textarea (agent-driven select kept native: NativeSelect is w-fit and
  Radix Select crashes on empty-value options)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Parent6cdaaa5

6 files changed
  • apps/desktop/src/styles.css+0−33
  • apps/desktop/src/ui/LazyUniverSpreadsheetCanvas.tsx+1−1
  • apps/desktop/src/ui/UniverSpreadsheetCanvas.tsx+6−6
  • apps/desktop/src/ui/chat/ChatComposer.tsx+7−4
  • apps/desktop/src/ui/chat/NewChatLanding.tsx+6−4
  • apps/desktop/src/ui/chat/a2ui/A2uiRenderer.tsx+5−4