Skip to content

Feat/webui keyboard shortcuts - #209

Open
Preciousuche wants to merge 2 commits into
use-agent-os:mainfrom
Preciousuche:feat/webui-keyboard-shortcuts
Open

Feat/webui keyboard shortcuts#209
Preciousuche wants to merge 2 commits into
use-agent-os:mainfrom
Preciousuche:feat/webui-keyboard-shortcuts

Conversation

@Preciousuche

Copy link
Copy Markdown
Contributor

Summary

Adds a central keyboard shortcut registry, a visual ? help overlay, and platform-aware keycaps (⌘⇧O on macOS vs. Ctrl+Shift+O on Windows/Linux) to improve shortcut discoverability and clean up ad-hoc document event listeners.

Key Changes

  • Shortcut Provider & Hook: Manages global keydown routing, checks editable field/overlay guards, and fails gracefully in isolated unit test environments.
  • ? Help Modal: Displays all registered shortcuts (Global and Composer) grouped by category.
  • Integration: Refactored ChatPage.tsx and Composer.tsx key handlers to use the new registry.

Verification

  • Added KeyboardShortcuts.test.tsx verifying registration and key formatting. All unit tests pass.

Closes #137

@Preciousuche
Preciousuche force-pushed the feat/webui-keyboard-shortcuts branch 2 times, most recently from a78b201 to fffd9ec Compare August 3, 2026 17:48
@Preciousuche
Preciousuche force-pushed the feat/webui-keyboard-shortcuts branch from fffd9ec to 1817016 Compare August 3, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webui: no keyboard shortcut is discoverable anywhere in the console

2 participants