Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix(issue-1924-apps-pipeline): remap off-token colors in apps/pipeline components to port-* tokens
[._.]/ Adam Eivy08bfc380b797
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 8f522ddb92..2a146fca31 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -69,6 +69,7 @@- **[issue-1924-ui] Shared UI primitives theme consistency** — remapped off-token colors in `client/src/components/ui/`: the diff renderers (`diffRuns.jsx`, `InlineDiff.jsx`, `SideBySideDiff.jsx`, `HunkDiff.jsx`) now highlight removed/added text with `--port-error`/`--port-success` instead of fixed red/green, and the shared `Toast.jsx` success/error/warning toast colors move onto `--port-success`/`--port-error`/`--port-warning`. Every site in this slice was a binary or tri-state semantic (removed vs. added, success vs. error vs. warning) rather than a category-color enum, so nothing needed to be left alone. Refs #1924.- **[issue-1924-goals] Goals theme consistency** — remapped off-token colors across the Goals UI (todo/milestone checkboxes, the plan section's decompose/schedule actions, the list view's urgency dot, the detail panel's urgency text and complete button, and the progress slider's trend icon) onto the existing `--port-*` theme tokens, so completed-state and secondary-action colors now follow the active theme instead of staying a fixed green/purple. The category, goal-type, and check-in-status color enums in `goalConstants.js`, and `GoalsTreeView.jsx`'s apex/sub-apex/edge-type 3D-scene legend, intentionally differentiate categories rather than express theme drift and were left as-is. Refs #1924.- **[issue-1924-brain] Brain UI theme consistency** — remapped off-token colors across the Brain memory, digest, config, links, and inbox tabs onto the existing `--port-*` theme tokens: the GitHub-repo clone lifecycle badges now follow `port-warning`/`port-accent`/`port-success`/`port-error`, and the recurring "secondary AI feature" purple (Send-to-Catalog actions, the Weekly Review section, and Creative capture mode) now follows `port-accent-2`, so these surfaces stay theme-consistent instead of a fixed yellow/blue/green/red/purple. The category-color enums in `constants.js` (destination, project/idea/admin status, and confidence-tier palettes) and `links/bucketColors.js` (bucket color presets) intentionally differentiate unrelated categories and were left as-is, along with the link-type badge palette and the "corrected" inbox-status blue that already carries a distinct meaning from success/warning/error. Refs #1924.+- **[issue-1924-apps-pipeline] Apps and pipeline theme consistency** — remapped off-token colors across the app-management drawer/panels and the story pipeline arc canvas onto the existing `--port-*` theme tokens: the Deploy panel's action button, output-status text, and checkbox accent now follow `port-accent-2` instead of a fixed purple; the GSD tab's "Open Claude Code" launcher and its next-phase "Verify" action badge follow `port-accent-2`; the app overview's enabled-PR indicator follows `port-success`; and a stage's version-history diff labels now match the diff viewer's own `port-error`/`port-success` coloring instead of duplicating it with raw red/green. Multi-hue category pickers that intentionally differentiate unrelated items — the SlashDo command toolbar's per-command colors, the GSD tab's "Open OpenClaw" tool launcher, the editorial check-kind badge's rule-vs-LLM distinction, and the arc canvas's theme-pill palette and Plot/Character/Reader roadmap-chart legend — were left as-is. Refs #1924.## UX & Accessibilitydiff --git a/client/src/components/apps/DeployPanel.jsx b/client/src/components/apps/DeployPanel.jsxindex 4dfe768df0..25e576c4bb 100644--- a/client/src/components/apps/DeployPanel.jsx+++ b/client/src/components/apps/DeployPanel.jsx@@ -81,7 +81,7 @@ export default function DeployPanel({ appId, appName }) {<div className="inline-flex rounded-lg overflow-hidden border border-port-border"><buttononClick={handleDeploy}- className="px-2 py-1 bg-purple-500/20 text-purple-400 hover:bg-purple-500/30 transition-colors flex items-center gap-1"+ className="px-2 py-1 bg-port-accent-2/20 text-port-accent-2 hover:bg-port-accent-2/30 transition-colors flex items-center gap-1"title={isDeploying && dismissed ? 'Show deploy output' : undefined}><Rocket size={14} className={isDeploying ? 'animate-pulse' : ''} />@@ -92,7 +92,7 @@ export default function DeployPanel({ appId, appName }) {<buttononClick={() => setShowOptions(prev => !prev)}disabled={isDeploying}- className="px-1 py-1 bg-purple-500/20 text-purple-400 hover:bg-purple-500/30 transition-colors disabled:opacity-50 border-l border-port-border"+ className="px-1 py-1 bg-port-accent-2/20 text-port-accent-2 hover:bg-port-accent-2/30 transition-colors disabled:opacity-50 border-l border-port-border"><ChevronDown size={12} /></button>@@ -106,7 +106,7 @@ export default function DeployPanel({ appId, appName }) {type="checkbox"checked={selectedFlags.includes(opt.value)}onChange={() => toggleFlag(opt.value)}- className="accent-purple-500"+ className="accent-port-accent-2"/><span className="text-xs text-gray-300">{opt.label}</span></label>@@ -114,7 +114,7 @@ export default function DeployPanel({ appId, appName }) {<div className="border-t border-port-border mt-1 pt-1"><buttononClick={handleDeploy}- className="w-full px-2 py-1.5 text-xs bg-purple-500/20 text-purple-400 hover:bg-purple-500/30 rounded transition-colors"+ className="w-full px-2 py-1.5 text-xs bg-port-accent-2/20 text-port-accent-2 hover:bg-port-accent-2/30 rounded transition-colors">Deploy{selectedFlags.length > 0 ? ` (${selectedFlags.join(' ')})` : ''}</button>@@ -134,9 +134,9 @@ export default function DeployPanel({ appId, appName }) {><div className="flex items-center justify-between px-4 py-3 border-b border-port-border"><div className="flex items-center gap-2">- <Rocket size={16} className="text-purple-400" />+ <Rocket size={16} className="text-port-accent-2" /><span id="deploy-panel-title" className="text-sm font-medium text-white">Deploy: {appName}</span>- {isDeploying && <BrailleSpinner text="" className="text-xs text-purple-400" />}+ {isDeploying && <BrailleSpinner text="" className="text-xs text-port-accent-2" />}</div><buttononClick={handleClose}@@ -157,7 +157,7 @@ export default function DeployPanel({ appId, appName }) {key={i}className={line.stream === 'stderr' ? 'text-port-error whitespace-pre-wrap break-words' :- line.stream === 'status' ? 'text-purple-400 font-bold whitespace-pre-wrap break-words' :+ line.stream === 'status' ? 'text-port-accent-2 font-bold whitespace-pre-wrap break-words' :'text-gray-300 whitespace-pre-wrap break-words'}>diff --git a/client/src/components/apps/tabs/GsdTab.jsx b/client/src/components/apps/tabs/GsdTab.jsxindex ab5f106d9a..5535bad5a5 100644--- a/client/src/components/apps/tabs/GsdTab.jsx+++ b/client/src/components/apps/tabs/GsdTab.jsx@@ -91,7 +91,7 @@ function GsdSetupGuide({ gsd, appId, repoPath, onRefresh }) {</button><buttononClick={handleOpenClaude}- className="px-3 py-1.5 bg-purple-600/20 hover:bg-purple-600/30 text-purple-400 rounded-lg text-xs flex items-center gap-1 border border-purple-600/30"+ className="px-3 py-1.5 bg-port-accent-2/20 hover:bg-port-accent-2/30 text-port-accent-2 rounded-lg text-xs flex items-center gap-1 border border-port-accent-2/30"><Terminal size={14} /> Open Claude Code</button>@@ -182,7 +182,7 @@ function NextActionBanner({ pendingActions, appId }) {const actionLabels = {plan: { label: 'Plan', desc: 'Create a detailed execution plan', style: 'border-port-warning/30 bg-port-warning/5' },execute: { label: 'Execute', desc: 'Execute the plan for this phase', style: 'border-port-accent/30 bg-port-accent/5' },- verify: { label: 'Verify', desc: 'Verify the implementation', style: 'border-purple-600/30 bg-purple-600/5' },+ verify: { label: 'Verify', desc: 'Verify the implementation', style: 'border-port-accent-2/30 bg-port-accent-2/5' },};const cfg = actionLabels[action.nextAction] || actionLabels.plan;diff --git a/client/src/components/apps/tabs/OverviewTab.jsx b/client/src/components/apps/tabs/OverviewTab.jsxindex 08a39c4894..51ea263ed9 100644--- a/client/src/components/apps/tabs/OverviewTab.jsx+++ b/client/src/components/apps/tabs/OverviewTab.jsx@@ -235,7 +235,7 @@ export default function OverviewTab({ app, onRefresh }) {<Ticket size={16} className="text-blue-400 shrink-0" /><span className="text-sm text-white font-mono">{app.jira.projectKey || '-'}</span>{app.jira.issueType && <span className="text-xs text-gray-400">{app.jira.issueType}</span>}- {app.jira.createPR !== false && <span className="text-xs text-green-400">+ PR</span>}+ {app.jira.createPR !== false && <span className="text-xs text-port-success">+ PR</span>}{app.jira.labels?.length > 0 && (<span className="text-xs text-cyan-400">{app.jira.labels.join(', ')}</span>)}diff --git a/client/src/components/pipeline/stages/StageHistoryModal.jsx b/client/src/components/pipeline/stages/StageHistoryModal.jsxindex 9611ad211b..893f58d297 100644--- a/client/src/components/pipeline/stages/StageHistoryModal.jsx+++ b/client/src/components/pipeline/stages/StageHistoryModal.jsx@@ -115,9 +115,9 @@ export default function StageHistoryModal({<div className="text-xs text-gray-500 min-w-0">{selected ? (<>- <span className="text-red-400">prior</span>+ <span className="text-port-error">prior</span>{' → '}- <span className="text-green-400">current{currentRunId ? ` (run ${currentRunId.slice(0, 8)})` : ''}</span>+ <span className="text-port-success">current{currentRunId ? ` (run ${currentRunId.slice(0, 8)})` : ''}</span></>) : 'Pick a version on the left to view the diff'}{restoreBlockedReason ? (diff --git a/client/src/components/pipeline/stages/StageHistoryModal.test.jsx b/client/src/components/pipeline/stages/StageHistoryModal.test.jsxindex cd7ae30d60..20d72d5949 100644--- a/client/src/components/pipeline/stages/StageHistoryModal.test.jsx+++ b/client/src/components/pipeline/stages/StageHistoryModal.test.jsx@@ -67,8 +67,8 @@ describe('StageHistoryModal', () => {// Header echoes the current runId.expect(screen.getByText(/run run-cur/)).toBeInTheDocument();// The diff is rendered (some red/green spans must exist since "newest" → "current").- expect(container.querySelector('.text-red-400')).toBeInTheDocument();- expect(container.querySelector('.text-green-400')).toBeInTheDocument();+ expect(container.querySelector('.text-port-error')).toBeInTheDocument();+ expect(container.querySelector('.text-port-success')).toBeInTheDocument();});it('switches the diff when a different version is selected', async () => {