1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-13 21:34:51 +00:00
TiddlyWiki5/editions/test/tiddlers/tests
Jeremy Ruston a350a76a00
Add "cascade" filter run prefix and use it to control view templates (#6168)
* Initial Commit

* Set currentTiddler and ..currentTiddler for filter evaulation

* Precompile the filters for performance

* Add explicit test for empty result when no filter passes

* Use the cascade filter run prefix to choose the view template body template

* Use the cascade mechanism to choose between the edit and view templates

* Simplify cascade filter

Thanks @saqimtiaz

* Add control panel UI for inspecting the template cascades

* Refactor import listing and plugin listing as alternate body templates

As suggested by @pmario

* Refer to $:/core/ui/{View|Edit}Template via their associated config tiddlers

* Fix typo in previous commit

* Add demo of custom story tiddler template

* Tweak control panel wording

* Standardise "Story Tiddler Template" nomenclature

* Add a cascade for the editor template body

* Add a cascade for the view template title

* Avoid unwanted whitespace

* Add a cascade for dynamically choosing tiddler icons
2021-11-15 21:06:47 +00:00
..
data/deserializers Add support for JSON-formatted tiddler store, and make it the default (#5708) 2021-07-14 09:15:30 +01:00
test-backlinks.js Add backlinks indexer (#4421) 2020-03-26 13:15:02 +00:00
test-compare-filter.js Add new compare filter operator 2020-04-13 10:03:01 +01:00
test-deserializers.js Add support for JSON-formatted tiddler store, and make it the default (#5708) 2021-07-14 09:15:30 +01:00
test-filters.js Fix: resolved search-replace operator regexp encoding bug (#6162) 2021-11-01 13:24:30 +00:00
test-html-parser.js Extend HTML tag parser to maintain an ordered array of attribute names (#6132) 2021-10-27 11:35:12 +01:00
test-linked-list.js Memory efficient linked list (#5380) 2021-01-09 20:52:34 +00:00
test-parsetextreference.js Fixed bug introduced into transclusions for blank fields in #5736 (#5835) 2021-06-29 12:07:14 +01:00
test-prefixes-filter.js Add "cascade" filter run prefix and use it to control view templates (#6168) 2021-11-15 21:06:47 +00:00
test-tags.js Enable indexers in tag test (#4355) 2020-04-07 20:44:26 +01:00
test-tiddler.js Add isEqual() method to tiddlers 2014-06-23 08:09:59 +01:00
test-utils.js Fix tests to work in other timezones 2020-12-01 10:52:24 +00:00
test-widget.js Add $let widget (#6148) 2021-10-30 11:42:22 +01:00
test-wikitext-parser.js Extend HTML tag parser to maintain an ordered array of attribute names (#6132) 2021-10-27 11:35:12 +01:00
test-wikitext.js Don't set draggable property for links 2017-03-28 13:05:00 +01:00