From 5176c8e35c376db2cd68b62a55f7bc82beabff1b Mon Sep 17 00:00:00 2001 From: abccodes Date: Fri, 19 Jun 2026 19:09:28 -0700 Subject: [PATCH] [aidan] ux/run-sparkline: simplify tooltip to plain run tally --- frontend/src/app/pages/Workflows/workflowVisuals.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/pages/Workflows/workflowVisuals.tsx b/frontend/src/app/pages/Workflows/workflowVisuals.tsx index acfcbeeb..b51540ec 100644 --- a/frontend/src/app/pages/Workflows/workflowVisuals.tsx +++ b/frontend/src/app/pages/Workflows/workflowVisuals.tsx @@ -386,15 +386,14 @@ function relTime(ms: number): string { // ---------- Run history sparkline ---------- // 10-dot horizontal strip of last N runs colored by status. Easy "lately -// healthy?" check without opening the History tab. Tooltip names the -// pattern out loud so a non-dev knows the dots aren't decorative. +// healthy?" check without opening the History tab. export function RunSparkline({ runs, max = 10 }: { runs: WorkflowRun[]; max?: number }) { const c = useClaudeTokens(); if (!runs || runs.length === 0) return null; const slice = runs.slice(0, max).reverse(); const successes = slice.filter((r) => r.status === 'success').length; const failures = slice.filter((r) => r.status === 'failure').length; - const tooltip = `Last ${slice.length} run${slice.length === 1 ? '' : 's'}: ${successes} ok, ${failures} failed (oldest left → newest right). Green = success, red = failure, amber = ran late.`; + const tooltip = `Last ${slice.length} run${slice.length === 1 ? '' : 's'}: ${successes} successful, ${failures} failed`; return (