1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-13 21:34:51 +00:00
TiddlyWiki5/core/wiki/macros
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
..
colour-picker.tid Replace div with span in colour picker (#4333) 2019-10-20 18:22:22 +01:00
copy-to-clipboard.tid Add copy-to-clipboard macro 2017-12-16 10:58:33 +00:00
CSS.tid Fix the datauri macro to work with _canonical_uri tiddlers 2020-03-30 10:55:37 +01:00
diff.tid Add compareTiddlers macro 2018-04-03 17:50:36 +01:00
dumpvariables.tid Refactor the dumpvariables macro as wikitext 2019-03-30 10:52:49 +00:00
export.tid Fix ViewToolbar items inconsistent spacing (#5473) 2021-05-24 19:24:37 +01:00
image-picker.tid Restore ability to use sub-filter with image-picker macro (#2940) 2017-07-24 12:41:50 +01:00
keyboard-driven-input.tid Make keyboard-driven-input Macro reset to typed input ... (#5031) 2020-11-13 18:01:24 +00:00
lingo.tid First pass at accessibility improvements for #650 2014-06-14 18:06:56 +01:00
list.tid Fix typo in list macro 2020-11-29 12:38:09 +00:00
tabs.tid tabsState should hold a tiddler name rather than a list singleton (#5263) 2020-12-13 16:15:16 +00:00
tag-picker.tid Make the tag-picker tags-dropdown more performant (#5195) 2020-12-04 18:28:36 +00:00
tag.tid Add "cascade" filter run prefix and use it to control view templates (#6168) 2021-11-15 21:06:47 +00:00
thumbnails.tid Fix thumbnail macro tiddler title 2015-09-09 17:46:42 +01:00
timeline.tid Remove unwanted whitespace from sidebar links (#4552) 2020-04-15 12:35:35 +01:00
toc.tid Extend TOC macros to allow custom link targets 2020-10-17 13:44:15 +01:00
translink.tid Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
tree.tid Tree macro: allow separator to be customised 2019-06-13 08:47:42 +01:00
utils.tid Add/refactor PaletteManager (#3832) 2019-06-26 12:36:13 +01:00