Skip to content

Commit 8251c8d

Browse files
t3dotggclaude
andauthored
fix(web): working and monitoring threads fade in the sidebar again (pingdotgg#13506)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 0109670 commit 8251c8d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎apps/web/src/components/Sidebar.tsx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,6 +1400,11 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
14001400
: shouldRecede
14011401
? "text-sidebar-muted-foreground/75 hover:bg-sidebar-row-hover hover:text-sidebar-foreground"
14021402
: "bg-transparent text-sidebar-foreground hover:bg-sidebar-row-hover",
1403+
// Background work fades as a whole row, status label included, so it
1404+
// takes less attention than rows that need a human (input, approval).
1405+
shouldRecede &&
1406+
(status === "working" || status === "monitoring") &&
1407+
"opacity-70 transition-opacity hover:opacity-100 focus-within:opacity-100 motion-reduce:transition-none",
14031408
isFileDragOver && "ring-1 ring-inset ring-primary/70",
14041409
// The hover tint must not clobber an active/selected row's own surface.
14051410
isFileDragOver && !props.isActive && !isSelected && "bg-sidebar-row-hover",

0 commit comments

Comments
 (0)