refactor(desktop): sweep remaining surfaces onto semantic tokens 2 months ago
Authored
Max Weinbach 8/3/2026, 5:52:58 PM Adopt the shared border/fill/type utilities across settings, research,
tasks, workflow, canvas, preview, and toast surfaces, convert the last
space-y layouts and arbitrary radii, and add an app-divide-subtle
utility for divide-y lists. The token-compliance semantic-text gate now
covers all of src/ui (with a placeholder: exemption) instead of a
migrated-file list. Parent742e945
62 files changed
apps/desktop/src/styles/token-utilities.css +8 −0 apps/desktop/src/ui/Canvas.tsx +8 −8 apps/desktop/src/ui/CodeFilePreview.tsx +1 −1 apps/desktop/src/ui/CrashReportingErrorBoundary.tsx +1 −1 apps/desktop/src/ui/FilePreviewModal.tsx +1 −1 apps/desktop/src/ui/InAppToasts.tsx +2 −2 apps/desktop/src/ui/PptxPreview.tsx +10 −10 apps/desktop/src/ui/ResearchView.tsx +6 −6 apps/desktop/src/ui/SlidePreview.tsx
+3
−3
apps/desktop/src/ui/WorkflowRunDetailDialog.tsx +8 −8
apps/desktop/src/ui/WorkflowRunsPanel.tsx +6 −6
apps/desktop/src/ui/WorkspaceRuntimeProgress.tsx +1 −1
apps/desktop/src/ui/canvas/CanvasElectronTitlebar.tsx +1 −1
apps/desktop/src/ui/chat/ActivityGroupCard.tsx +1 −1
apps/desktop/src/ui/chat/CitationSourcesCarousel.tsx +2 −2
apps/desktop/src/ui/chat/ComposerModelSelector.tsx +2 −2
apps/desktop/src/ui/chat/ComposerReasoningToggle.tsx +1 −1
apps/desktop/src/ui/chat/InteractionCard.tsx +5 −5
apps/desktop/src/ui/chat/LmStudioStartDialog.tsx +1 −1
apps/desktop/src/ui/chat/NewChatLanding.tsx +1 −1
apps/desktop/src/ui/chat/ThreadModelIndicator.tsx +1 −1
apps/desktop/src/ui/creation/CreationReadinessNotice.tsx +1 −1
apps/desktop/src/ui/markdown/DesktopMarkdown.tsx +7 −7
apps/desktop/src/ui/onboarding/DesktopOnboarding.tsx +1 −1
apps/desktop/src/ui/quickChat/QuickChatShell.tsx +4 −4
apps/desktop/src/ui/research/NewResearchComposer.tsx +1 −1
apps/desktop/src/ui/research/ResearchCardGrid.tsx +7 −7
apps/desktop/src/ui/research/ResearchDetailPane.tsx +8 −8
apps/desktop/src/ui/research/ResearchExportMenu.tsx +2 −2
apps/desktop/src/ui/research/ResearchReportRenderer.tsx +2 −2
apps/desktop/src/ui/research/ResearchSettingsPopover.tsx +1 −1
apps/desktop/src/ui/research/ResearchSourcesList.tsx +6 −6
apps/desktop/src/ui/settings/SettingsPrimitives.tsx +9 −12
apps/desktop/src/ui/settings/SettingsShell.tsx +6 −6
apps/desktop/src/ui/settings/import/ConversationImportDialog.tsx +4 −4
apps/desktop/src/ui/settings/pages/AdvancedMemoryPanel.tsx +12 −12
apps/desktop/src/ui/settings/pages/ArchivedChatsPage.tsx +3 −3
apps/desktop/src/ui/settings/pages/BackupPage.tsx +33 −30
apps/desktop/src/ui/settings/pages/DesktopPage.tsx +1 −1
apps/desktop/src/ui/settings/pages/DeveloperPage.tsx +1 −1
apps/desktop/src/ui/settings/pages/ManageModelsDialog.tsx +4 −4
apps/desktop/src/ui/settings/pages/McpServersPage.tsx +11 −11
apps/desktop/src/ui/settings/pages/MemoryPage.tsx +19 −19
apps/desktop/src/ui/settings/pages/OpenAiNativeConnectorsPage.tsx +2 −2
apps/desktop/src/ui/settings/pages/ProvidersPage.tsx +26 −26
apps/desktop/src/ui/settings/pages/RemoteAccessPage.tsx +10 −10
apps/desktop/src/ui/settings/pages/SubagentsPage.tsx +9 −9
apps/desktop/src/ui/settings/pages/UpdatesPage.tsx +1 −1
apps/desktop/src/ui/settings/pages/UsagePage.tsx +3 −3
apps/desktop/src/ui/settings/pages/WorkspacesPage.tsx +34 −34
apps/desktop/src/ui/settings/toolAccess/ImportDialog.tsx +7 −7
apps/desktop/src/ui/settings/toolAccess/InstallPluginDialog.tsx +7 −7
apps/desktop/src/ui/settings/toolAccess/InstallSkillDialog.tsx +8 −8
apps/desktop/src/ui/settings/toolAccess/MarketplaceDetailDialog.tsx +5 −5
apps/desktop/src/ui/settings/toolAccess/PluginDetailDialog.tsx +7 −7
apps/desktop/src/ui/settings/toolAccess/PluginsSection.tsx +1 −1
apps/desktop/src/ui/settings/toolAccess/SkillDetailDialog.tsx +8 −8
apps/desktop/src/ui/settings/toolAccess/SkillsSection.tsx +1 −1
apps/desktop/src/ui/sidebar/ThreadOverflowMenu.tsx +2 −2
apps/desktop/src/ui/tasks/NewTaskLanding.tsx +1 −1
apps/desktop/src/ui/tasks/TaskQuestionsCard.tsx +2 −2
apps/desktop/test/token-compliance.test.ts +5 −26