:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(signals): match web scout run-box colors to desktop (#64776)
Andrew Maguirec9339b5f2262
diff --git a/frontend/src/scenes/inbox/components/config/scouts/ScoutRowCard.tsx b/frontend/src/scenes/inbox/components/config/scouts/ScoutRowCard.tsxindex d8df4632e975..9f5bf0033bee 100644--- a/frontend/src/scenes/inbox/components/config/scouts/ScoutRowCard.tsx+++ b/frontend/src/scenes/inbox/components/config/scouts/ScoutRowCard.tsx@@ -52,7 +52,10 @@ export function ScoutRowCard({<div className="flex items-center gap-4"><div className="flex items-center gap-2 min-w-0 flex-1">{asHeader ? (- <span className="truncate font-medium text-sm">{displayName}</span>+ // min-w keeps the name from being squeezed to zero width by the+ // trailing metadata (badges, cadence, emitted count) — truncate+ // should clip to an ellipsis, never vanish entirely.+ <span className="truncate font-medium text-sm min-w-[6rem]">{displayName}</span>) : (<Tooltip title={`${config.skill_name} · view scout`}><Link@@ -61,7 +64,7 @@ export function ScoutRowCard({// (hidden) list subtree — close it so it doesn't cover the detail page.onClick={() => closeSetupModal()}subtle- className="truncate font-medium text-sm"+ className="truncate font-medium text-sm min-w-[6rem]">{displayName}</Link>diff --git a/frontend/src/scenes/inbox/components/config/scouts/ScoutRunBoxes.tsx b/frontend/src/scenes/inbox/components/config/scouts/ScoutRunBoxes.tsxindex 0940264ae696..96a217f5643f 100644--- a/frontend/src/scenes/inbox/components/config/scouts/ScoutRunBoxes.tsx+++ b/frontend/src/scenes/inbox/components/config/scouts/ScoutRunBoxes.tsx@@ -14,13 +14,14 @@ import {} from '../../../utils/scoutRunsWindow'// Quiet is the common, healthy baseline so it recedes to muted; saturated color-// only means something happened – purple emission payoff, red/amber trouble.+// only means something happened – blue emission payoff, red/amber trouble. Blue+// (not the orange brand primary) keeps this in step with the desktop Code app.const OUTCOME_BOX_CLASS: Record<ScoutRunOutcome, string> = {- emitted: 'bg-primary-3000',+ emitted: 'bg-brand-blue',quiet: 'bg-border-bold',error: 'bg-danger',timed_out: 'bg-warning',- running: 'bg-primary animate-pulse',+ running: 'bg-brand-blue animate-pulse',stuck: 'bg-danger animate-pulse',queued: 'border border-border-bold bg-transparent',unknown: 'bg-border',