Add loading icon for waiting subagents - #4111
Conversation
Gives pending subagent rows and workbench loading text a Cursor-like animated mark that can be iterated on in design. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Storybook preview: https://6a8c1fbd32d6c1cc8fc131a5-jfufxrakjh.chromatic.com/ |
Adds Storybook variants (cursor, paper short/long, whimsy, aaron) so design can pick a mark, and labels pending tool rows as "{role} subagent" to match the workbench chat.
Co-authored-by: Cursor <cursoragent@cursor.com>
Soffi AI SummaryThis PR introduces a new The component supports multiple animation variants (cursor typewriter, wave, equalizer, slide, pulse, and character marks like "whimsy bird" and "aaron") so design can compare options via Storybook stories. Success and error states collapse the animation into a single status bullet (neutral or red), and error rows additionally display an error message. The component is wired into the chat message and tool-call display layers so that in-product subagent rows immediately use the new loading mark when waiting, while completed rows remain unchanged. ChangesSubagent loading icon
Updated: 2026-09-10 20:55 UTC |
Adds cursor wave and equalizer variants, and uses a single bullet for success and error so Storybook can compare completed and failed subagent rows.
Resolves toolCallDisplay conflicts by keeping formatSubagentTitle and taking master's lowercase read label.
|
Completed rows keep the original “subagent” title; “Coding subagent” only shows while the call is waiting.
Stops looping CSS and canvas motion when the user prefers reduced motion, and keeps a static first-frame mark instead.
Keeps a quiet loop so waiting rows still look alive instead of frozen next to a shimmering header.
Unblocks CI JavaScript lint, which failed on design-system lint:format for this file.
There was a problem hiding this comment.
✅ Deploy preview for docs-pr-4111 is ready!
| Name | Details |
|---|---|
| ⚡ Service | docs-pr-4111 (5 / 5 ready) |
| ☁️ Cluster | plural (eks) |
| 68dfadc | |
| https://console.mgmt.plural.sh/cd/clusters/446acdef-8524-425a-a49f-5336a... | |
| 🔍 Logs URL | https://console.mgmt.plural.sh/cd/clusters/446acdef-8524-425a-a49f-5336a... |
| 🌊 Flow URL | https://console.mgmt.plural.sh/flows/08a17af1-8578-449e-9ae1-28ccd97eafc... |
| Preview Link | Preview |
You can learn more about preview environments and Plural Flows here
Summary
AgentLoadingIconfor agent waiting states, with Storybook variants so design can compare marks.cursorWave, andcursorEq(equalizer). Character marks: whimsy bird and aaron.Fixes PROD-5191.
Test plan
AgentLoadingIconand review Default, CursorWave, CursorEq, Whimsy, Aaron, PaperPlural Flow: console