Skip to content

feat: add popup keyboard shortcuts - #26

Closed
dyk1454683243-sudo wants to merge 1 commit into
DevOlabode:mainfrom
dyk1454683243-sudo:cursor/keyboard-shortcuts-f91f
Closed

dyk1454683243-sudo wants to merge 1 commit into
DevOlabode:mainfrom
dyk1454683243-sudo:cursor/keyboard-shortcuts-f91f

Conversation

@dyk1454683243-sudo

@dyk1454683243-sudo dyk1454683243-sudo commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds a small, documented set of keyboard shortcuts for the extension popup. Mouse and touch behavior is unchanged.

Proposed shortcuts (justification)

Shortcut Action Why this binding
Alt+Shift+S (Option+Shift+S on macOS) Toolbar command: open the popup on Add a bookmark and prefill title/URL from the current tab when it is http or https Unused by Chrome/Edge chrome. Avoids reserved shortcuts such as Ctrl+T, Ctrl+W, Ctrl+L, and Ctrl+Shift+B (bookmarks bar). Users can remap or disable it from chrome://extensions/shortcuts or edge://extensions/shortcuts.
Esc Close the add/edit composer (addForm / collectionAddForm). If no composer is open, go back from a collection or Account to the library. On the library with no form open, the browser still closes the popup. Standard cancel/back. preventDefault runs only when Curate handles the key, so the home view still dismisses like other extension popups.

activeTab is used instead of tabs/history so the current page is read only after a toolbar click or the command.

Related Issue

Fixes #17

Type of Change

  • New feature
  • Documentation
  • Tests

Testing

  • Automated tests (npm test) — 57 passing, including shortcut helpers and manifest command checks
  • Extension build completed successfully (npm run build:extension)

Checklist

  • I followed the contribution guidelines
  • I tested my changes
  • I updated documentation if necessary
  • This PR focuses on one change

Add Alt+Shift+S as a remappable command that opens the composer with
the current http(s) tab, and Esc to close a form or return to the
library, without overriding reserved browser chrome shortcuts.

Co-authored-by: David <dyk1454683243-sudo@users.noreply.github.com>
@vercel

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

@cursoragent is attempting to deploy a commit to the solabode499-5056's projects Team on Vercel.

A member of the Team first needs to authorize it.

@dyk1454683243-sudo

Copy link
Copy Markdown
Contributor Author

Withdrawing this PR while I clean up a high-volume open-PR backlog. Sorry for the noise — happy to come back later with a focused change if useful.

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.

Add keyboard shortcuts

2 participants