@@ -1387,6 +1387,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
13871387 // content; surface is reserved for interaction (hover, multi-select, route).
13881388 const rowSurfaceClassName = cn (
13891389 "group/sidebar-row relative w-full cursor-pointer overflow-hidden rounded-md text-left outline-none select-none" ,
1390+ variantAction === "unsettle" && "[&:not(:hover):not(:focus-within)_*]:text-secondary-label/70" ,
13901391 props . isActive
13911392 ? "bg-sidebar-row-active text-sidebar-foreground"
13921393 : isSelected
@@ -1469,7 +1470,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
14691470 : "text-foreground/90" ,
14701471 )
14711472 : cn (
1472- "truncate group-hover/sidebar-row:text-foreground" ,
1473+ "truncate group-focus-within/sidebar-row:text-foreground group- hover/sidebar-row:text-foreground" ,
14731474 shouldRecede
14741475 ? "text-secondary-label/70"
14751476 : props . isActive || isWoke
@@ -1485,7 +1486,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
14851486 </ span >
14861487 ) ;
14871488
1488- // Stacks show their layer count; unrelated links show only the remainder count.
1489+ // Stacks show their layer count; multiple unrelated links show their total count.
14891490 // Plain clicks open T3; individual PR links also support opening the host in a new tab.
14901491 const prBadgeShape = supportsMultiplePullRequests
14911492 ? resolveThreadPullRequestBadge ( thread . pullRequests )
@@ -1597,8 +1598,8 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
15971598 < span
15981599 className = { cn (
15991600 "shrink-0 transition-opacity" ,
1600- ! props . isActive &&
1601- "opacity-40 grayscale group-hover/sidebar-row:opacity-100 group-hover/sidebar-row:grayscale-0" ,
1601+ ( ! props . isActive || variantAction === "unsettle" ) &&
1602+ "opacity-40 grayscale group-focus-within/sidebar-row:opacity-100 group-focus-within/sidebar-row:grayscale-0 group- hover/sidebar-row:opacity-100 group-hover/sidebar-row:grayscale-0" ,
16021603 ) }
16031604 >
16041605 { props . project ? < ProjectFavicon project = { props . project } className = "size-4" /> : null }
@@ -1617,6 +1618,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
16171618 the time/jump label yields to the settle affordance. */ }
16181619 { prBadge }
16191620 { prBadge &&
1621+ variantAction !== "unsettle" &&
16201622 pr &&
16211623 ( supportsMultiplePullRequests
16221624 ? visibleThreadPullRequests ( thread . pullRequests ) . length === 0
0 commit comments