-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autosave is overly ambitious #4321
Comments
That's by design. See #4305 for the background. |
Well... dang. |
I've not had a chance to check this out yet, but it would be annoying to have a plethora of saved drafts with nothing in them other than a title of '(Untitled)' The UX and ambition of this can be refined much more. |
This was one of the 'amendments' I referred to in the meeting yesterday - essentially, if the user navigates away from the editor when a post is saved in this state:
then we should remove it again. I believe this is possible using Whilst this may lead to a few blank posts being created, I don't think it's that big a deal. Too much save > too little save. |
Closes TryGhost#4321 - Renamed editor-route-base to editor-base-route to fit the naming scheme of editor-base-view and editor-base-controller - Moved duplicate willTransition functionality from editor/edit and editor/new to editor-base-route - editor-base-route passes willTransition actions up the route chain - EditorRoute deletes a post with no bodyScratch and a title of `(Untitled)` on willTransition
Closes TryGhost#4321 - Renamed editor-route-base to editor-base-route to fit the naming scheme of editor-base-view and editor-base-controller - Moved duplicate willTransition functionality from editor/edit and editor/new to editor-base-route - editor-base-route passes willTransition actions up the route chain - EditorRoute deletes a post with no bodyScratch and a title of `(Untitled)` on willTransition
Odd notes to myself I dug out on a new try at this. Sorry for keeping my mess in public, but I'd lose it anywhere else - too many balls in the air this week
|
Closes TryGhost#4321 - Added a PostTitleInputComponent that sets its value to "(Untitled)" if it has no value on focusOut, and selects its text if its text is "(Untitled)" on a click. - Posts have a default title, '(Untitled)' - Removed autoSaveNew action firing onFocusIn of the markdown editor - emberified the gh-trim-focus-input - editor-base-controller is no longer responsible for setting a default title (horay!) - Remove pause for autosave from functional-test helper "writeContentToCodeMirror"
We haven't had any user reported issues with this; closing :) |
Issue Summary
If I open a new post and click in the editor, I find myself with a new post with the title "(Untitled)"
Why save a post that doesn't have any content in it? Now I'm cleaning out extra "(Untitled)" drafts whenever I decide I'm not going to write a post after all.
Repro Steps
Specs
Ghost 0.5.3 (Ghost Pro)
Chrome 38
The text was updated successfully, but these errors were encountered: