Can we prefill known tags?

75 views
Skip to first unread message

Devin Weaver

unread,
Sep 9, 2019, 10:43:51 AM9/9/19
to TiddlyWiki
I noticed a situation in my TiddlyWiki where I will tag a tiddler with one of three tags: Pending, InProgress, inReview. But when one of those tags has no tiddlers it is removed from the drop down when editing tiddlers. Which means that I have to type the tag in when there there are no tiddlers currently tagged with it.

Is there a way to prefill that list? In normal usage I like that tags are removed from the drop down but in this one edge case I like to pin some tags to always be in the drop down for selecting even when there are no tiddlers currently tagged with that tag.

Aidan Grey

unread,
Sep 9, 2019, 10:48:13 AM9/9/19
to tiddl...@googlegroups.com
Lots of ways...

I keep a tag tiddler, just to hold tags like this - that's probably the easiest thing to do.

On Mon, Sep 9, 2019, 8:43 AM Devin Weaver, <weaver...@gmail.com> wrote:
I noticed a situation in my TiddlyWiki where I will tag a tiddler with one of three tags: Pending, InProgress, inReview. But when one of those tags has no tiddlers it is removed from the drop down when editing tiddlers. Which means that I have to type the tag in when there there are no tiddlers currently tagged with it.

Is there a way to prefill that list? In normal usage I like that tags are removed from the drop down but in this one edge case I like to pin some tags to always be in the drop down for selecting even when there are no tiddlers currently tagged with that tag.

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0e8d2198-3aa8-4820-8b43-be4968d6f905%40googlegroups.com.

Devin Weaver

unread,
Sep 9, 2019, 11:28:48 AM9/9/19
to TiddlyWiki
I thought about that. How do you prevent that tiddler from being included in any lists for said tags?


On Monday, September 9, 2019 at 10:48:13 AM UTC-4, Aidan Grey wrote:
Lots of ways...

I keep a tag tiddler, just to hold tags like this - that's probably the easiest thing to do.

On Mon, Sep 9, 2019, 8:43 AM Devin Weaver, <weave...@gmail.com> wrote:
I noticed a situation in my TiddlyWiki where I will tag a tiddler with one of three tags: Pending, InProgress, inReview. But when one of those tags has no tiddlers it is removed from the drop down when editing tiddlers. Which means that I have to type the tag in when there there are no tiddlers currently tagged with it.

Is there a way to prefill that list? In normal usage I like that tags are removed from the drop down but in this one edge case I like to pin some tags to always be in the drop down for selecting even when there are no tiddlers currently tagged with that tag.

--
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 tiddl...@googlegroups.com.

coda coder

unread,
Sep 9, 2019, 11:37:25 AM9/9/19
to TiddlyWiki
With a tiddler open for viewing, click on the tag of interest. Choose the top entry. This opens a tiddler with the tag-name as its title. Edit it and add some text. Repeat for each tag.

Aidan Grey

unread,
Sep 9, 2019, 11:37:48 AM9/9/19
to tiddl...@googlegroups.com
Couple ways...

For some, i just explicitly exclude in the filter :

[tag[groups]!title[grouptags]]

I also use "noshow" tags excluded as above, for the more frequent occuring bits.

And then i also have an ignore tiddler containing tags that i never want to see anywhere (mostly for admin/meta type tags). I have set up the filters to always exclude these, and have one place where i filter for them explicitly to see for editing etc.

To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/79ec50ea-9467-4e0e-ab4a-b62abe3a1e0b%40googlegroups.com.

PMario

unread,
Sep 9, 2019, 1:17:28 PM9/9/19
to TiddlyWiki
Hi Devin,

The easiest way to get started is:

 - Create your tag tiddlers
 - Go to AdvancedSearch: Filters tab
 - Enter the names of your tags, so they are listed
 - Select the "Export" menu (3rd icon from the left)
 - Export as JSON
 - Give it a good name

 - Drag and drop this JSON file into your new wikis.

Done!

Have fun!
mario

TonyM

unread,
Sep 9, 2019, 9:05:03 PM9/9/19
to TiddlyWiki
Devin,

For most tiddler I create I have a template to create them where I can pre-populate the tags, such templates have the system prefix $:/ and whenever I list of reference such tags I say "[!is[system]" so the template source does not appear. 

However in your use case I would assume Pending, InProgress, inReview are mutually exclusive, if you have one, you do not have the other. In this case I would create a status field and allow only one value at a time rather than use tags. Using tags you need to go out of your way to remove the last tag.

Regards
Tony
Reply all
Reply to author
Forward
0 new messages