1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-05 01:26:18 +00:00
Commit Graph

4363 Commits

Author SHA1 Message Date
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
Jermolene
9d871309c2 Remove stray console.log 2014-08-27 09:59:15 +01:00
Jermolene
ab41462af3 Ensure that savers invoke the callback 2014-08-27 09:59:01 +01:00
Jermolene
e47852cb14 Stop clearing the location hash for tw-browser-refresh 2014-08-26 14:19:12 +01:00
Jermolene
ba087c96c2 Sorry @xcazin I missed you off the last release note 2014-08-26 14:17:57 +01:00
Jermolene
372fa040c5 Preparing for 5.0.16 2014-08-26 14:17:41 +01:00
Jermolene
39fac54e06 Version number update for 5.0.15-beta 2014-08-20 22:58:09 +01:00
Jermolene
d0654c3211 Docs updates for 5.0.15 2014-08-20 22:56:25 +01:00
Jermolene
8041e3bef2 Add a sort parameter to the TOC macro
As requested by @giffmex
2014-08-20 22:48:07 +01:00
Jermolene
81a426659e Extraneous wikilink in docs 2014-08-20 22:25:55 +01:00
Jermolene
7c3bac4780 Fix fill star icon 2014-08-20 22:25:33 +01:00
Jermolene
bbd0f7841b Move improvement banner to the edit template
Thanks to @xcazin for the most excellent suggestion.
2014-08-20 22:07:39 +01:00
Jermolene
085e60c0f7 Improved documentation on improving the documentation 2014-08-20 22:07:12 +01:00
Jermolene
34d22f631d Temporarily disable the improvement banner
We should perhaps discuss this at the next hangout…
2014-08-20 20:46:59 +01:00
Jermolene
73ef104b11 Fix regression with tag label styling in edit template 2014-08-20 20:46:24 +01:00
Jermolene
56bf3924f5 Tweaks to the improvement banner
I think it looks pretty terrible, and am minded not to include it in
5.0.15. Interested in other views.
2014-08-20 17:06:39 +01:00
Jermolene
2bbe9f76ec Block temporary state tiddlers from import/upgrade 2014-08-20 13:52:59 +01:00
Jeremy Ruston
a9279fcfed Merge pull request #742 from xcazin/fr-FR
Recent fr-FR translations plus small typo in RevealWidget documentation
2014-08-20 13:40:52 +01:00
Jermolene
b0c6babd8d Add banner soliciting documentation improvements
A first pass
2014-08-20 11:25:56 +01:00
Jermolene
4e65bbc405 Add star image 2014-08-20 11:25:30 +01:00
Jermolene
c912fed55d Use a JSON tiddler for $:/config/OriginalTiddlerPaths
Otherwise things go wrong when we have tiddler titles containing colons
2014-08-20 10:11:40 +01:00
Jermolene
1075bd2084 Add content to "Contents" tiddler
Leaving it with no text content means that it triggers a lazy load with
the client server edition
2014-08-20 10:03:40 +01:00
Jermolene
a105b52399 Refactor saver handler
Fixing problems caused by c4b76ceb0b:

* We still need to initialise the saver-handler even when syncing to a
server, otherwise offline snapshots can’t be saved
* We need to override the default save template a bit further up the
stack, to avoid the server side serving the offline version of the wiki
at `/`
2014-08-20 10:02:44 +01:00
Jermolene
fbf307c648 Add alt attribute to image widget 2014-08-20 10:00:34 +01:00
Xavier Cazin
c16f5b6b67 Typo in RevealWidget documentation 2014-08-19 17:08:15 +02:00
Jermolene
1973df0809 Update release note 2014-08-19 16:03:31 +01:00
Xavier Cazin
a0e61b89a3 fr-FR translation for the Drop message 2014-08-19 16:52:19 +02:00
Xavier Cazin
12f894df7c fr-FR translation for Refresh and Home button strings 2014-08-19 16:51:34 +02:00
Jermolene
0dfe23e0db Rename tw-refresh message to tw-browser-refresh 2014-08-19 13:11:18 +01:00
Jermolene
25777b147f Make dropzone text translateable
Also make the text sticky for browsers that support it, ensuring that
it is always visible even after scrolling
2014-08-19 13:07:57 +01:00
Jermolene
58730b7452 Add selective expandable table of contents macro
And improve the layout of the examples
2014-08-19 12:30:22 +01:00
Jermolene
c4b76ceb0b Improve offline saving with TiddlyWeb
Now the usual “save changes” button in the sidebar will save an offline
copy of the wiki that excludes the TiddlyWeb plugin. Previously, this
functionality was only available in the control panel, leading to
several problems such as that discussed here:

https://groups.google.com/d/topic/tiddlywikidev/U61pO-TR854/discussion
2014-08-19 12:20:26 +01:00
Jermolene
920e11e792 Introduce refresh button and revert home button
Now the home button behaves as it did in 5.0.13, and the new refresh
button does a full page refresh.
2014-08-19 12:12:36 +01:00
Jermolene
074cbf2606 Release note update 2014-08-18 21:48:03 +01:00
Jermolene
1e1622273b More table of content macro docs 2014-08-18 21:44:31 +01:00
Jermolene
bd56e4b960 Fix ordering for the table of contents example 2014-08-18 21:44:22 +01:00
Jermolene
8cf726275c First pass at table of contents macros
Introduce macros for automatically generating table of contents
2014-08-18 20:52:36 +01:00
Jermolene
a2acb1462b Update release note 2014-08-18 20:43:16 +01:00
Jermolene
fe6623d7fe Restore foreground colour for sidebar tag pills 2014-08-18 13:22:38 +01:00
Jermolene
a3d0f84ff7 Update startup modules diagram 2014-08-18 10:45:27 +01:00
Jermolene
c57b009968 Simpler default defaulttiddlers 2014-08-18 10:27:48 +01:00
Jermolene
727638c12d Clean up CSS macros
Move the CSS macros into global macros, and allow the colour macro to
fallback to the vanilla palette if the required colour isn’t found in
the current palette.
2014-08-18 10:14:19 +01:00
Jermolene
a637af022d Fix problem with parseTextReference not recognising missing indices 2014-08-18 10:13:30 +01:00
Jermolene
d7cb82d65d Add GuerillaWiki docs 2014-08-17 15:10:43 +01:00
Jermolene
bea83bfe55 Fix problem with refreshing the edit widget 2014-08-16 15:01:04 +01:00
Jermolene
bba3fe586b Fix padding for plugin dropdown 2014-08-16 14:44:46 +01:00
Jermolene
4044ba0d2d Add full download link to GettingStarted 2014-08-16 14:44:11 +01:00
Jeremy Ruston
d76352d873 Merge pull request #736 from BramChen/master
Update chinese translations
2014-08-16 09:42:03 +01:00
Jeremy Ruston
a4cfc17d7d Merge pull request #737 from xcazin/fr-FR
More fr-FR translations for Plugins-related strings in ControlPanel
2014-08-16 09:41:50 +01:00
Bram Chen
f8ad9fd590 Add chinese translations for the new functionality of enable/disable plugins in control panel 2014-08-16 09:05:45 +08:00