Skip to content

[BUG] Keyboard shortcuts panel does not open when pressing ? #1118

Open

Description

@Abhi190702

Bug Description

The keyboard shortcuts UI advertises a ? shortcut, and useKeyboardShortcuts() already handles the ? key, but pressing ? does not show the keyboard shortcuts panel.

Root Cause

src/hooks/useKeyboardShortcuts.ts calls onToggleShortcutsModal() when ? is pressed.

However, src/components/VideoEditor.tsx currently passes a no-op function:

onToggleShortcutsModal: () => {},

So the keyboard shortcut is wired in the hook but disconnected from any visible UI state.

Steps To Reproduce

  1. Run the app locally with bun run dev
  2. Open Reframe in the browser
  3. Press ?
  4. Observe that no keyboard shortcuts panel/modal opens

Expected Behavior

Pressing ? should open or toggle the keyboard shortcuts panel so users can discover available shortcuts.

Actual Behavior

Nothing visible happens.

Proposed Fix

Connect onToggleShortcutsModal in VideoEditor.tsx to the existing keyboard shortcuts panel state instead of passing a no-op.

Also ensure pressing ? prevents the browser/find behavior from interfering and works when focus is not inside an input/textarea/contenteditable element.

Acceptance Criteria

  • Pressing ? opens the keyboard shortcuts panel
  • Pressing ? again closes it
  • Shortcut is ignored while typing in inputs/textareas/contenteditable fields
  • Existing shortcuts continue to work
  • bun run lint and bunx tsc --noEmit pass

I would like to work on this issue under GSSoC'26.

Activity

  1. github-actions commented on May 24, 2026

    @github-actions
    Contributor

    👋 Thanks for opening an issue, @Abhi190702!

    Our maintainers will review this shortly 🚀

    Before you start working

    • 📖 Read the CONTRIBUTING.md guide
    • 💬 Wait for a maintainer to assign you the issue before starting work
    • 🔍 Search for existing issues to avoid duplicates

    For GSSoC'26 contributors

    If you're contributing under GirlScript Summer of Code 2026, please mention it in your comment when requesting assignment:

    "I'd like to work on this — contributing under GSSoC'26"

    Architecture notes

    Reframe is a static Next.js app with output: "export". Key points:

    • All video processing uses FFmpeg.wasm (client-side, no server)
    • headers() in next.config.ts won't work — use vercel.json instead
    • not-found.tsx requires public/404.html + vercel.json routes config

    Happy contributing! ⭐ Star the repo if you find it useful!

  2. Abhi190702 commented on May 24, 2026

    @Abhi190702
    ContributorAuthor

    /assign gssoc26

  3. github-actions commented on May 24, 2026

    @github-actions
    Contributor

    Hey @Abhi190702, this issue has been assigned to you! 🎉 Please make progress within 5 days or it will be automatically unassigned due to inactivity.

  4. github-actions commented on May 27, 2026

    @github-actions
    Contributor

    Hey @Abhi190702, just a friendly reminder that this issue has had no activity for 2 days. Please leave an update or let us know if you need help! ⏰

  5. Abhi190702 commented on May 27, 2026

    @Abhi190702
    ContributorAuthor

    @magic-peach , I would be happy if you can Look into this issue

  6. github-actions commented on May 31, 2026

    @github-actions
    Contributor

    Hey @Abhi190702, final warning! ⚠️ This issue has had no activity for 4 days and will be automatically unassigned in 24 hours if there is no update.

  7. github-actions commented on Jun 5, 2026

    @github-actions
    Contributor

    This issue has been unassigned from @Abhi190702 due to 5 days of inactivity and is open for anyone to pick up — comment /assign to claim it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugtype:design

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions