Auto Save function integrated with 'live preview'
This function will be included in the 'live preview' ajax call to allow the entry to be auto-saved as a draft every every 5 seconds. Logic will be needed as entries can be written without being saved. Perhaps an option is to make users enter the title of an entry first and establish this as a draft before auto-saving can take place.
Proposed by James for approval by JW
Blueprint information
Whiteboard
I like this idea, so I'm marking it as 'Approved'. If you'd like to implement it, you can, I don't know whether you'd like to do this immediately or later, or if I should do it? If necessary, I can explain how to get Bazaar (the version control system used by Launchpad) running, etc. --- JW, 6/03/2008
***************
I can implement this feature pretty soon and will start work on it tomorrow.
However there is a problem in that there will need to be a draft saved before an autosave can take place. This means that the user will have to 'create' an article (or just a title) before the draft can be autosaved or the user will have to save the draft before an autosave can take place. This is a substantial change to the UI. I propose a 'turn on autosave' button be placed above the ' Excerpt' text field. I just wanted to ask for your permission to do this before implementing the changes.
Permission to make UI changes requested by James 6/3/08
***************
You can add such a button. Because somewhere you mentioned the 'Rails Recipes' book, I took a look at it online, and I saw some code that implemented an auto-save for drafts by saving the draft in the session. I don't know whether that's the approach you'd want to follow, but I'm OK with that.
Permission granted by JW on 6/3/08
***************
The need for a button was negated due to using sessions. A beta version was uploaded on the 10th March '08 for code review.
***************
This feature was merged into the trunk on 16/3/2008 by JW.