# CopilotChatHistory

## 2026-06-17 — New molecule: Copilot chat-history panel

**Prompted by:** Hellen (match the current Copilot chat-history UI in Storybook)

### What changed
- New molecule `CopilotChatHistory` renders the Copilot's history panel: a header ("Chat History" + close) and a scrollable list of past conversations.
- The current conversation is highlighted (`bg-primary/5`) with a "current" badge and inline rename / delete actions; the rest are tappable rows (title + relative time) that reopen the thread.
- Includes an empty state.

### Why
- The production Copilot has a chat-history list; this brings it into the design system so the rest of the panel and it stay consistent.

### Affected tokens / files
- `packages/shadcn/src/components/ui/copilot-chat-history.tsx`
- Composes Button + the DS `Badge` (default variant for the "current" marker — no hardcoded colours).
