[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-19 Thread talha131


I don’t know exactly where, but I seen you earlier, maybe somewhere in the 
Vim era.

I too recall you from somewhere but can’t put my finger on it. ☺️It’s 
probably from Vim, perhaps #vim irc channel. I used to be active on it 
couple of years ago. :)
​

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/b1a53d8d-26c8-4333-8d9f-0d28c9f3e993%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-17 Thread bimlas
Ok, I understand now what you wanted to achieve, the locator is really 
inappropriate.

Thank you for the advice, I will somehow clarify the documentation.

I don't know exactly where, but I seen you earlier, maybe somewhere in the 
Vim era.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/7828a403-c8ab-48d8-87d6-33af615d90eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-17 Thread talha131
What I was looking for 

See these images

I was searching for the word diff and json. These are common words in the 
programming world and more than one topics have tiddlers on it. I needed a 
simple way to tell these tiddlers apart with a glance.

I didn’t need to narrow down my search via tag or open other tiddlers from 
the tag pill. Just wanted to have a little bit context in the search result 
that a tiddlers is from which topic. 
Feedback on Locator 

It’s a powerful plugin. 

   1. Its documentation can certainly be improved. It wasn’t clear that you 
   need to add some tiddlers to get it working. 
   2. Usage is not clear either. If you add a gif or YouTube video it will 
   certainly be helpful 

My take away is that it’s useful for users who have thousands of tiddlers 
with hundreds of tags in the TW. So far I have only 663 tiddlers and 77 
tags, so TW default search is good enough. For now.
​

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/578316a5-6770-442e-9be5-f4e6fd8e3476%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-17 Thread bimlas
talha131,

Forgive me, but according to your description, this is what you are looking 
for, but it may not be clear how it works. In a GIF I show you how you can 
filter the search results by tags.

https://i.imgur.com/MPdirls.gif

If the description is not really clear, please let me know.

2019. június 17., hétfő 14:05:09 UTC+2 időpontban talha131 a következőt 
írta:
>
> Thank you bimlas. Much appreciated. I did give it a try. It's not the 
> solution I was looking for.
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/3a54a2a5-f203-48f5-859a-f4a4b807c53c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-17 Thread talha131
Thank you bimlas. Much appreciated. I did give it a try. It's not the 
solution I was looking for.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/fc04e5b5-bbac-4c72-aa8d-5db8969ad31c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread Mohammad
Added to TW-Scripts

On Saturday, June 15, 2019 at 9:02:54 PM UTC+4:30, talha131 wrote:
>
> Thanks a lot Mat. My issue has been solved.
>
> <$link to={{!!title}}><$view field="title"/>
><$list filter={{!!tags}}>
>   <$macrocall $name=tag-pill tag={{!!title}} />
>
>
> ​
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/6211afc9-ec13-4184-8567-9ac06bf74f61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread talha131


Thanks a lot Mat. My issue has been solved.

<$link to={{!!title}}><$view field="title"/>
   <$list filter={{!!tags}}>
  <$macrocall $name=tag-pill tag={{!!title}} />
   

​

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/6855447a-09aa-4086-a13b-7a56c6c85086%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread Mat

>
> you must surround the macrocall with a listwidget so that the macrocall 
> only deals with one tag at a time.
>
> Can you point me to any example where listwiget is used in this way?
>
Didn't test this but should work:

<$list filter="my tiddlers of relevance">
   <$link/>
   <$list filter={{!!tags}}>
  <$macrocall $name=tag-pill tag={{!!title}} />
   



<:-)

> <:-)
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/0933b1d0-69d2-49f7-9f9f-fe3c39037449%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread talha131


<>

works fine.

It’s the <> macro that is not working.

you must surround the macrocall with a listwidget so that the macrocall 
only deals with one tag at a time.

Can you point me to any example where listwiget is used in this way?
​

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/e258a556-75b8-41ae-8987-61dc4b62086d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread Mat

>
> *What I can’t figure out is* how to pass the current tag to the tag-pill 
> macro. I have tried
>
> <>
>
>  General note: both the <<..>> syntas and {{..}} are short forms of 
macrocalls. As such they cannot be nested.

> <$macrocall $name="tag-pill" tag=<<__tags__>> />
>
> Well, the tag*s* field of course often contain *multiple* tags so if you 
want to use the tag-pill macro (or the tag macro) then you must surround 
the macrocall with a listwidget so that the macrocall only deals with one 
tag at a time.

<:-)

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/764b747b-1df1-41b9-b654-602314e45429%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread talha131


Thank you Mat for the details.
--

I think what I want to do can be achieved by editing 
$:/core/ui/ListItemTemplate.

It reads

<$link to={{!!title}}><$view 
field="title"/>

I just need to add 

<>

*What I can’t figure out is* how to pass the current tag to the tag-pill 
macro. I have tried

<><$macrocall $name="tag-pill" tag=<<__tags__>> />

But they didn’t work. Of course my syntax is incorrect but I can’t figure 
out the correct one.
​

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/59085355-f63f-4cd9-ba19-c2556e375e26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread Mat
Sure, here's the linkwidget  
and here's the discussion 
 on the update of it. 
In summary, you can use <$link/> to get a link to the current tid instead 
of a much longer syntax for 5.1.19. So, in the listwidget, instead of 
writing {{!!title}} you write <$link/>.

<:-)

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/bf9b6ab7-c632-4f31-a396-f27cddee81cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread talha131


(BTW, the syntax for this is about to be improved in the 
very-soon-to-be-released 5.1.20 version.)

I am actually using 5.1.20 pre release. Can you please point me to the 
documentation of the to be release version?
​

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/29e3af52-702b-49da-b2bf-80d75ea5cb94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-14 Thread Mat
Every tiddler consists of fields. One field is the title field. Another is 
the tags field. They can be transcluded using this form {{!!fieldname}}.

Thus inside a listwidget, you could write {{!!title}}, {{!!tags}}

See if this achieves your result. Chances are you'll want them to be links 
also, in which case you use the linkwidget. (BTW, the syntax for this is 
about to be improved in the very-soon-to-be-released 5.1.20 version.)

<:-)

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/10b45637-077f-425c-b9cd-3497bd136849%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.