mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +03:00
e10c0f20cf
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'` |
||
---|---|---|
.. | ||
adapters | ||
assets | ||
components | ||
controllers | ||
fixtures | ||
helpers | ||
initializers | ||
mixins | ||
models | ||
routes | ||
serializers | ||
templates | ||
transforms | ||
utils | ||
views | ||
.jshintrc | ||
app.js | ||
README.md | ||
router.js |
What's this?
This is the shiny new Ghost admin UI built in Ember.js. It gets served if you visit the URL /ghost/ember/
.
We're currently in the process of building this awesome new UI to replace the old one which was written in backbone,
lives in the /clientold/
folder and is still served when you visit the URL /ghost/
.
In short, we currently have 2 admins:
- Old, Backbone Admin UI lives in
/clientold/
and is served from/ghost/
- New, Ember Admin UI lives in
/client/
and is served from/ghost/ember/
For more information, please read the Ember admin wiki page