mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10: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="">
|
||||
<div class="tc-block-dropdown">
|
||||
<$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}}
|
||||
</$list>
|
||||
<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}}
|
||||
</$list>
|
||||
</$linkcatcher>
|
||||
|
Loading…
Reference in New Issue
Block a user