From fb0e9189e17c202a0dfe1d49eff3315c20556936 Mon Sep 17 00:00:00 2001 From: kumar-karan Date: Tue, 20 Oct 2026 11:42:20 +0530 Subject: [PATCH 1/2] fix(web): pinned thread card no longer shows a blank gap before the pin Since #11122 the card status slot puts the timestamp and the hidden hover controls in the same grid cell, so the slot is as wide as the wider of the two and the pin parked at the left edge of the invisible controls (#21910). Render the pin on the title row just before the title instead, so it no longer tracks the slot's reserved width, and let the title row own the flex layout classes. Slim rows are unchanged. --- apps/web/src/components/Sidebar.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx index 0c4b6f5a0878..0a7f58d549f2 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -2314,8 +2314,9 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP ) : ( )} - {pinIndicator} - {/* Reserve both states' widths so revealing actions cannot move the pin or Woke label. */} + {/* Reserve both states' widths so revealing actions cannot move the + timestamp or Woke label; the pin on the title row (#21910) no longer + tracks this slot's width. */} {sortable?.isDragging ? ( dragDestination ) : ( @@ -2457,7 +2458,8 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP )} {props.sweepAction !== null ? dragDestination : null} -
+
+ {pinIndicator} {title} {isRegeneratingTitle ? ( From ae433770a2ee574027dde5ea5dd57d41ee5f0aa6 Mon Sep 17 00:00:00 2001 From: kumar-karan Date: Tue, 20 Oct 2026 13:28:08 +0530 Subject: [PATCH 2/2] fix(web): render card pin indicator wrapper only when pinned --- apps/web/src/components/Sidebar.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx index 0a7f58d549f2..6760cf6addc8 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -2458,8 +2458,10 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP )} {props.sweepAction !== null ? dragDestination : null}
-
- {pinIndicator} +
+ {pinIndicator !== null ? {pinIndicator} : null} {title} {isRegeneratingTitle ? (