@devries-cameron20 / t3code-1 / commits / 196c8ea0d6
Fork 0

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

fix(web): style sidebar action tooltips (#6371)

Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>

t3-code[bot] committed Aug 14, 2026 at 19:43 UTC 196c8ea0d642acd1db66bd57f5d98abe81d8da6e
1 file changed +51 -31
apps/web/src/components/Sidebar.tsx
+51 -31
@@ -366,19 +366,26 @@ function SnoozePopoverButton(props: {
366 );
367 return (
368 <Popover open={open} onOpenChange={onOpenChange}>
369 - <PopoverTrigger
370 - render={
371 - <button
372 - type="button"
373 - aria-label="Snooze thread"
374 - onClick={(event) => event.stopPropagation()}
375 - onDoubleClick={(event) => event.stopPropagation()}
376 - className="inline-flex h-full cursor-pointer items-center gap-0.5 rounded-md bg-transparent px-1.5 text-xs text-muted-foreground hover:text-foreground"
377 - />
378 - }
379 - >
380 - <ClockIcon className="size-3" />
381 - </PopoverTrigger>
369 + <Tooltip>
370 + <TooltipTrigger
371 + render={
372 + <PopoverTrigger
373 + render={
374 + <button
375 + type="button"
376 + aria-label="Snooze thread"
377 + onClick={(event) => event.stopPropagation()}
378 + onDoubleClick={(event) => event.stopPropagation()}
379 + className="inline-flex h-full cursor-pointer items-center gap-0.5 rounded-md bg-transparent px-1.5 text-xs text-muted-foreground hover:text-foreground"
380 + />
381 + }
382 + />
383 + }
384 + >
385 + <ClockIcon className="size-3" />
386 + </TooltipTrigger>
387 + <TooltipPopup>Snooze thread</TooltipPopup>
388 + </Tooltip>
389 <PopoverPopup side="bottom" align="end" className="w-56" viewportClassName="p-1">
390 {presets.map((preset) => (
391 <button
@@ -1312,15 +1319,21 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
1319 )}
1320 {props.isPinned ? (
1321 props.pinningSupported ? (
1315 - <button
1316 - type="button"
1317 - aria-label="Unpin thread"
1318 - title="Unpin thread"
1319 - onClick={handleUnpinClick}
1320 - 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"
1321 - >
1322 - <PinIcon aria-hidden className="size-3 shrink-0" />
1323 - </button>
1322 + <Tooltip>
1323 + <TooltipTrigger
1324 + render={
1325 + <button
1326 + type="button"
1327 + aria-label="Unpin thread"
1328 + onClick={handleUnpinClick}
1329 + 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"
1330 + />
1331 + }
1332 + >
1333 + <PinIcon aria-hidden className="size-3 shrink-0" />
1334 + </TooltipTrigger>
1335 + <TooltipPopup>Unpin thread</TooltipPopup>
1336 + </Tooltip>
1337 ) : (
1338 <PinIcon
1339 aria-label="Pinned"
@@ -1409,15 +1422,22 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
1422 />
1423 ) : null}
1424 {props.settlementSupported ? (
1412 - <button
1413 - type="button"
1414 - aria-label="Settle thread"
1415 - onClick={handleSettleClick}
1416 - className="-mr-1 inline-flex cursor-pointer items-center gap-1 rounded-md bg-transparent px-1.5 text-xs text-muted-foreground hover:text-foreground"
1417 - >
1418 - <CheckIcon className="size-3.5" />
1419 - Settle
1420 - </button>
1425 + <Tooltip>
1426 + <TooltipTrigger
1427 + render={
1428 + <button
1429 + type="button"
1430 + aria-label="Settle thread"
1431 + onClick={handleSettleClick}
1432 + className="-mr-1 inline-flex cursor-pointer items-center gap-1 rounded-md bg-transparent px-1.5 text-xs text-muted-foreground hover:text-foreground"
1433 + />
1434 + }
1435 + >
1436 + <CheckIcon className="size-3.5" />
1437 + Settle
1438 + </TooltipTrigger>
1439 + <TooltipPopup>Settle thread</TooltipPopup>
1440 + </Tooltip>
1441 ) : null}
1442 </span>
1443 ) : null}