1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
TiddlyWiki5/core/modules/utils
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
..
dom Fix full screen button not supported 2014-08-03 12:35:53 +01:00
crypto.js Fix support for upgrading encrypted wikis 2014-07-16 10:06:24 +01:00
fakedom.js Disable storyviews when rendering to the fake dom 2014-03-10 18:41:11 +00:00
filesystem.js Add --build command 2014-04-25 22:41:59 +01:00
logger.js Enhance alerting to coalesce repeated alerts with the same text 2014-02-14 10:29:26 +00:00
parsetree.js Get rid of the tweakParseTreeNode() hack 2014-05-14 08:51:08 +01:00
performance.js Add performance measurement features 2014-04-01 08:33:36 +01:00
pluginmaker.js Refactored autosave mechanism 2014-08-27 10:04:54 +01:00
utils.js Allow digits in field names 2014-04-28 15:54:32 +01:00