Mailspring/spec
Ben Gotow a48ddd51f8 refactor(menus): Major prune of keymaps/commands, real conditional menus
Summary:
Keymaps & menus CSON => JSON, remove AtomKeymaps, CommandRegistry use of CSS selectors, use Mousetrap instead

Important Notes:

- The `application:` prefix is reserved for commands which are handled in the application process. Don't use it for other things. You will not receive the events in the window.

- Maintaining dynamic menus seems to come with quite an overhead, because Electron updates the entire menu every time. In the future, we'll need https://github.com/electron/electron/issues/528 to really make things nice. I will be tracking this upstream.

- The format for keyboard shortcuts has changed. `cmd-X` is now `command+shift+x`

Test Plan: Run tests

Reviewers: juan, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2917
2016-04-24 12:16:25 -05:00
..
components refactor(menus): Major prune of keymaps/commands, real conditional menus 2016-04-24 12:16:25 -05:00
extensions
fixtures refactor(menus): Major prune of keymaps/commands, real conditional menus 2016-04-24 12:16:25 -05:00
models
services
stores
tasks
action-bridge-spec.coffee
auto-update-manager-spec.coffee
buffered-process-spec.coffee
clipboard-spec.coffee
component-registry-spec.coffee
database-object-registry-spec.coffee
date-utils-spec.es6
dom-utils-spec.coffee
extension-registry-spec.coffee
jasmine-helper.coffee
jasmine-jquery.js
jasmine.js
launch-services-spec.coffee
list-selection-spec.coffee
mail-rules-processor-spec.coffee
mailbox-perspective-spec.es6
menu-manager-spec.coffee refactor(menus): Major prune of keymaps/commands, real conditional menus 2016-04-24 12:16:25 -05:00
module-cache-spec.coffee
n1-spec-reporter.coffee
nylas-api-spec.coffee
nylas-env-spec.coffee refactor(menus): Major prune of keymaps/commands, real conditional menus 2016-04-24 12:16:25 -05:00
nylas-protocol-handler-spec.coffee
nylas-test-utils.coffee refactor(menus): Major prune of keymaps/commands, real conditional menus 2016-04-24 12:16:25 -05:00
package-manager-spec.coffee refactor(menus): Major prune of keymaps/commands, real conditional menus 2016-04-24 12:16:25 -05:00
package-spec.coffee
quoted-html-transformer-spec.coffee
quoted-plain-text-transformer-spec.coffee
spec-bootstrap.coffee
spec-helper-platform.coffee
spec-helper.coffee refactor(menus): Major prune of keymaps/commands, real conditional menus 2016-04-24 12:16:25 -05:00
spec-suite.coffee
spellchecker-spec.coffee
style-manager-spec.coffee
styles-element-spec.coffee
task-factory-spec.es6
theme-manager-spec.coffee
time-override.coffee
time-reporter.coffee
undo-manager-spec.coffee
utils-spec.coffee