feat(web): polish master chat with model selector, params config, and empty state #519

Merged
jason.woltje merged 1 commits from feat/ms19-chat-polish into main 2026-02-26 03:17:24 +00:00

1 Commits

Author SHA1 Message Date
066272e6b1 feat(web): polish master chat overlay with model selector, params, empty state, and keyboard shortcuts
All checks were successful
ci/woodpecker/push/web Pipeline was successful
- Add model selector chip/dropdown in ChatInput with 4 models (llama3.2, claude-3.5-sonnet, gpt-4o, deepseek-r1)
- Add temperature slider (0.0–2.0) and max tokens input (100–32000) via settings popover
- Persist model, temperature, and max tokens in localStorage across sessions
- Wire model/temperature/maxTokens state up through Chat.tsx to useChat hook
- Add ChatEmptyState component with greeting and 4 clickable suggested prompts
- Clicking a suggestion pre-fills the ChatInput textarea via externalValue prop
- Add Cmd/Ctrl+N and Cmd/Ctrl+L keyboard shortcuts to start new conversation
- Add "New conversation" button in ChatOverlay header with Cmd+N tooltip
- Show ChatEmptyState when conversation has only the welcome message
- Write 63 tests covering model selector, params config, empty state, and keyboard shortcuts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 21:15:39 -06:00