mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 15:03:16 +00:00
* feat: add UI hotkey wiring and Cmd/Ctrl+B sidebar toggle Add a reusable useHotkey hook for registering global keyboard shortcuts (with 'mod' resolving to Cmd on macOS, Ctrl elsewhere), and wire up the first shortcut: mod+b toggles the left sidebar. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> * fix: ignore key repeat for sidebar toggle hotkey Holding Cmd/Ctrl+B fired repeated keydown events, toggling the sidebar multiple times. Add an ignoreRepeat option to useHotkey and enable it for the sidebar toggle so one held press toggles once. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> --------- Co-authored-by: Brendan Whiting <16016903+bwhiting2356@users.noreply.github.com> Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> Co-authored-by: Johannes du Plessis <51395795+johannes117@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| components | ||
| lib | ||
| routes | ||
| styles | ||
| client.tsx | ||
| logo.svg | ||
| router.tsx | ||
| routeTree.gen.ts | ||
| styles.css | ||