@devries-cameron20 / t3code-1 / commits / 2d1119681a
Fork 0

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

revert: "fix(web): pinned thread marker stays put when hovering the row" (#11122) (#22223)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Theo Browne committed Oct 20, 2026 at 01:42 UTC 2d1119681a6d92de3ad7a0d6a0cf3d7f3301bf22
1 file changed +9 -11
apps/web/src/components/Sidebar.tsx
+9 -11
@@ -2213,7 +2213,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
2213 onPointerDown={handleActionPointerDown}
2214 className={cn(
2215 "pointer-events-none absolute inset-y-0 right-0 -mr-1 inline-flex cursor-pointer items-center gap-1 rounded-md bg-transparent px-1.5 text-xs text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:pointer-events-auto focus-visible:opacity-100 group-any-hover/sidebar-row:pointer-events-auto group-any-hover/sidebar-row:opacity-100",
2216 - isWoke && "static",
2216 + isWoke && "group-any-hover/sidebar-row:static",
2217 )}
2218 >
2219 <AlarmClockOffIcon className="mb-px size-3" />
@@ -2230,7 +2230,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
2230 onPointerDown={handleActionPointerDown}
2231 className={cn(
2232 "pointer-events-none absolute inset-y-0 right-0 -mr-1 inline-flex cursor-pointer items-center gap-1 rounded-md bg-transparent px-1.5 text-xs text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:pointer-events-auto focus-visible:opacity-100 group-any-hover/sidebar-row:pointer-events-auto group-any-hover/sidebar-row:opacity-100",
2233 - isWoke && "static",
2233 + isWoke && "group-any-hover/sidebar-row:static",
2234 )}
2235 />
2236 }
@@ -2247,7 +2247,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
2247 onPointerDown={handleActionPointerDown}
2248 className={cn(
2249 "pointer-events-none absolute inset-y-0 right-0 inline-flex cursor-pointer items-center gap-1 rounded-md bg-transparent px-2 text-xs text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:pointer-events-auto focus-visible:opacity-100 group-any-hover/sidebar-row:pointer-events-auto group-any-hover/sidebar-row:opacity-100",
2250 - isWoke && "static",
2250 + isWoke && "group-any-hover/sidebar-row:static",
2251 )}
2252 >
2253 <CheckIcon className="size-3" />
@@ -2315,13 +2315,12 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
2315 <span className="flex-1" />
2316 )}
2317 {pinIndicator}
2318 - {/* Reserve both states' widths so revealing actions cannot move the pin or Woke label. */}
2318 {sortable?.isDragging ? (
2319 dragDestination
2320 ) : (
2321 <span
2322 className={cn(
2324 - "group/sidebar-status-slot ml-auto grid h-5 min-w-8 shrink-0 items-stretch justify-end text-xs",
2323 + "group/sidebar-status-slot relative ml-auto flex h-5 min-w-8 shrink-0 items-stretch justify-end text-xs",
2324 props.sweepAction !== null && "hidden",
2325 )}
2326 >
@@ -2329,9 +2328,9 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
2328 className={cn(
2329 isWokeStatus
2330 ? "pointer-events-auto"
2332 - : "pointer-events-none group-has-[:focus-visible]/sidebar-status-slot:opacity-0 group-any-hover/sidebar-row:opacity-0",
2333 - "flex items-center self-center justify-self-end tabular-nums text-secondary-label transition-opacity [grid-area:1/1]",
2334 - snoozeMenuOpen && "pointer-events-none opacity-0",
2331 + : "pointer-events-none group-has-[:focus-visible]/sidebar-status-slot:absolute group-has-[:focus-visible]/sidebar-status-slot:right-0 group-has-[:focus-visible]/sidebar-status-slot:opacity-0 group-any-hover/sidebar-row:absolute group-any-hover/sidebar-row:right-0 group-any-hover/sidebar-row:opacity-0",
2332 + "flex items-center self-center justify-self-end tabular-nums text-secondary-label transition-opacity",
2333 + snoozeMenuOpen && "pointer-events-none absolute right-0 opacity-0",
2334 )}
2335 >
2336 {topStatus ? (
@@ -2402,9 +2401,8 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
2401 // would keep the controls pinned over the status label
2402 // once the pointer moves away (e.g. after a failed
2403 // settle) instead of cross-fading back.
2405 - "pointer-events-none flex items-stretch justify-self-end opacity-0 transition-opacity has-[:focus-visible]:pointer-events-auto has-[:focus-visible]:opacity-100 group-any-hover/sidebar-row:pointer-events-auto group-any-hover/sidebar-row:opacity-100",
2406 - isWokeStatus ? "[grid-area:1/2]" : "[grid-area:1/1]",
2407 - snoozeMenuOpen && "pointer-events-auto opacity-100",
2404 + "pointer-events-none absolute inset-y-0 right-0 flex items-stretch opacity-0 transition-opacity has-[:focus-visible]:pointer-events-auto has-[:focus-visible]:static has-[:focus-visible]:opacity-100 group-any-hover/sidebar-row:pointer-events-auto group-any-hover/sidebar-row:static group-any-hover/sidebar-row:opacity-100",
2405 + snoozeMenuOpen && "pointer-events-auto static opacity-100",
2406 )}
2407 >
2408 {hasUnsentDraft ? (