@devries-cameron20 / t3code-1 / commits / 6e0abd5a10
Fork 0

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

fix(web): unpin button shows the pin-off icon on hover (#15425)

oliver committed Oct 4, 2026 at 00:08 UTC 6e0abd5a10a646337076a9baf7f6502dc4f0e74d
1 file changed +11 -2
apps/web/src/components/Sidebar.tsx
+11 -2
@@ -1712,11 +1712,20 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
1712 type="button"
1713 aria-label="Unpin thread"
1714 onClick={handleUnpinClick}
1715 - 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"
1715 + 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"
1716 />
1717 }
1718 >
1719 - <PinIcon aria-hidden className="size-3 shrink-0" />
1719 + {/* Pin marks the pinned state at rest; hover and focus swap in pin-off so the
1720 + icon reads as the action the button performs. */}
1721 + <PinIcon
1722 + aria-hidden
1723 + className="size-3 shrink-0 group-hover/unpin:hidden group-focus-visible/unpin:hidden"
1724 + />
1725 + <PinOffIcon
1726 + aria-hidden
1727 + className="hidden size-3 shrink-0 group-hover/unpin:block group-focus-visible/unpin:block"
1728 + />
1729 </TooltipTrigger>
1730 <TooltipPopup>Unpin thread</TooltipPopup>
1731 </Tooltip>