From cb3357a6887e293ef0c2d1cf4170e628d1005330 Mon Sep 17 00:00:00 2001 From: elchic00 Date: Sun, 23 Aug 2026 22:46:23 -0400 Subject: [PATCH 1/2] fix(desktop): show a visible focus state on row-list keyboard focus Tabbing through any row list (cron jobs, run history, sessions, capabilities, ...) gave no visual indication of which row was focused. The app kills every native outline and Tailwind focus-visible:ring-* globally (styles.css, "no focus rings, anywhere"), and the shared row-hover utility only reacted to :hover, so keyboard users landed on a row with zero affordance -- the cron kebab only became findable because its own opacity toggled, with no ring to see either. Extend row-hover to also match :focus-visible (when the utility sits directly on the focusable element) and :has(:focus-visible) (when it wraps one, e.g. PanelListRow), reusing the exact hover background. This is the same pattern already used elsewhere in styles.css for keyboard-only highlights. Also add has-[:focus-visible]:text-foreground next to PanelListRow's existing hover:text-foreground so the focused row's text brightens to match, not just its background. Drop the now-fully-superseded focus-visible:ring-* classes on the cron run-history row button (cron/index.tsx) -- row-hover covers it. --- apps/desktop/src/app/cron/index.tsx | 2 +- apps/desktop/src/app/overlays/panel.tsx | 2 +- apps/desktop/src/styles.css | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/app/cron/index.tsx b/apps/desktop/src/app/cron/index.tsx index ee7f0af5aa2f..385047098031 100644 --- a/apps/desktop/src/app/cron/index.tsx +++ b/apps/desktop/src/app/cron/index.tsx @@ -935,7 +935,7 @@ function CronJobRuns({
{runs.map(run => (