1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-28 08:13:14 +00:00
TiddlyWiki5/editions
Jeremy Ruston 36b162a377
Fix for tag ordering issue #6382 (#6383)
* Failing test

* Fix underlying problem

* Less naive fix

Now we make sure we maintain the sort order of the titles array when adding a new tiddler

* Fix failing tests

* Refactor filter tests to repeat them with different store orderings

* Revert "Fix failing tests"

This reverts commit ee03ee57f5.

* Refine fix to retain stylesheet ordering

The order of tiddlers in the HTML file uses localeCompare(), and that determines the insertion order. So if we want to be compatible with older versions we have to use localeCompare() to order tiddlers, not a plain sort()

* Don't sort shadow tiddlers

Instead rely on the existing ordering

* Fix failing tests, take 2

I think that all of these changes are explained by the store no longer retaining insertion order, but now using localecompare ordering

* Fix tests from #6327
2022-02-21 15:34:05 +00:00
..
aws Add first release of AWS plugin 2017-07-03 20:34:58 +01:00
classicparserdemo Use https for YouTube 2017-11-18 19:53:52 +00:00
codemirrordemo Add default "tiddlywiki" styles to CodeMirror and Highlight.js (#5128) 2020-11-28 14:07:12 +00:00
d3demo First pass at an --editions command 2014-10-27 21:50:25 +00:00
de-AT Get "New Release Banner" from TW5-com edition (#4912) 2020-10-25 22:03:35 +00:00
de-AT-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
de-DE Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
dev Fix server options (#5899) 2022-02-21 09:53:06 +00:00
dynaviewdemo Update dynaview demo viewtemplate with latest core changes 2021-10-02 17:22:24 +01:00
empty Add build target for empty.html 2018-12-17 11:07:39 +00:00
es-ES Fix some typos in the ViewTolbar button docs (#5974) 2021-08-29 17:50:28 +01:00
es-ES-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
fr-FR [FR_fr] Fix Latest Version image not displaying (#6308) 2021-12-04 18:21:28 +00:00
fr-FR-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
full Add Arabic (Palestine) to the "Full Edition" 2020-08-28 17:51:17 +01:00
highlightdemo Highlight plugin: add static demo 2015-09-11 22:36:30 +01:00
innerwikidemo Fix bug with innerwiki template 2021-10-02 16:17:07 +01:00
introduction Minor fixes to introduction edition 2021-10-02 17:31:02 +01:00
ja-JP Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
katexdemo KaTeX plugin: add mhchem extension for chemical syntax (#3601) 2018-12-01 13:28:51 +00:00
ko-KR Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
ko-KR-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
markdowndemo Replace Markdown parsing library with Remarkable (#3876) 2020-01-20 13:13:36 +00:00
pluginlibrary Lots of improvements to the plugin library 2015-03-18 11:46:28 +00:00
prerelease Update release note 2022-02-08 15:40:15 +00:00
resumebuilder Cleanup editions information (#2444) 2016-05-17 22:00:26 +01:00
server Fix accidental changes in 41a7d98e17 2020-06-07 10:30:39 +01:00
server-external-js Fix faulty external-js single-file wiki (#5570) 2021-07-06 15:02:21 +01:00
share Fix accidental changes in 41a7d98e17 2020-06-07 10:30:39 +01:00
tahoelafs First pass at an --editions command 2014-10-27 21:50:25 +00:00
test Fix for tag ordering issue #6382 (#6383) 2022-02-21 15:34:05 +00:00
testcommonjs First pass at an --editions command 2014-10-27 21:50:25 +00:00
text-slicer Major updates to text-slicer plugin 2017-12-14 14:16:54 +00:00
translators Add Português (Brasil) translation 2018-02-07 15:56:43 +00:00
tw5.com Allow newlines within filtered transclusions (#6421) 2022-02-21 15:28:21 +00:00
tw5.com-docs Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
tw5.com-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
tw5tank Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
tw5tiddlyweb Typos 2014-12-05 10:20:32 +00:00
upgrade First pass at an --editions command 2014-10-27 21:50:25 +00:00
xlsx-utils xlsx-utils: Fix demo spreadsheet 2021-01-16 16:09:42 +00:00
xlsx-utils-server Add first pass at XLSX Utilities plugin 2016-10-23 22:49:59 +01:00
zh-Hans Fix wrong configurations in tiddlywiki.info for editions zh-Hant and zh-Hans (#4564) 2020-04-15 10:24:46 +01:00
zh-Hant Fix wrong configurations in tiddlywiki.info for editions zh-Hant and zh-Hans (#4564) 2020-04-15 10:24:46 +01:00