Oh, Sorry!
I got the point, you have not included the tagsort in the below code!

--Mohammad

On Sunday, February 10, 2019 at 11:44:15 PM UTC+3:30, talha131 wrote:
>
> Using Mohammad macro, I cannibalized the replace-tag wizard macro to 
> create following wizard
>
> \define sortTagWizard()
>
> <$edit-text
> tiddler="$:/temp/sort-tag-tiddlers"
> field="sortTag"
> tag="input"default=""
> placeholder="select tag to sort"
> focusPopup=<<qualify "$:/state/popup/sort-tag-tiddlers">>
> class="tc-popup-handle"/><$buttonpopup=<<qualify 
> "$:/state/popup/sort-tag-tiddlers">>
> class="tc-btn-invisible tc-btn-dropdown"
> tooltip={{$:/language/EditTemplate/Tags/Dropdown/Hint}}
> aria-label={{$:/language/EditTemplate/Tags/Dropdown/Caption}}>
> {{$:/core/images/down-arrow}}</$button>
> &nbsp;<$reveal state="$:/temp/sort-tag-tiddlers!!sortTag" type="nomatch" 
> text=""><$button class="tc-btn-invisible 
> tc-btn-dropdown"><$action-deletetiddler $tiddler="$:/temp/sort-tag-tiddlers"/>
> {{$:/core/images/close-button}}</$button></$reveal><$reveal 
> state="$:/temp/sort-tag-tiddlers!!sortTag" type="nomatch" text=""><$macrocall 
> $name="tagsort" mainTag={{$:/temp/sort-tag-tiddlers!!sortTag}} label="Sort 
> {{$:/temp/sort-tag-tiddlers!!sortTag}} tag"/></$reveal><div 
> class="tc-block-dropdown-wrapper"><$revealstate=<<qualify 
> "$:/state/popup/sort-tag-tiddlers">>
> type="nomatch"
> text=""
> default=""><div class="tc-block-dropdown"><$linkcatcher 
> to="$:/temp/sort-tag-tiddlers!!sortTag"><$list 
> filter="[tags[]search:title{$:/temp/sort-tag-tiddlers!!sortTag}sort[]]">
> {{||$:/core/ui/Components/tag-link}}</$list></$linkcatcher></div></$reveal></div>
> \end
> <<sortTagWizard>>
>
> It does not take advantage of sort order option, due to lack of my skills. 
> What you get is
>
> Hope someone would find it useful.
> ​
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4c48cb51-e2c4-47fe-9f68-29f4cbf09911%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to