From 9b5b84da642e0cf7f018ce02fdb7474e7628cd9a Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sun, 19 Apr 2026 16:46:27 -0400 Subject: [PATCH] style(runs): polish list surfaces, toggles, and accessibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - run card: solid bg-panel at rest instead of bg-panel/80 (opacity shift on hover was backwards) - column header: mb-3 to match inter-card gap - lifecycle tag: 10px → 11px (below readable threshold for uppercase) - additions/deletions: tabular-nums so large counts don't jitter - view toggle: add a bg-overlay active state so the active view is not purely a hue shift; wrap in role="group" with aria-pressed on each button - search + repo select: add aria-label and name attributes Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/fabro-web/app/routes/runs.tsx | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/apps/fabro-web/app/routes/runs.tsx b/apps/fabro-web/app/routes/runs.tsx index e1af8b25e..6496a4439 100644 --- a/apps/fabro-web/app/routes/runs.tsx +++ b/apps/fabro-web/app/routes/runs.tsx @@ -309,7 +309,7 @@ function PrCard({ const lifecycleLabel = boardLifecycleStatusLabel(pr); return ( - +
@@ -321,7 +321,7 @@ function PrCard({ )} {lifecycleLabel != null && ( - + {lifecycleLabel} )} @@ -336,10 +336,10 @@ function PrCard({ )} {pr.additions != null && pr.deletions != null && ( <> - + +{pr.additions.toLocaleString()} - + -{pr.deletions.toLocaleString()} @@ -459,7 +459,7 @@ function BoardColumn({ column }: { column: Column }) { const Icon = iconMap[column.iconType]; return (
-
+

{column.name} @@ -501,7 +501,7 @@ function RunRow({ run }: { run: RunWithStatus }) { {run.repo} {run.title} {lifecycleLabel != null && ( - + {lifecycleLabel} )} @@ -612,7 +612,7 @@ function EmptyState() {

- Workflow runs will appear here as you run them. + Your runs will appear here.

@@ -750,7 +750,9 @@ export default function Runs({ loaderData }: any) { setQuery(e.target.value)} className="w-full rounded-md border border-line bg-panel/80 py-2 pl-9 pr-3 text-sm text-fg-2 placeholder-fg-muted outline-none transition-colors focus:border-focus focus:ring-0" @@ -758,6 +760,8 @@ export default function Runs({ loaderData }: any) {
-
+