Skip to content

Add hotkey settings editor and reset flow#417

Merged
BunsDev merged 1 commit intomainfrom
okcode/hotkeys-settings-clarity
Apr 11, 2026
Merged

Add hotkey settings editor and reset flow#417
BunsDev merged 1 commit intomainfrom
okcode/hotkeys-settings-clarity

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 11, 2026

Summary

  • Add a dedicated Hotkeys settings section for viewing, editing, and restoring built-in keyboard shortcuts.
  • Introduce a shared keybinding recorder field used by both hotkey settings and project script keybinding inputs.
  • Move keybinding parsing/encoding and default shortcut definitions into packages/shared so server and web use the same logic.
  • Add a server-side replaceKeybindingRules path that can replace or clear all custom rules for a command, enabling reset-to-default behavior.
  • Update the settings UI to surface malformed config warnings, invalid-entry warnings, and an advanced JSON editing entrypoint.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Added/updated unit coverage for shared keybinding parsing and server keybinding replacement behavior.
  • Not run: bun run test

- Centralize keybinding parsing and encoding in shared utilities
- Add settings UI to edit, add, and restore built-in hotkeys
- Expose server/API support to replace all rules for a command
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 11, 2026 2:47am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 11, 2026 2:47am

@github-actions github-actions Bot added size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 11, 2026
@BunsDev BunsDev merged commit b034201 into main Apr 11, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant