0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/client/utils
Matt Enlow e10c0f20cf Implement Shortcuts in Ember
Closes #2988, #2752
Ref #1463, #2984,
 # Shortcuts via Keymaster
- Added KeyMaster to bower dependencies. KeyMaster is a minimal keyboard
  shortcuts library.
- Added `ShortcutsRouteMixin` for routes that will use shortcuts.
  Currently, only routes can have shortcuts. See the extensive comment
  at the top of `core/client/mixins/shortcuts-route.js` for a
  description of how to implement shortcuts.

 ## Other Changes
- Injected popover service into ApplicationRoute
- Created `EditorRouteBase` mixin for the `editor.new` and
  `editor.edit` routes to mixin.
- `StyleBodyMixin` now calls `this._super()` on `activate` and
  `deactivate` to play nicely with other mixins.

 ## Shortcuts and Stubs implemented
 #### Application-Wide
- `'esc':'closePopups'` shortcut **stub** to close popovers,
 modals, and notifcations

 #### Editor Shortcuts
- `'ctrl+s, command+s': 'save'` note that `command` is the
  `meta` key.
- `'ctrl+alt+p': 'publish'`
- `'ctrl+alt+z': 'toggleZenMode'`
2014-06-19 15:07:42 -06:00
..
ajax.js Ember cleanup: single quotes for JS 2014-06-01 21:53:16 +01:00
bound-one-way.js Create boundOneWay util function 2014-06-14 15:27:52 -06:00
date-formatting.js Refactored PostSettingsMenuController 2014-06-13 12:14:58 -06:00
ghost-paths.js Make exports consitent. 2014-06-09 13:58:35 -04:00
link-view.js Refactor navbar to eliminate nested {{link-to}}. 2014-04-01 22:36:16 -04:00
notifications.js Implement Shortcuts in Ember 2014-06-19 15:07:42 -06:00
set-scroll-classname.js Add shadows to PostsListView and the adjacent HTML Preview; Fix preview render 2014-06-08 12:53:54 -04:00
text-field.js Added fancy fade-in effect and autofocus to the login pages (signin, signup, forgotten, reset). 2014-04-08 00:02:54 +02:00
word-count.js Ember cleanup: single quotes for JS 2014-06-01 21:53:16 +01:00