From 6e0abd5a10a646337076a9baf7f6502dc4f0e74d Mon Sep 17 00:00:00 2001
From: oliver <97427849+flamboh@users.noreply.github.com>
Date: Sun, 4 Oct 2026 00:08:59 -0700
Subject: [PATCH] fix(web): unpin button shows the pin-off icon on hover
(#15425)
---
apps/web/src/components/Sidebar.tsx | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx
index 3a78102c9c758fc1534e5eef572d797f824d466b..f0d818a042e3a8d2c622fb81d892b1e5bc3c2ee6 100644
--- a/apps/web/src/components/Sidebar.tsx
+++ b/apps/web/src/components/Sidebar.tsx
@@ -1712,11 +1712,20 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
type="button"
aria-label="Unpin thread"
onClick={handleUnpinClick}
- className="inline-flex cursor-pointer items-center rounded-sm text-muted-foreground/65 outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"
+ className="group/unpin inline-flex cursor-pointer items-center rounded-sm text-muted-foreground/65 outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"
/>
}
>
-
+ {/* Pin marks the pinned state at rest; hover and focus swap in pin-off so the
+ icon reads as the action the button performs. */}
+
+
Unpin thread
--
2.54.0