Skip to content

Commit a467177

Browse files
committed
fix(web): stop sidebar terminal icons from pulsing
1 parent 76cc9b0 commit a467177

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -824,9 +824,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
824824
/>
825825
}
826826
>
827-
<TerminalIcon
828-
className={`size-3 ${terminalStatus.pulse ? "animate-status-pulse" : ""}`}
829-
/>
827+
<TerminalIcon className="size-3" />
830828
</TooltipTrigger>
831829
<TooltipPopup side="top">{terminalStatus.label}</TooltipPopup>
832830
</Tooltip>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
15261526
data-testid={`sidebar-terminal-status-${thread.id}`}
15271527
className={cn("inline-flex shrink-0 items-center justify-center", terminalStatus.colorClass)}
15281528
>
1529-
<TerminalIcon className={cn("size-3.5", terminalStatus.pulse && "animate-status-pulse")} />
1529+
<TerminalIcon className="size-3.5" />
15301530
</span>
15311531
) : null;
15321532
// Same pen the new-thread draft rows lead with, so both kinds of unsent

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ export interface PrStatusIndicator {
5151
export interface TerminalStatusIndicator {
5252
label: "Terminal process running";
5353
colorClass: string;
54-
pulse: boolean;
5554
}
5655

5756
export type ThreadPr = VcsStatusResult["pr"];
@@ -371,7 +370,6 @@ export function terminalStatusFromRunningIds(
371370
return {
372371
label: "Terminal process running",
373372
colorClass: "text-teal-600 dark:text-teal-300/90",
374-
pulse: true,
375373
};
376374
}
377375

@@ -562,9 +560,7 @@ export function ThreadRowTrailingStatus({ thread }: { thread: SidebarThreadSumma
562560
/>
563561
}
564562
>
565-
<TerminalIcon
566-
className={`size-3 ${terminalStatus.pulse ? "animate-status-pulse" : ""}`}
567-
/>
563+
<TerminalIcon className="size-3" />
568564
</TooltipTrigger>
569565
<TooltipPopup side="top">{terminalStatus.label}</TooltipPopup>
570566
</Tooltip>

0 commit comments

Comments
 (0)