Open Bug 1441365 Opened 6 years ago Updated 2 months ago

Add keyboard shortcut for Pocket

Categories

(Firefox :: Keyboard Navigation, enhancement, P5)

enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: hugo, Unassigned, Mentored)

Details

Attachments

(1 file)

Description
Please add a keyboard shortcut that saves the active tab to Pocket.

Desired Shortcuts
• Mac: Command + E
• Windows & Linux: Ctrl + Alt + D

Additional Details
1. The "page saved" door hanger should be triggered after the page is saved, same behavior as clicking on the Pocket button manually. Call the save event from pktApi.jsm.
2. If users are logged-out, pressing the shortcut key should trigger the logged-out door-hanger from the Pocket button. Same behavior as clicking on the Pocket button while being logged out. 
3. If users are in a page that doesn't have page action buttons (e.g. new tab page), pressing the keyboard shortcut should do nothing. 
4. Hovering over the Pocket button in the URL bar should display "Save to Pocket (key combo)" as helper text. 

Full Spec
• See: https://docs.google.com/document/d/1d1U0y6Pws40fnpapQ8kC0CgdugbDf1f7v6kzaLJHUgQ/edit#heading=h.nqtujv4g527h
Pretty sure Ctrl+Alt combos are intended for OS-level shortcuts on Windows.
Priority: -- → P5
Thanks for looking into this. Open to suggestions if we can find a better shortcut. Please see the document I linked to for other options I've explored.

It looks like Ctrl + Alt + D isn't assigned to anything on Windows. Additionally, Firefox already uses a few Ctrl+Alt shortcuts: https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly e.g. for the PDF viewer and to toggle the reader mode.
(In reply to Hugo Romano from comment #2)
> Thanks for looking into this. Open to suggestions if we can find a better
> shortcut. Please see the document I linked to for other options I've
> explored.
> 
> It looks like Ctrl + Alt + D isn't assigned to anything on Windows.
> Additionally, Firefox already uses a few Ctrl+Alt shortcuts:
> https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-
> tasks-quickly e.g. for the PDF viewer and to toggle the reader mode.

Reader mode explicitly avoids using Ctrl+Alt on Windows. It uses F9 instead. The PDF viewer may be an outlier but that's not really a good reason to continue that bad pattern here. (The PDF viewer is in the content area and doesn't need application-wide shortcuts anyway. It should probably use Alt+Shift like all web content: https://developer.mozilla.org/de/docs/Web/HTML/Global_attributes/accesskey)
Hello, I would like to work on this. I am new to Open Source, but would like to start with this bug. Can one of the mentors guide me in how to get started?

I'm an outreachy applicant interested in working on this. I submitted a request for the google doc. Thanks!

I'm an outreachy applicant interested in working on this. I submitted a request for the google doc. Thanks!

Flags: needinfo?(mozilla)

PDF of spec

Flags: needinfo?(mozilla)
Severity: normal → S3

Hello, I am outreachy applicant and I am interested in working on this bug. I have submitted a request for the google doc. Thank you

Flags: needinfo?(anthony)

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

Flags: needinfo?(aliddle)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: