@devries-cameron20 / t3code Mirror · read-only / commits / 92f0af24a3
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 23, 21:45 UTC

Show a focus ring on sidebar thread and draft rows (#13344)

Ryan Ilano committed Sep 26, 2026 at 03:20 UTC 92f0af24a359f64df8f480049913cbdbd9ea6d29
1 file changed +2 -2
apps/web/src/components/Sidebar.tsx
+2 -2
@@ -755,7 +755,7 @@ const SidebarDraftRow = memo(function SidebarDraftRow(props: {
755 tabIndex={0}
756 data-testid="sidebar-draft-row"
757 className={cn(
758 - "group/sidebar-row relative w-full cursor-pointer overflow-hidden rounded-md text-left text-sidebar-foreground outline-none select-none",
758 + "group/sidebar-row relative w-full cursor-pointer overflow-hidden rounded-md text-left text-sidebar-foreground outline-none select-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
759 props.isActive ? "bg-sidebar-row-active" : draftSurfaceClassName,
760 )}
761 onClick={handleActivate}
@@ -1390,7 +1390,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
1390 // a useful hierarchy nor a reliable hover cue. Status now lives in the row
1391 // content; surface is reserved for interaction (hover, multi-select, route).
1392 const rowSurfaceClassName = cn(
1393 - "group/sidebar-row relative w-full cursor-pointer overflow-hidden rounded-md text-left outline-none select-none",
1393 + "group/sidebar-row relative w-full cursor-pointer overflow-hidden rounded-md text-left outline-none select-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
1394 variantAction === "unsettle" && "[&:not(:hover):not(:focus-within)_*]:text-secondary-label/70",
1395 props.isActive
1396 ? "bg-sidebar-row-active text-sidebar-foreground"