Ghost/ghost/admin/app/routes
Kevin Ansfield a0af248df4 🎨 Focus editor content area by default (#768)
closes TryGhost/Ghost#8525

- always give focus to the editor content area by default when loading the editor
- allow content autosave to work for new posts (it was previously turned off for new posts)
- move transition-on-save behaviour from editor/new controller into the controller mixin's save routine
- cancel background autosave when "are you sure you want to leave?" modal is shown as it can cause the "leave" option to fail because it attempts to delete the post record that can be in flight (plus if we're saving anyway it doesn't make much sense to ask the user  🙈) - this is quite an edge-case as it will only happen if the user makes a content change to a draft post then tries to leave the screen within 3 seconds
- change the editor placeholder text
- wait for any save task to finish before exiting the new post route (fixes infinite loop and popup of "are you sure you want to leave?" modal that is then closed automatically straight away
- add a guard to the `gh-post-settings-menu` component so that if the authors query takes a while we don't end up trying to set a value when the component has already been removed
2017-07-10 17:09:50 +02:00
..
editor 🎨 Focus editor content area by default (#768) 2017-07-10 17:09:50 +02:00
settings 🚀 supercharge tags performance 2017-07-07 17:53:08 +01:00
setup 💄 refactor setup screens to use ember-concurrency (#644) 2017-04-19 12:27:32 +02:00
subscribers convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
team 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
about.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
application.js 🐛 prevent session sync issues with multiple tabs/refreshes (#772) 2017-07-10 12:18:19 +02:00
authenticated.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
error404.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
posts.js 🔥 remove content screen keyboard shortcuts 2017-07-07 10:37:24 +01:00
reset.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
setup.js deps: ember-simple-auth@1.2.0 2017-02-06 16:39:42 +00:00
signin.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
signout.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
signup.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
subscribers.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00