1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
TiddlyWiki5/core/modules/widgets
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
..
browse.js Fix problem with "import" button not working 2013-12-30 11:54:51 +00:00
button.js First pass at accessibility improvements for #650 2014-06-14 18:06:56 +01:00
checkbox.js Fix checkbox setting text field to empty string 2014-07-30 11:52:45 +01:00
codeblock.js Clean up the highlight plugin 2014-02-10 13:51:38 +00:00
count.js Refactor wiki.filterTiddlers() 2014-04-27 20:03:33 +01:00
dropzone.js Fixed problem with pasted items lacking a type 2014-06-22 11:58:00 +01:00
edit-binary.js Add banner for binary tiddlers in edit mode 2014-05-02 09:43:39 +01:00
edit-bitmap.js Rough and ready control over bitmap editor line width and colour 2014-02-21 14:06:04 +00:00
edit-text.js Add hex colours to tag manager 2014-05-05 18:42:25 +01:00
edit.js Fix problem with refreshing the edit widget 2014-08-16 15:01:04 +01:00
element.js Explicitly blacklist unsafe elements, starting with <script> 2014-03-19 10:05:44 +00:00
encrypt.js Refactor wiki.filterTiddlers() 2014-04-27 20:03:33 +01:00
entity.js Improve the Widget.prototype.removeChildDomNodes() method so that most subclasses won't need to override it 2013-11-09 16:55:14 +00:00
fieldmangler.js Allow digits in field names 2014-04-28 15:54:32 +01:00
fields.js Improve the Widget.prototype.removeChildDomNodes() method so that most subclasses won't need to override it 2013-11-09 16:55:14 +00:00
image.js Add alt attribute to image widget 2014-08-20 10:00:34 +01:00
importvariables.js Remove debugging code 2014-06-13 14:44:43 +01:00
keyboard.js Add experimental keyboard shortcut widget 2014-01-30 13:40:36 +00:00
link.js More improvements to control panel plugin formatting 2014-08-08 17:19:48 +01:00
linkcatcher.js Fix linkcatcher message sending 2014-04-09 16:09:12 +01:00
list.js Refactor wiki.filterTiddlers() 2014-04-27 20:03:33 +01:00
macrocall.js Get rid of the "new_" prefix we had on some methods 2013-11-08 08:51:14 +00:00
navigator.js Refactored autosave mechanism 2014-08-27 10:04:54 +01:00
password.js Fix default password 2013-11-10 19:22:10 +00:00
radio.js Better defaults for radio widget 2014-05-31 18:35:41 +01:00
raw.js Added missing RawWidget 2013-12-21 16:11:48 +00:00
reveal.js Fix problem with the reveal widget not refreshing properly when used with text references 2014-02-13 17:59:10 +00:00
scrollable.js Use Date.now() instead of new Date() 2014-04-14 09:02:52 +01:00
select.js Add first pass at select widget 2014-05-31 18:37:43 +01:00
setvariable.js Rename the 'setvariable' widget to 'set' 2013-11-15 18:31:39 +00:00
text.js Fixed problem with building TW under Windows 2014-08-15 09:40:22 +01:00
tiddler.js Switch to "tw-tagged-" prefix for CSS tags 2014-08-02 13:38:39 +01:00
transclude.js Include subtiddler in transclusion recursion detection 2014-08-07 15:43:48 +01:00
view.js Fix view widget so that it works with indexes 2014-02-17 11:28:48 +00:00
widget.js Clarify widget constructor docs 2014-07-25 15:26:53 +01:00