# CopilotActionCard

## 2026-06-17 — Drop leading icon from the card title

**Prompted by:** Hellen (review)

### What changed
- Removed the leading icon beside `CardTitle` and the `icon` prop. Titles now stand alone.

### Why
- Cleaner, less busy header in a chat-embedded card.

### Affected tokens / files
- `packages/shadcn/src/components/ui/copilot-action-card.tsx`

## 2026-06-17 — New molecule: agentic action with confirm/undo/retry

**Prompted by:** Copilot extension design work (Hellen)

### What changed
- New molecule `CopilotActionCard` renders an action the Copilot proposes or has performed, with a status badge and confirm / cancel / undo / retry affordances.
- Status lifecycle: `proposed` (Confirm + Cancel) → `pending` (spinner badge) → `done` (Undo) / `failed` (Retry).

### Why
- Agentic actions are the core differentiator of the broker Copilot — the broker must be able to approve, reverse, or retry what the agent does.

### Affected tokens / files
- `packages/shadcn/src/components/ui/copilot-action-card.tsx`
- Composes Card + Button + Badge + Spinner; status colours via Badge `warning`/`success`/`destructive`.
