[These thoughts were spurred from @saqimtiaz autosave experiments ]
For the sake of this thread, I’m here defining three terms but kindly enlighten me if there is established, or simply better, terminology:
-
enable autosave ~ to click the checkbox in
Controlpanel > Saving > General > "save changes automatically"
- trigger autosave ~ to “start preparing” for autosaving
- execute autosave ~ autosaving actually starts to save the wiki
Default behaviour in TW is that triggering and executing autosave happens without a delay inbetween.
Request:
Autosave would be much more useful if:
- it triggers from making any change in the wiki
- …and if there then was a delay between triggering and executing the saving, i.e some timer countdown to avoid non-stop saving.
Regarding (1.) - currently Autosave is only triggered from clicking the tiddler editview Done button. But the system does know when “any change” is made as evidenced from the save-wiki button turning red.
The necessity to click Done means that very basic uses cases such as clicking a button to set some value, or editing transcluded content do not trigger autosave.
Could the behaviour of Autosave be enhanced to feature this?
…
(Note: @saqimtiaz 's experimental implementation does not address this aspect but accepts the requirement to click Done and allows you to only then control the duration before the save is executed.)