@@ -537,15 +537,21 @@ const SidebarDraftRow = memo(function SidebarDraftRow(props: {
537537 { props . projectTitle }
538538 </ span >
539539 < span className = "ml-auto flex h-5 min-w-5 shrink-0 items-center justify-end" >
540- < button
541- type = "button"
542- aria-label = "Discard draft"
543- title = "Discard draft"
544- onClick = { handleDiscard }
545- className = "pointer-events-none inline-flex cursor-pointer items-center rounded-md bg-transparent px-1 text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:pointer-events-auto focus-visible:opacity-100 group-hover/sidebar-row:pointer-events-auto group-hover/sidebar-row:opacity-100"
546- >
547- < XIcon className = "size-3" />
548- </ button >
540+ < Tooltip >
541+ < TooltipTrigger
542+ render = {
543+ < button
544+ type = "button"
545+ aria-label = "Discard draft"
546+ onClick = { handleDiscard }
547+ className = "pointer-events-none inline-flex cursor-pointer items-center rounded-md bg-transparent px-1 text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:pointer-events-auto focus-visible:opacity-100 group-hover/sidebar-row:pointer-events-auto group-hover/sidebar-row:opacity-100"
548+ >
549+ < XIcon className = "size-3" />
550+ </ button >
551+ }
552+ />
553+ < TooltipPopup side = "top" > Discard draft</ TooltipPopup >
554+ </ Tooltip >
549555 </ span >
550556 </ div >
551557 < div className = "mt-0.5 truncate text-sm font-medium text-foreground/90" > { preview } </ div >
@@ -1247,16 +1253,22 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
12471253 ) : isWoke ? (
12481254 // A wake can land straight in the settled tail (e.g. PR
12491255 // merged while snoozed); the signal must survive the trip.
1250- < button
1251- type = "button"
1252- aria-label = "Dismiss Woke notification"
1253- title = "Dismiss Woke notification"
1254- onClick = { handleAcknowledgeWokeClick }
1255- className = "inline-flex cursor-pointer items-center gap-1 rounded-sm text-xs font-medium text-amber-700 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-ring dark:text-amber-300"
1256- >
1257- < AlarmClockIcon aria-hidden className = "size-3" />
1258- < span role = "status" > Woke</ span >
1259- </ button >
1256+ < Tooltip >
1257+ < TooltipTrigger
1258+ render = {
1259+ < button
1260+ type = "button"
1261+ aria-label = "Dismiss Woke notification"
1262+ onClick = { handleAcknowledgeWokeClick }
1263+ className = "inline-flex cursor-pointer items-center gap-1 rounded-sm text-xs font-medium text-amber-700 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-ring dark:text-amber-300"
1264+ >
1265+ < AlarmClockIcon aria-hidden className = "size-3" />
1266+ < span role = "status" > Woke</ span >
1267+ </ button >
1268+ }
1269+ />
1270+ < TooltipPopup side = "top" > Dismiss Woke notification</ TooltipPopup >
1271+ </ Tooltip >
12601272 ) : (
12611273 < span className = "text-xs" >
12621274 { variantAction === "unsettle"
@@ -1414,19 +1426,25 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
14141426 >
14151427 { topStatus ? (
14161428 isWokeStatus ? (
1417- < button
1418- type = "button"
1419- aria-label = "Dismiss Woke notification"
1420- title = "Dismiss Woke notification"
1421- onClick = { handleAcknowledgeWokeClick }
1422- className = { cn (
1423- "inline-flex cursor-pointer items-center gap-1 rounded-sm font-medium outline-none hover:underline focus-visible:ring-2 focus-visible:ring-ring" ,
1424- topStatus . className ,
1425- ) }
1426- >
1427- < AlarmClockIcon aria-hidden className = "size-4 shrink-0" />
1428- < span role = "status" > { topStatus . label } </ span >
1429- </ button >
1429+ < Tooltip >
1430+ < TooltipTrigger
1431+ render = {
1432+ < button
1433+ type = "button"
1434+ aria-label = "Dismiss Woke notification"
1435+ onClick = { handleAcknowledgeWokeClick }
1436+ className = { cn (
1437+ "inline-flex cursor-pointer items-center gap-1 rounded-sm font-medium outline-none hover:underline focus-visible:ring-2 focus-visible:ring-ring" ,
1438+ topStatus . className ,
1439+ ) }
1440+ >
1441+ < AlarmClockIcon aria-hidden className = "size-4 shrink-0" />
1442+ < span role = "status" > { topStatus . label } </ span >
1443+ </ button >
1444+ }
1445+ />
1446+ < TooltipPopup side = "top" > Dismiss Woke notification</ TooltipPopup >
1447+ </ Tooltip >
14301448 ) : (
14311449 < span
14321450 className = { cn (
0 commit comments