1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 01:20:30 +00:00
TiddlyWiki5/core/modules
Jermolene 13c4e028b1 Refactored autosave mechanism
Previously we were using a message `tw-auto-save-wiki` to trigger an
autosave. The message was generated by certain UI actions such as
saving a tiddler. The trouble was that the message was being processed
before the wiki change event for the accompanying change had had a
chance to percolate. The end result was that the dirty indicator was
staying lit when using autosave.

The new approach abandons the autosave message and instead triggers the
autosave in the wiki change event when a relevant change occurs.

One happy side effect of these changes is that the dirty indicator now
works as expected with the client server edition - ie, when typing in a
draft tiddler the dirty indicator will flash briefly, and then clear
when the sync mechanism has completed saving the draft.
2014-08-27 10:04:54 +01:00
..
commands First pass at upgrade mechanism 2014-07-12 09:09:36 +01:00
filters First pass at upgrade mechanism 2014-07-12 09:09:36 +01:00
info Sort out info mechanism docs 2014-07-22 15:16:18 +01:00
macros Get rid of the qualifyTiddlerTitles hack 2013-11-02 15:42:24 +00:00
parsers Allow whitespace after first line of multiline macro 2014-08-11 13:52:10 +01:00
savers Remove stray console.log 2014-08-27 09:59:15 +01:00
startup Stop clearing the location hash for tw-browser-refresh 2014-08-26 14:19:12 +01:00
storyviews Refactor animation easings 2014-07-08 10:07:17 +01:00
upgraders Block temporary state tiddlers from import/upgrade 2014-08-20 13:52:59 +01:00
utils Refactored autosave mechanism 2014-08-27 10:04:54 +01:00
widgets Refactored autosave mechanism 2014-08-27 10:04:54 +01:00
commander.js Fix bug handling of build command 2014-06-24 12:09:10 +01:00
config.js Explicitly blacklist unsafe elements, starting with <script> 2014-03-19 10:05:44 +00:00
deserializers.js Fix importing blank fields from TiddlyWiki files 2014-05-26 17:47:07 +01:00
filters.js Typo 2014-07-28 14:20:18 +01:00
language.js Make more core strings be translateable 2014-03-20 20:55:59 +00:00
pluginswitcher.js Make shadowTiddlers, pluginTiddlers and pluginInfo be private to the Wiki object constructor 2014-03-17 10:50:18 +00:00
saver-handler.js Refactored autosave mechanism 2014-08-27 10:04:54 +01:00
syncer.js Separate the saver handling out of the syncer 2014-08-14 11:43:07 +01:00
tiddler.js Add isEqual() method to tiddlers 2014-06-23 08:09:59 +01:00
wiki.js Fix problem with parseTextReference not recognising missing indices 2014-08-18 10:13:30 +01:00