Skip to content

Fix keyboard shortcut bindings#27

Open
jkayani wants to merge 9 commits intorojer:masterfrom
jkayani:fix-keyboard-shortcuts
Open

Fix keyboard shortcut bindings#27
jkayani wants to merge 9 commits intorojer:masterfrom
jkayani:fix-keyboard-shortcuts

Conversation

@jkayani
Copy link
Contributor

@jkayani jkayani commented May 17, 2016

This is in response to #23. When the "save view" is loaded (the screen where the user selects where they want to save the screenshot), the keyboard shortcuts are unbinded; this way, the user can change the name of their screenshot (or otherwise hit keys on the keyboard) and not edit the image. When the "editing view" is loaded (the screen where the user edits the screenshot), the shortcuts are rebinded so that they work as intended.

This appears to be work fine for me and doesn't appear to have broken any other features. Please check before merging however; you probably know this extension better than me.

jkayani and others added 9 commits May 8, 2016 23:37
This feature is in response to
rojer#18. The feature allows the
user to select a Drive folder from the dropdown and check the "Remember
this folder" box. Next time when the user takes a screenshot, this
folder (and it's children) will be loaded in the dropdown. A
localStorage key was added to store these settings.
Using the HTML5 Download API and a plain old, <a> tag, the Save to
computer feature works with or without Flash enabled. This is in
response to rojer#13.
Updated the name of the downloaded image to be the name of the tab it
came from.
Restoring repo to same state as roger/a-s-minus
When in editing view, the keyboard shortcuts are needed; these shortcuts
are binded on the initial load of the editing view, and any subsequent
"re-edits". The shortcuts are unbinded once the save view is loaded, so
that the user can hit keys without unintended behaviors.
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.

1 participant

Comments