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 shouldn't overwrite the original file - but create a draft #188
Comments
From ccagle8 on April 08, 2011 17:27:38 |
From ccagle8 on December 08, 2011 14:33:30 |
From tablatronics on April 19, 2012 21:47:35 I think we should check for drafts and display the draft when editing the page, i prefer this over a 'a draft is available' as backups are now done, this way you can go right back to working on the draft. Drafts will have 2 options, publish ( at which point doc will become the backup ) Maybe we can add a tab at the top of the page form for DRAFT, and a link to open the current file. I think it would be annoying to edit the normal page then have to click a draft link to continue editing it. So the flow would be. edit page load This draft page has a few special options at the top. |
From tablatronics on June 19, 2012 20:58:02 This would be a nice addition to components. |
Until we actually have drafts, I am enabling this. |
Autosave saving directly to the pages will make GetSimple (or at least Autosave) unfit for live sites. If somebody creates or updates an existing page, this page MUST NOT be saved until the editor has reviewed the changes and pressed save. Otherwise incomplete pages would be visible for visitors, which is NOT acceptable at all. If autosave works like this, it must not be enabled by default and the setting to enable it must have a comment warning the user about the consequences. |
It is not enabled by default, it is experimental, at least this way it is experiment-able. And if you are writing incomplete pages, then the page should be off the menu or private until its presentable. Not seeing a problem. Ill add notes to gsconfig and wiki i guess. |
If it's not enabled by default, it's fine. As for private: if you update a page, you can't set it to private, as this would remove it from the site. |
Then that would typically be a minor edit, not an incomplete page. People can start to test ajax updates then we can add it to normal saving also. I doubt anyone is even using it yet, i mean how do you even preview autosaves ? |
Even if it's a minor edit and it takes longer than the auto-save interval, a possible incomplete/in-progress page would be published. I suppose a usable autosave solution looks like this:
This way an editor can edit multiple pages, preview/review them and only publish them when everything is correct. |
Well this will actually become drafts, so i will apply your input to that. The whole sense of autosave will be gone, it will just be the standard method of saving, like google docs. Non live copies of pages will always be a draft, always be autosaved, and allow live previews, they will be publishable, at which point it will overwrite the page file. but there will not be mutiple versioning, too non-simple. I think there is another discussion on drafts somewhere in here, but i cannot find it. Github just changed the damn issue search or rather removed it. aha |
closing, reference for #570 |
Original author: ccagle8 (April 01, 2011 14:50:33)
This looks pretty easy to implement:
http://stackoverflow.com/questions/931252/ajax-autosave
Original issue: http://code.google.com/p/get-simple-cms/issues/detail?id=188
The text was updated successfully, but these errors were encountered: