mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 17:40:29 +00:00
Don't list all tiddlers in tag dropdown in edit template
@tobibeer I think that this was originally from you. I think it’s problematic listing all available tiddlers for performance and usability reasons. I’ve instead taken advantage of your work to template the tag links by splitting the system and non-system tags. What do you think?
This commit is contained in:
parent
4b61cae262
commit
2305385c08
@ -27,11 +27,11 @@ background-color:$(backgroundColor)$;
|
|||||||
<$reveal state=<<qualify "$:/state/popup/tags-auto-complete">> type="nomatch" text="" default="">
|
<$reveal state=<<qualify "$:/state/popup/tags-auto-complete">> type="nomatch" text="" default="">
|
||||||
<div class="tc-block-dropdown">
|
<div class="tc-block-dropdown">
|
||||||
<$linkcatcher set="$:/temp/NewTagName" setTo="" message="tm-add-tag">
|
<$linkcatcher set="$:/temp/NewTagName" setTo="" message="tm-add-tag">
|
||||||
<$list filter="[tags[]search:title{$:/temp/NewTagName}sort[]]">
|
<$list filter="[tags[]!is[system]search:title{$:/temp/NewTagName}sort[]]">
|
||||||
{{||$:/core/ui/Components/tag-link}}
|
{{||$:/core/ui/Components/tag-link}}
|
||||||
</$list>
|
</$list>
|
||||||
<hr>
|
<hr>
|
||||||
<$list filter="[!is[system]search:title{$:/temp/NewTagName}sort[]]">
|
<$list filter="[tags[]is[system]search:title{$:/temp/NewTagName}sort[]]">
|
||||||
{{||$:/core/ui/Components/tag-link}}
|
{{||$:/core/ui/Components/tag-link}}
|
||||||
</$list>
|
</$list>
|
||||||
</$linkcatcher>
|
</$linkcatcher>
|
||||||
|
Loading…
Reference in New Issue
Block a user