Two quality-of-life improvements for the Chat tab: 1. **Escape to Stop**: Press Escape during generation to stop (same as Stop button) - Also shows 'Esc' hint on the Stop button - Escape closes delete confirmation if open 2. **Delete Session**: Delete button in Chat tab with confirmation modal - Shows 'Delete this session?' modal - Cancel/Delete buttons - Enter = Delete, Escape = Cancel - Button disabled during generation Changes: - ui/src/ui/views/chat.ts: Add keydown handler, delete modal, delete button - ui/src/ui/app.ts: Add chatDeleteConfirm state - ui/src/ui/app-render.ts: Wire up delete props - ui/src/styles/components.css: Styles for delete confirmation modal |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||