feat(tokens): unify AgentTracer + batch 1 to named token utilities#194
feat(tokens): unify AgentTracer + batch 1 to named token utilities#194dgarson merged 121 commits intofeat/horizon-ui-phase1-cleanupfrom
Conversation
…, wave countdowns, 15 agents, Brave key alert
…coveryWaveResults, DiscoveryAgentCostTracker, ToolReliabilityDashboard)
…rison, findings search)
…cker, SettingsPanel, LogStream)
…tructure
Agent: luis
Original branch: feat/horizon-post-merge
Working on: horizon-ux-views
Reason: restructuring workspace so git repos live at git/{reponame}/
All untracked config + code changes captured here.
…indingTrendChart, AgentSkillHeatmap) — batch 6PM
…emediationTracker) — batch 6:15PM
…penclaw#313) - New AgentTopologyMap.tsx: pure SVG + React state, no external graph libs - Static concentric layout: principals (r=210), crons (r=115), workers (r=65 from spawner) - Node types: Principal (violet circle), Worker (blue circle), Cron (amber diamond) - Interactive: click-to-inspect detail panel (280px), hover scale effect - Toolbar: Live/Paused toggle, Reset View, session count badge, legend - Mock data: 6 principals, 4 workers (from Luis), 2 crons - Also fix pre-existing TS build errors to get 0-error build: - AgentOutputDiffViewer: remove invalid lucide icons + syntax error - APICredentialHealthDashboard: fix Badge/Alert variants, remove indicatorClassName - AgentSkillHeatmap, AgentSoulEditor, DiscoveryRunReplayControls, FindingTrendChart, ModelComparisonMatrix: pre-existing fixes - Add missing ui/alert badge card progress components
…penclaw#313) - New AgentTopologyMap.tsx: pure SVG + React state, no external graph libs - Static concentric layout: principals (r=210), crons (r=115), workers (r=65 from spawner) - Node types: Principal (violet circle), Worker (blue circle), Cron (amber diamond) - Interactive: click-to-inspect detail panel (280px), hover scale effect - Toolbar: Live/Paused toggle, Reset View, session count badge, legend - Mock data: 6 principals, 4 workers (from Luis), 2 crons - Also fix pre-existing TS build errors to get 0-error build: - AgentOutputDiffViewer: remove invalid lucide icons + syntax error - APICredentialHealthDashboard: fix Badge/Alert variants, remove indicatorClassName - AgentSkillHeatmap, AgentSoulEditor, DiscoveryRunReplayControls, FindingTrendChart, ModelComparisonMatrix: pre-existing fixes - Add missing ui/alert badge card progress components
…quirements' into feat/horizon-ui-complete # Conflicts: # docs/start/onboarding-overview.md
…t into feat/horizon-ui-complete
…to feat/horizon-ui-complete
…t into feat/horizon-ui-complete
…-ui-for-dashboard' into feat/horizon-ui-complete # Conflicts: # apps/web-next/package.json # apps/web-next/src/App.tsx # apps/web-next/src/views/AgentDashboard.tsx # apps/web-next/src/views/AgentPerformanceBreakdown.tsx # apps/web-next/src/views/CronJobManager.tsx # apps/web-next/src/views/UsageDashboard.tsx # apps/web-next/src/views/WorkqueueDashboard.tsx
…ogy' into feat/horizon-ui-complete
- Updated quiz questions to be friendlier and more conversational - Enhanced level descriptions with more engaging copy - Improved template descriptions with clearer value propositions - Refreshed empty state messages for better user guidance - Updated setup step descriptions for clarity Part of bs-ux-1-copy
…ns-and-specs' into feat/horizon-ui-complete
- Convert hardcoded zinc-* classes to named token utilities - AgentTracer.tsx: 51 zinc refs → 0 (full conversion) - Batch 1 views: 14 files converted Token mappings applied: - bg-zinc-950 → bg-surface-0 - bg-zinc-900 → bg-surface-1 - bg-zinc-800 → bg-surface-2 - bg-zinc-700 → bg-surface-3 - text-white/text-zinc-100/200/300 → text-fg-primary - text-zinc-400 → text-fg-secondary - text-zinc-500/600/700 → text-fg-muted - border-zinc-800/700 → border-tok-border - divide-zinc-800 → divide-tok-border - ring-zinc-500/700/800 → ring-tok-border - placeholder-zinc-500 → placeholder:text-fg-muted - ring-offset-zinc-900 → ring-offset-surface-1 - fill-zinc-500 → fill-fg-muted Note: Opacity variants (e.g., bg-zinc-400/10) retained pending token system extension for opacity utilities.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: df4d6c6625
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
.github/workflows/ci.yml
Outdated
| @@ -1,744 +0,0 @@ | |||
| name: CI | |||
There was a problem hiding this comment.
Restore core GitHub workflows removed from this commit
This commit deletes .github/workflows/ci.yml (and also removes docker-release.yml, install-smoke.yml, sandbox-common-smoke.yml, and workflow-sanity.yml from the workflows directory), which means pushes/PRs lose their main CI, smoke, and release automation gates. In practice, regressions can merge without lint/test/build coverage and Docker/install validation stops running, which is a release-process break unrelated to the stated token-refactor scope.
Useful? React with 👍 / 👎.
Summary
Converts hardcoded
zinc-*Tailwind classes to named token utilities from the Horizon UI design system.Changes
AgentTracer.tsx (Primary Target)
Batch 1 Views (14 files total)
A11yAuditDashboard.tsxAgentDashboard.tsxAgentInbox.tsxAgentTracer.tsxAnalyticsOverview.tsxApiKeysManager.tsxApiPlayground.tsxAuditLog.tsxChangelogViewer.tsxDiscoveryRunHistory.tsxNotificationCenter.tsxProviderRoutingPanel.tsxSystemHealth.tsxTeamManagement.tsxToken Mappings Applied
bg-zinc-950bg-surface-0bg-zinc-900bg-surface-1bg-zinc-800bg-surface-2bg-zinc-700bg-surface-3text-white,text-zinc-100/200/300text-fg-primarytext-zinc-400text-fg-secondarytext-zinc-500/600/700text-fg-mutedborder-zinc-800/700border-tok-borderdivide-zinc-800divide-tok-borderring-zinc-*ring-tok-borderplaceholder-zinc-500placeholder:text-fg-mutedring-offset-zinc-900ring-offset-surface-1fill-zinc-500fill-fg-mutedNotes
bg-zinc-400/10) retained pending token system extensionzinc-*classes in modified files (excluding opacity variants and comments)Testing