open-swe/ui/src
Brendan Whiting 7dac89a3b4
feat: add UI hotkey wiring and Cmd/Ctrl+B sidebar toggle (#1514)
* 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>
2026-06-12 10:53:28 -07:00
..
components feat: add UI hotkey wiring and Cmd/Ctrl+B sidebar toggle (#1514) 2026-06-12 10:53:28 -07:00
lib feat: add UI hotkey wiring and Cmd/Ctrl+B sidebar toggle (#1514) 2026-06-12 10:53:28 -07:00
routes fix: Reviews tab — anchored finding card, paginated list, file tree truncation (#1507) 2026-06-11 17:52:20 -07:00
styles fix: distinguish agent code/shell blocks from user message bubbles (#1497) 2026-06-11 09:44:10 -07:00
client.tsx fix: tidy agents home + mobile logo + PWA dev/icon issues (#1419) 2026-06-04 16:47:35 -07:00
logo.svg feat: open-swe dashboard for per-user profile config (#1302) 2026-05-15 11:23:53 -07:00
router.tsx feat: open-swe dashboard for per-user profile config (#1302) 2026-05-15 11:23:53 -07:00
routeTree.gen.ts feat: PR review page (#1495) 2026-06-11 16:11:10 -07:00
styles.css feat(open-swe): stream agent chat via @langchain/react v2 protocol (#1475) 2026-06-11 09:54:35 -07:00