Commit 9e6699e
authored
🤖 fix: add Ctrl+I focus keybind to new chat page (#1102)
The new chat page (workspace creation flow) displays "⌘I to focus" but
the keybind wasn't actually registered there.
**Problem:** The `FOCUS_CHAT` keybind handler was only in
`useAIViewKeybinds` (used by `AIView.tsx` for existing workspaces), but
not in `App.tsx` where the creation variant of ChatInput is rendered.
**Fix:** Added the `FOCUS_CHAT` keybind to App.tsx's global keydown
handler, which focuses the creation chat input when on the new chat
page.
_Generated with `mux`_1 parent 04231ce commit 9e6699e
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
450 | 456 | | |
451 | 457 | | |
452 | 458 | | |
| |||
458 | 464 | | |
459 | 465 | | |
460 | 466 | | |
| 467 | + | |
461 | 468 | | |
462 | 469 | | |
463 | 470 | | |
| |||
0 commit comments