-
Notifications
You must be signed in to change notification settings - Fork 2
Add keyboard shortcuts #17
Copy link
Copy link
Open
dyk1454683243-sudo/curate
#5Labels
accessibilityKeyboard, screen reader, or other a11y workKeyboard, screen reader, or other a11y workenhancementNew feature or requestNew feature or requestextensionBrowser extension (popup, options, background)Browser extension (popup, options, background)
Description
Activity
Metadata
Metadata
Assignees
Labels
accessibilityKeyboard, screen reader, or other a11y workKeyboard, screen reader, or other a11y workenhancementNew feature or requestNew feature or requestextensionBrowser extension (popup, options, background)Browser extension (popup, options, background)
Current behavior
There are no keyboard shortcuts in the extension today - no
commandskey inextension/manifest.json, and nokeydownhandling inextension/popup/popup.jsbeyond the browser's native form/button behavior.Goal
Investigate and propose (this can start as discussion, then become a small focused PR) a small set of shortcuts that fit the popup's actual UI, for example:
manifest.jsoncommands, e.g.Ctrl+Shift+B) to open the popup directly into "Add a bookmark," prefilling the URL of the active tab if reasonableEscto close the open composer (addForm/collectionAddForminpopup.js) instead of only the explicit Cancel buttonEscto go back from a collection detail view or settings (#collection-back,#settings-back) to the library listConstraints
Ctrl+T,Ctrl+W,Ctrl+L) or with shortcuts Chrome/Edge reserve for extension commands generally.commandsentry needs a sensible default that a user can still remap or disable fromchrome://extensions/shortcuts.Relevant files
extension/manifest.json(commands)extension/background/service-worker.js(would need to listen forchrome.commands.onCommand)extension/popup/popup.js(composer open/close, back navigation)Acceptance criteria
extension/README.mdor the options page)