deerflow2/frontend/src
Matt Van Horn 48031e506b
feat(frontend): add Cmd+K command palette and keyboard shortcuts (#1230)
* feat(frontend): add Cmd+K command palette and keyboard shortcuts

Wire up the existing shadcn/ui Command component as a global command
palette. Adds a useGlobalShortcuts hook for Cmd+K (palette), Cmd+Shift+N
(new chat), Cmd+, (settings), and Cmd+/ (shortcuts help overlay).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(frontend): address Copilot review feedback on command palette

- Normalize event.key with toLowerCase() for reliable Shift+key matching
- Replace dead deerflow:open-settings event with router.push navigation
- Use platform-appropriate Shift label (Shift+ on Windows/Linux, glyph on Mac)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-23 18:35:35 +08:00
..
app feat(frontend): add Cmd+K command palette and keyboard shortcuts (#1230) 2026-03-23 18:35:35 +08:00
components feat(frontend): add Cmd+K command palette and keyboard shortcuts (#1230) 2026-03-23 18:35:35 +08:00
core feat(frontend): add Cmd+K command palette and keyboard shortcuts (#1230) 2026-03-23 18:35:35 +08:00
hooks feat(frontend): add Cmd+K command palette and keyboard shortcuts (#1230) 2026-03-23 18:35:35 +08:00
lib chore: 移除所有 Citations 相关逻辑,为后续重构做准备 2026-02-09 16:24:01 +08:00
server/better-auth style: format 2026-01-17 00:13:24 +08:00
styles fix: improve MiniMax code plan integration (#1169) 2026-03-20 17:18:59 +08:00
typings feat: add 'about' page 2026-02-06 15:18:37 +08:00
env.js feat: implement the first section of landing page 2026-01-23 00:15:21 +08:00