Mailspring/internal_packages/preferences/lib/tabs/keymaps/displayed-keybindings.js
Karim Hamidou 7364ecb9fd [N1] Changes required for implementing snooze
Summary: This is a pretty small diff – it changes the snooze-store to save metadata for the individual messages affected instead of for the whole thread. We need this to have snoozing work without running an actual sync of the whole mailbox.

Test Plan: WIP.

Reviewers: evan, halla

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D3815
2017-02-02 17:05:32 -08:00

71 lines
2.3 KiB
JavaScript

module.exports = [
{
title: 'Application',
items: [
['application:new-message', 'New Message'],
['core:focus-search', 'Search'],
],
},
{
title: 'Actions',
items: [
['core:reply', 'Reply'],
['core:reply-all', 'Reply All'],
['core:forward', 'Forward'],
['core:archive-item', 'Archive'],
['core:delete-item', 'Trash'],
['core:remove-from-view', 'Remove from view'],
['core:gmail-remove-from-view', 'Gmail Remove from view'],
['core:star-item', 'Star'],
['core:snooze-item', 'Snooze'],
['core:change-category', 'Change Folder / Labels'],
['core:mark-as-read', 'Mark as read'],
['core:mark-as-unread', 'Mark as unread'],
['core:mark-important', 'Mark as important (Gmail)'],
['core:mark-unimportant', 'Mark as unimportant (Gmail)'],
['core:remove-and-previous', 'Remove from view and previous'],
['core:remove-and-next', 'Remove from view and next'],
],
},
{
title: 'Composer',
items: [
['composer:send-message', 'Send Message'],
['composer:focus-to', 'Focus the To field'],
['composer:show-and-focus-cc', 'Focus the Cc field'],
['composer:show-and-focus-bcc', 'Focus the Bcc field'],
],
},
{
title: 'Navigation',
items: [
['core:pop-sheet', 'Return to conversation list'],
['core:focus-item', 'Open selected conversation'],
['core:previous-item', 'Move to newer conversation'],
['core:next-item', 'Move to older conversation'],
],
},
{
title: 'Selection',
items: [
['core:select-item', 'Select conversation'],
['multiselect-list:select-all', 'Select all conversations'],
['multiselect-list:deselect-all', 'Deselect all conversations'],
['thread-list:select-read', 'Select all read conversations'],
['thread-list:select-unread', 'Select all unread conversations'],
['thread-list:select-starred', 'Select all starred conversations'],
['thread-list:select-unstarred', 'Select all unstarred conversations'],
],
},
{
title: 'Jumping',
items: [
['navigation:go-to-inbox', 'Go to "Inbox"'],
['navigation:go-to-starred', 'Go to "Starred"'],
['navigation:go-to-sent', 'Go to "Sent Mail"'],
['navigation:go-to-drafts', 'Go to "Drafts"'],
['navigation:go-to-all', 'Go to "All Mail"'],
],
},
]