mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-20 16:42:02 +00:00
First pass at refactoring filter execution
This is the beginning of addressing #523.
This commit is contained in:
@@ -2,7 +2,7 @@ title: $:/core/ui/TiddlerInfo/Advanced
|
||||
tags: $:/tags/TiddlerInfo
|
||||
caption: {{$:/language/TiddlerInfo/Advanced/Caption}}
|
||||
|
||||
<$list filter="[is[shadow]!has[draft.of]tag[$:/tags/TiddlerInfo/Advanced]] [!is[shadow]!has[draft.of]tag[$:/tags/TiddlerInfo/Advanced]] +[tag[$:/tags/TiddlerInfo/Advanced]]" variable="listItem">
|
||||
<$list filter="[all[tiddlers+shadows]!has[draft.of]tag[$:/tags/TiddlerInfo/Advanced]]" variable="listItem">
|
||||
<$transclude tiddler=<<listItem>>/>
|
||||
|
||||
</$list>
|
||||
|
||||
@@ -2,13 +2,13 @@ title: $:/core/ui/TiddlerInfo/Advanced/PluginInfo
|
||||
tags: $:/tags/TiddlerInfo/Advanced
|
||||
|
||||
\define lingo-base() $:/language/TiddlerInfo/Advanced/PluginInfo/
|
||||
<$list filter="[is[current]has[plugin-type]]">
|
||||
<$list filter="[all[current]has[plugin-type]]">
|
||||
|
||||
! <<lingo Heading>>
|
||||
|
||||
<<lingo Hint>>
|
||||
<ul>
|
||||
<$list filter="[is[current]plugintiddlers[]sort[title]]" emptyMessage=<<lingo Empty/Hint>>>
|
||||
<$list filter="[all[current]plugintiddlers[]sort[title]]" emptyMessage=<<lingo Empty/Hint>>>
|
||||
<li>
|
||||
<$link to={{!!title}}>
|
||||
<$view field="title"/>
|
||||
|
||||
@@ -6,17 +6,17 @@ tags: $:/tags/TiddlerInfo/Advanced
|
||||
|
||||
! <<lingo Heading>>
|
||||
|
||||
<$list filter="[is[current]!is[shadow]]">
|
||||
<$list filter="[all[current]!is[shadow]]">
|
||||
|
||||
<<lingo NotShadow/Hint>>
|
||||
|
||||
</$list>
|
||||
|
||||
<$list filter="[is[current]is[shadow]]">
|
||||
<$list filter="[all[current]is[shadow]]">
|
||||
|
||||
<<lingo Shadow/Hint>>
|
||||
|
||||
<$list filter="[is[current]shadowsource[]]">
|
||||
<$list filter="[all[current]shadowsource[]]">
|
||||
|
||||
<$set name="pluginTiddler" value=<<currentTiddler>>>
|
||||
<<lingo Shadow/Source>>
|
||||
@@ -24,7 +24,7 @@ tags: $:/tags/TiddlerInfo/Advanced
|
||||
|
||||
</$list>
|
||||
|
||||
<$list filter="[is[current]is[shadow]is[tiddler]]">
|
||||
<$list filter="[all[current]is[shadow]is[tiddler]]">
|
||||
|
||||
<<lingo OverriddenShadow/Hint>>
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@ tags: $:/tags/TiddlerInfo
|
||||
caption: {{$:/language/TiddlerInfo/Listed/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/TiddlerInfo/
|
||||
<$list filter="[is[current]listed[]!is[system]]" emptyMessage=<<lingo Listed/Empty>> template="$:/core/ui/ListItemTemplate"/>
|
||||
<$list filter="[all[current]listed[]!is[system]]" emptyMessage=<<lingo Listed/Empty>> template="$:/core/ui/ListItemTemplate"/>
|
||||
|
||||
@@ -3,5 +3,5 @@ tags: $:/tags/TiddlerInfo
|
||||
caption: {{$:/language/TiddlerInfo/References/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/TiddlerInfo/
|
||||
<$list filter="[is[current]backlinks[]sort[title]]" emptyMessage=<<lingo References/Empty>> template="$:/core/ui/ListItemTemplate">
|
||||
<$list filter="[all[current]backlinks[]sort[title]]" emptyMessage=<<lingo References/Empty>> template="$:/core/ui/ListItemTemplate">
|
||||
</$list>
|
||||
|
||||
@@ -3,4 +3,4 @@ tags: $:/tags/TiddlerInfo
|
||||
caption: {{$:/language/TiddlerInfo/Tagging/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/TiddlerInfo/
|
||||
<$list filter="[is[current]tagging[]]" emptyMessage=<<lingo Tagging/Empty>> template="$:/core/ui/ListItemTemplate"/>
|
||||
<$list filter="[all[current]tagging[]]" emptyMessage=<<lingo Tagging/Empty>> template="$:/core/ui/ListItemTemplate"/>
|
||||
|
||||
Reference in New Issue
Block a user