The best way to control Claude Code, Codex and more from any computer or phone
fix(web): pinned thread marker stays put when hovering the row (#11122)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
oliver committed
Oct 19, 2026 at 11:11 UTC
9bb7d580170524d4484395ed6be97d3d37bb4711
1 file changed
+11
-9
apps/web/src/components/Sidebar.tsx
+11
-9
@@ -2212,7 +2212,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
2212
onPointerDown={handleActionPointerDown}
2213
className={cn(
2214
"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",
2215
- isWoke && "group-any-hover/sidebar-row:static",
2215
+ isWoke && "static",
2216
)}
2217
>
2218
<AlarmClockOffIcon className="mb-px size-3" />
@@ -2229,7 +2229,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
2229
onPointerDown={handleActionPointerDown}
2230
className={cn(
2231
"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",
2232
- isWoke && "group-any-hover/sidebar-row:static",
2232
+ isWoke && "static",
2233
)}
2234
/>
2235
}
@@ -2246,7 +2246,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
2246
onPointerDown={handleActionPointerDown}
2247
className={cn(
2248
"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",
2249
- isWoke && "group-any-hover/sidebar-row:static",
2249
+ isWoke && "static",
2250
)}
2251
>
2252
<CheckIcon className="size-3" />
@@ -2314,12 +2314,13 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
2314
<span className="flex-1" />
2315
)}
2316
{pinIndicator}
2317
+ {/* 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(
2322
- "group/sidebar-status-slot relative ml-auto flex h-5 min-w-8 shrink-0 items-stretch justify-end text-xs",
2323
+ "group/sidebar-status-slot ml-auto grid h-5 min-w-8 shrink-0 items-stretch justify-end text-xs",
2324
props.sweepAction !== null && "hidden",
2325
)}
2326
>
@@ -2327,9 +2328,9 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
2328
className={cn(
2329
isWokeStatus
2330
? "pointer-events-auto"
2330
- : "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",
2331
- "flex items-center self-center justify-self-end tabular-nums text-secondary-label transition-opacity",
2332
- snoozeMenuOpen && "pointer-events-none absolute right-0 opacity-0",
2331
+ : "pointer-events-none group-has-[:focus-visible]/sidebar-status-slot:opacity-0 group-any-hover/sidebar-row:opacity-0",
2332
+ "flex items-center self-center justify-self-end tabular-nums text-secondary-label transition-opacity [grid-area:1/1]",
2333
+ snoozeMenuOpen && "pointer-events-none opacity-0",
2334
)}
2335
>
2336
{topStatus ? (
@@ -2400,8 +2401,9 @@ 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.
2403
- "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",
2404
- snoozeMenuOpen && "pointer-events-auto static opacity-100",
2404
+ "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",
2405
+ isWokeStatus ? "[grid-area:1/2]" : "[grid-area:1/1]",
2406
+ snoozeMenuOpen && "pointer-events-auto opacity-100",
2407
)}
2408
>
2409
{hasUnsentDraft ? (