mirror of
https://github.com/coder/coder.git
synced 2026-11-08 05:32:55 +08:00
When hovering over a running/pending chat in the agents sidebar, the spinning status icon was being replaced by the expand/collapse chevron button. This was disorienting because the spinner conveys important "in progress" state. ## Changes **`AgentsSidebar.tsx`**: - Added `group/icon` scoped hover group to the icon container div - When a chat is executing (`pending`/`running`), the chevron toggle only appears on hover of the icon area itself, not the entire row - Non-executing chats retain the original whole-row hover behavior (no UX change) **`AgentsSidebar.stories.tsx`**: - Added `RunningChatPreservesSpinner` story verifying the spinner is present and the toggle button starts invisible for running chats with children Co-authored-by: Coder <coder@users.noreply.github.com>