Repository navigation
Closed
Labels
complexity-lowComplexity: low (board points 1-3)enhancementNew feature or requestpriority-p2Importanttheme-ui-uxTheme: UI/UXtype-refactorCode improvement
Description
Summary
Follow-up to #67 (PR #553), which landed the semantic status token system and migrated 9 reference files. Approximately 70 frontend files still use raw color classes (bg-green-500, text-red-600, etc.) that should consume the new tokens.
Context
PR #553 introduced these tokens in tailwind.config.js:
status-success(green)status-warning(yellow)status-danger(red)status-info(blue)status-urgent(orange)
And migrated:
StatusIndicator.vue,CapacityMeter.vue,RunningStateToggle.vueutils/syncHealth.js,composables/useFormatters.jscomponents/MetricsPanel.vue,components/DashboardPanel.vue,components/SchedulesPanel.vue,components/TasksPanel.vue
Per the autoplan that scoped #67, the full sweep was deliberately deferred to keep that PR reviewable.
Scope
Migrate the remaining ~70 components/views from raw color classes to the new tokens. Prefer per-domain sub-PRs to keep reviews tractable, e.g.:
- Agent views —
Agents.vue,AgentDetail.vue,AgentNode.vue,AgentHeader.vue,AgentTerminal.vue,AgentCollaboration.vue - Settings & admin —
Settings.vue(~338 raw color uses!),ApiKeys.vue,Login.vue,SetupPassword.vue,MobileAdmin.vue - Operator queue & monitoring —
OperatingRoom.vue,Monitoring.vue,operator/*.vue,UnifiedActivityPanel.vue,ReplayTimeline.vue,HostTelemetry.vue - Channels —
SlackChannelPanel.vue,TelegramChannelPanel.vue,WhatsAppChannelPanel.vue,PublicLinksPanel.vue,SharingPanel.vue - File manager —
FileManager.vue,FilesPanel.vue,FileTreeNode.vue,file-manager/*.vue - Chat & process —
ChatPanel.vue,chat/*.vue,process/*.vue - Misc panels —
CredentialsPanel.vue,GitPanel.vue,SkillsPanel.vue,PlaybooksPanel.vue,TagsEditor.vue,NeverminedPanel.vue, etc.
Blocked by
#555 — about 4–5 components need new families before they can migrate cleanly:
- Purple in
DashboardPanel.getStatusColors→ needsaccentfamily - Orange/blue in
RuntimeBadge.vue→ needsbrand-claude/brand-gemini - Amber in
AutonomyToggle.vue→ needsstate-autonomous(or similar) - Rose in
ReadOnlyToggle.vue→ needsstatus-restrictive(or similar)
The status-only sweep can proceed in parallel for components that don't hit these gaps.
Acceptance
- All raw
bg/text/border/ring-{green,yellow,red,blue,orange}-*references insrc/frontend/src/migrated to correspondingstatus-*tokens (where the color carries status meaning) -
npm run check:tokens(added in feat(frontend): semantic status color tokens (#67) #553) keeps passing across the migration - Visual smoke pass — no perceptible color changes
- Optional but encouraged: split into per-domain sub-PRs
Out of scope
- Gray/slate/neutral palette (separate concern; likely a
neutral-*token family in its own ticket) style.cssscrollbar hex values (separate ticket)monitoring.js getStatusColor(returns bare names, different abstraction)
Metadata
Metadata
Assignees
Labels
complexity-lowComplexity: low (board points 1-3)enhancementNew feature or requestpriority-p2Importanttheme-ui-uxTheme: UI/UXtype-refactorCode improvement
Activity
oleksandr-korin commentedon Apr 28, 2026
Caveat surfaced during review of #561 — worth flagging before this sweep starts:
Don't blindly map
bg/text/border-{amber|rose|purple}-*→state-*/accent-*tokens. A grep showed 34 files using these colors, but most are not the same semantic asstate-autonomous/state-locked/accent-purple. Examples:text-amber-700in many warning/advisory contexts is semanticallystatus-warning, notstate-autonomous.bg-rose-100for error highlights isstatus-danger, notstate-locked.bg-purple-*for branding/category badges is probablyaccent-purple, but each instance needs eyeballing.Recommendation when sweeping:
status-*family unless the color is explicitly representing a mode/state/brand/accent.gray/slate/neutral, defer entirely until the neutral palette ticket lands.Cross-ref: discussed in PR #561 /review.
oleksandr-korin commentedon Apr 28, 2026
/claim
github-actions commentedon Apr 28, 2026
@oleksandr-korin This issue is already assigned to oleksandr-korin. Use
/unclaimfirst if you want to take over.refactor(frontend): migrate operator queue to design-system tokens (#554
refactor(frontend): migrate Monitoring view to design-system tokens (#…
refactor(frontend): migrate ApiKeys + tier e2e tests by @smoke tag (#554
refactor(frontend): migrate ApiKeys + tier e2e tests by @smoke tag (#554
fix(vite): tighten /api proxy prefix to /api/
refactor(frontend): sweep auth + channels + top-level views (#554) (#609
refactor(frontend): sweep cross-cutting + chat + file-mgr + process +…
refactor(frontend): sweep agent surfaces — 22 files (#554) (#614)
refactor(frontend): sweep slice 9 + drift catch-up — 24 files (#554) (#…
refactor(frontend): add action-primary token + sweep indigo (#554) (#815
oleksandr-korin commentedon May 12, 2026
Migration complete ✅
The design-system token sweep is structurally done. Every semantic palette use in the frontend now goes through tokens.
Slices shipped
status-*token families (success/warning/danger/info/urgent)state-*,brand-*,accent-*token familiesaction-primarytoken + indigo sweep (55 files / 376 swaps)Token families established
status-{success,warning,danger,info,urgent}— health/result of eventsstate-{autonomous,locked}— operating modesbrand-{claude,gemini}— third-party identityaccent-{purple}— decorative highlightsaction-{primary}— interactive surfacesGuardrails
npm run check:tokensenforces palette-equivalence and reference validityfrontend-e2eworkflow (label-gated onui) catches regressionsOut of scope (deferred)
state-selectedtoken — would need UX direction on what "selected" should look like before definingClosing this issue. Follow-up work for the items above can land independently if/when prioritized.
Release: v0.6.0 (#998)
docs(releases): v0.6.0 release notes archive (#1016)