[TW5] Tags with Superpowers: x-tag

133 views
Skip to first unread message

Thomas Elmiger

unread,
Jan 5, 2019, 3:47:43 PM1/5/19
to TiddlyWiki
Hello Tiddly-hackers,

Would you help me to test a new plugin?

x-tag labels your tags with the content of any field you like – and what you like most can be configured as default label.

Usage

Default label: <<x-tag "Tag">>

Different label: <<x-tag "Tag" label:"field-name">>


x-tag comes with an optional styling of its own, so you know what kind of tag pill you see, even without clicking it.

And even in edit mode you can work with x-tags. Add and remove tags from/to tiddlers based on other fields than title.

So if you work with caption a lot or if you have another field you would like to use to label your tags: Give it a try and let me know how it works for you.


Happy tagging!
Thomas

Diego Mesa

unread,
Jan 7, 2019, 1:58:32 PM1/7/19
to TiddlyWiki
Hey Thomas,

First - thanks for all your recent work! 

I tried this plugin by adding a caption to the sidebar tag to "TheSideBar". It shows up correctly in the plugin tiddler. Now, I select activate checkbox to  both, and create a new tiddler, actually typing "TheSideBar" produces no results in the dropdown. Adding it and saving, clicking it does not open the actual $:/tags/SideBar tiddler.

Maybe I misunderstood something?

Thanks,
Diego 

Thomas Elmiger

unread,
Jan 7, 2019, 2:27:22 PM1/7/19
to TiddlyWiki
Hey Diego,

Thanks for testing my stuff, this exactly the kind of feedback I am looking for!

In my personal experience it was enough to show the tags also in edit mode as the <<x-tag TheSideBar>> macro would (so you would still have to search for the title) – but of course users would expect to find their tags the same way ... still more work to do :–/

So the most valuable part at the moment is the x-tag macro.

Thanks again!
Thomas

Mohammad

unread,
Jan 7, 2019, 3:43:23 PM1/7/19
to TiddlyWiki
Hello Thomas
 many thanks for your great codes.

One issue: Assume by mistake you delete the default field in readme. Then it shows something like
<$view tiddler=....


I think it can show some empty message.

I also appreciate if in readme give application examples

--Mohammad

Thomas Elmiger

unread,
Jan 7, 2019, 4:20:37 PM1/7/19
to TiddlyWiki

 – but of course users would expect to find their tags the same way ... still more work to do :–/


===

@Mohammad, thanks for your feedback too ... as there is no filter involved at the moment, I’m not sure about a quick fix.

If you can think of more useful examples for the readme, let me know.

Cheers,
Thomas

Thomas Elmiger

unread,
Jan 7, 2019, 6:22:19 PM1/7/19
to TiddlyWiki
Hi again,

Issue with empty field is fixed, that led to an improvement: there is a fallback to title now. The new ~else does the trick. Version 0.1.1 comes also with a ViewTemplate, so we can replace standard tags completely in the story river.

Thanks again for the valuable feedback!
-t
Reply all
Reply to author
Forward
0 new messages