fix: Wire ? shortcut to keyboard shortcuts panel (#1118) - #1119
fix: Wire ? shortcut to keyboard shortcuts panel (#1118)#1119Abhi190702 wants to merge 1 commit into
Conversation
|
Someone is attempting to deploy a commit to the magic-peach1's projects Team on Vercel. A member of the Team first needs to authorize it. |
👋 Thanks for your PR, @Abhi190702!Welcome to Reframe — a browser-based video editor built for everyone 🎬 What happens next
Quick checklist
Useful links
Happy coding! 🎉 |
✅ PR Format Check Passed — @Abhi190702Basic format checks passed. A maintainer will review your code changes. This does not mean the PR is approved — it just means the format is correct. |
|
@magic-peach , I would be grateful if you can look into this |
|
@magic-peach , Any preceedings ? |
|
Hi @Abhi190702 — good news and a small ask. Your PR passed review in our backlog cleanup and was queued to merge. We merged 38 PRs today, and yours now conflicts with To land it: git fetch origin
git rebase origin/main
# resolve conflicts
git push --force-with-leasePing me here once it's green and I'll merge it straight away — it's already approved on our side, so it won't go back into the queue. Thanks for your patience with how long this sat 🙏 |
Summary
Closes #1118
Fixes the disconnected
?keyboard shortcut so it actually toggles the Keyboard Shortcuts panel.Root Cause
useKeyboardShortcuts()already handled the?key and calledonToggleShortcutsModal(), butVideoEditor.tsxpassed a no-op callback:That meant the shortcut was registered but had no visible UI effect.
Changes Made
VideoEditortoggleShortcutsPanelcallback intouseKeyboardShortcutsKeyboardShortcutsPanelcontrolled by parent state while preserving click-to-toggle behavior?handling before thefileguard so users can open shortcut help even before uploading a video?shortcut handling?toggles shortcut help before a file is loaded?is ignored while typing in an inputTesting
bun run lint✅bunx tsc --noEmit✅bun run test -- --run✅bun run build✅Manual note: Local dev server responded on
http://localhost:3001; browser automation was unavailable in this environment because Playwright is not installed and the Browser tool is not exposed here.