mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
a31c2808a9
Summary: There were several issues causing uploading to not work: # The file upload response came back as a string instead of an Object. Needed to detect and `JSON.parse` # The `MessageAttachment` component was not available as a package on the popout composer (since it used to be inside of `MessageList`) # The `message.draft` bit was not set properly causing the DB changes to be ignored # The actions notifying of `uploadStateChanged` were only being broadcasted in the main window (where the `TaskStore` is) and never making it to the popout composer. Also keybindings for close window and up & down arrows were fixed. Test Plan: edgehill --test Reviewers: bengotow Reviewed By: bengotow Differential Revision: https://review.inboxapp.com/D1157
30 lines
861 B
Text
30 lines
861 B
Text
# Note: For a menu item to have a keyboard equiavalent, it needs
|
|
# to be listed in this file.
|
|
|
|
# Windows application keys
|
|
'body':
|
|
'ctrl-q': 'application:quit'
|
|
'ctrl-alt-s': 'application:run-all-specs'
|
|
|
|
# Windows core keys
|
|
'ctrl-z': 'core:undo'
|
|
'ctrl-Z': 'core:redo'
|
|
'ctrl-y': 'core:redo'
|
|
'ctrl-x': 'core:cut'
|
|
'ctrl-c': 'core:copy'
|
|
'ctrl-a': 'core:select-all'
|
|
'ctrl-v': 'core:paste'
|
|
'ctrl-insert': 'core:copy'
|
|
'shift-insert': 'core:paste'
|
|
|
|
# Windows window keys
|
|
'ctrl-w': 'window:close'
|
|
'ctrl-=': 'window:increase-font-size'
|
|
'ctrl-+': 'window:increase-font-size'
|
|
'ctrl--': 'window:decrease-font-size'
|
|
'ctrl-_': 'window:decrease-font-size'
|
|
'ctrl-0': 'window:reset-font-size'
|
|
'ctrl-alt-i': 'window:toggle-dev-tools'
|
|
'F11': 'window:toggle-full-screen'
|
|
'ctrl-alt-r': 'window:reload'
|
|
'ctrl-alt-p': 'window:run-package-specs'
|