mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
3656297843
no issue - fixes bug where multiple posts were created starting with one char and growing until the new->edit transition completed, e.g. posts with content such as `a`, `ab`, `abcd` were created in quick succession - moves old `_savePromise` body into the `save` task - call the `save` task instead of the old `_savePromise` so that concurrency is handled properly - fixes odd behaviour with the "Are you sure you want to leave?" modal appearing too often - it's now aware of on-going or scheduled saves and will wait for those to complete before transitioning - move all transition abort/save/retry handling into `toggleLeaveEditorModal` method - check for a running save, wait for it to finish then retry the transition - check for a scheduled autosave, cancel it if present and perform an immediate autosave then retry the transition - don't attempt new->edit transition on successful save of new post if we're already waiting for a different transition - once the new->edit transition has completed, if the post body content has changed schedule an autosave manually so that the user doesn't need to type something again to save what they assume is already saved - remove debounced slug generation/save on type of title field in favour of generation and save on focus out which plays a lot nicer with the new transition autosave behaviour |
||
---|---|---|
.. | ||
body-event-listener.js | ||
current-user-settings.js | ||
dropdown-mixin.js | ||
editor-base-controller.js | ||
editor-base-route.js | ||
infinite-scroll.js | ||
pagination.js | ||
settings-menu-component.js | ||
shortcuts-route.js | ||
shortcuts.js | ||
slug-url.js | ||
style-body.js | ||
text-input.js | ||
unauthenticated-route-mixin.js | ||
validation-engine.js | ||
validation-state.js |