@@ -47,6 +47,7 @@ import {
4747 ClockIcon ,
4848 FolderIcon ,
4949 GitBranchIcon ,
50+ MessageCircleQuestionIcon ,
5051 PinIcon ,
5152 PinOffIcon ,
5253 PlusIcon ,
@@ -1088,8 +1089,6 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
10881089 // switching sidebars must not light up every historical thread as unread.
10891090 const isUnread = hasUnseenCompletion ( { ...thread , lastVisitedAt } ) ;
10901091 const status = resolveSidebarThreadStatus ( thread ) ;
1091- const isInFlight =
1092- status === "working" || status === "monitoring" || status === "approval" || status === "input" ;
10931092 // A woken thread reappears at its original position (the sort is
10941093 // deliberately static), so the pill has to carry the weight. Snoozing is
10951094 // an explicit act, so the pill clears only when the user re-engages:
@@ -1123,10 +1122,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
11231122 icon : "working" as const ,
11241123 // No shimmer: a label that animates forever is noise in a sidebar
11251124 // full of them (and repaints every vsync on high-refresh displays).
1126- // Working is a background state, so it rests at the dim end of what
1127- // the old pulse cycled through; only the thread you have open gets
1128- // the label at full strength.
1129- className : cn ( "text-sky-600 dark:text-sky-400" , ! props . isActive && "opacity-75" ) ,
1125+ className : "text-sky-600 dark:text-sky-400" ,
11301126 }
11311127 : status === "monitoring"
11321128 ? {
@@ -1145,7 +1141,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
11451141 : status === "input"
11461142 ? {
11471143 label : "Input" ,
1148- icon : null ,
1144+ icon : "input" as const ,
11491145 className : "text-indigo-600 dark:text-indigo-300" ,
11501146 }
11511147 : status === "failed"
@@ -1396,10 +1392,6 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
13961392 : shouldRecede
13971393 ? "text-sidebar-muted-foreground/75 hover:bg-sidebar-row-hover hover:text-sidebar-foreground"
13981394 : "bg-transparent text-sidebar-foreground hover:bg-sidebar-row-hover" ,
1399- isInFlight &&
1400- ! props . isActive &&
1401- ! isSelected &&
1402- "opacity-70 transition-opacity hover:opacity-100" ,
14031395 isFileDragOver && "ring-1 ring-inset ring-primary/70" ,
14041396 // The hover tint must not clobber an active/selected row's own surface.
14051397 isFileDragOver && ! props . isActive && ! isSelected && "bg-sidebar-row-hover" ,
@@ -1814,6 +1806,8 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
18141806 >
18151807 { topStatus . icon === "working" ? (
18161808 < CircleDashedIcon aria-hidden className = "size-4 shrink-0" />
1809+ ) : topStatus . icon === "input" ? (
1810+ < MessageCircleQuestionIcon aria-hidden className = "size-4 shrink-0" />
18171811 ) : topStatus . icon === "done" ? (
18181812 < CircleCheckIcon aria-hidden className = "size-4 shrink-0" />
18191813 ) : null }
0 commit comments