1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-11 18:50:28 +00:00
TiddlyWiki5/core/ui/PageTemplate
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
..
alerts.tid Rename more "tw-*" classes to "tc-*" 2014-08-28 19:08:31 +01:00
drafts.tid Experimental "persistent draft indicators" 2018-08-23 18:02:39 +01:00
pluginreloadwarning.tid Dynamic loading/unloading of plugins (#4259) 2019-09-16 12:15:39 +01:00
sidebar.tid Add whitespace trim to pagetemplate, story and sidebar (#4052) 2019-07-03 17:41:23 +01:00
story.tid Add "cascade" filter run prefix and use it to control view templates (#6168) 2021-11-15 21:06:47 +00:00
topleftbar.tid Pop storyview for topright and topleft bar (#4146) 2019-08-02 09:03:51 +01:00
toprightbar.tid Pop storyview for topright and topleft bar (#4146) 2019-08-02 09:03:51 +01:00