Skip to content

Add customizable shortcuts + slight settings ui improvement#3

Open
dodobird1 wants to merge 2 commits into
nine19een:mainfrom
dodobird1:main
Open

Add customizable shortcuts + slight settings ui improvement#3
dodobird1 wants to merge 2 commits into
nine19een:mainfrom
dodobird1:main

Conversation

@dodobird1

Copy link
Copy Markdown

Summary

Adds a customizable keyboard shortcut system and improves settings UX. Recording controls can be bound by the user; nothing new is forced by default beyond existing editor shortcuts.

Keyboard shortcuts

New src/shortcuts.ts module: default bindings, persistence (localStorage), parsing/matching, and hint formatting.
Editable shortcuts for tools, edit actions (undo/redo, copy/paste, duplicate, delete), zoom, palette colors (1–9), and recording.
Recording shortcuts are available in settings but unbound by default (open settings, teleprompter, enter/cancel prep, start/pause/resume/stop). Slide prev/next during recording still default to ←/→.
Shortcuts are configurable under 设置 → 快捷键, with reset to defaults.

UI

Settings panel uses tabs (画布 / 背景 / 摄像头 / 光标 / 快捷键) instead of one long scroll.
Shortcut labels and groups are in Chinese, consistent with the rest of the app.
Key hints on the top toolbar, floating recording controls, properties panel (duplicate/delete), and color palette (1–9) when a binding exists.

Escape key

Escape dismisses overlays in priority order: settings → clear-board confirm → teleprompter → image crop → recording prep → text edit → clear selection → switch back to select tool.

@vercel

vercel Bot commented Jun 5, 2026

Copy link
Copy Markdown

@dodobird1 is attempting to deploy a commit to the nine19een's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant