Skip to content

Commit 32528e8

Browse files
committed
feat(chat): add pulsing animation to running command status indicator
Add animate-pulse to the yellow dot shown during command execution so the active-running state is visually distinct from a static indicator. Addresses user-confusion around whether a command is actively running.
1 parent 7a00365 commit 32528e8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎webview-ui/src/components/chat/CommandExecution.tsx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ export const CommandExecution = ({ executionId, text, icon, title }: CommandExec
151151
<div className="flex flex-row items-center gap-2">
152152
{icon}
153153
{title}
154+
{status?.status === "started" && (
155+
<StandardTooltip content={t("chat:commandExecution.running")}>
156+
<div className="rounded-full size-2 bg-yellow-500 animate-pulse" />
157+
</StandardTooltip>
158+
)}
154159
{status?.status === "exited" && (
155160
<div className="flex flex-row items-center gap-2 font-mono text-xs">
156161
<StandardTooltip

0 commit comments

Comments
 (0)