I am optimistic and still believe it is easy to create. (at least in theory)
Unfortunately I’ve been trying it myself for days but I would need your input.
I’ll explain better what I would like to do:
Lately I’m working on the editor, templates, hidden fields, buttons etc. In short, every change to the editor I felt could optimize my workflow.
And I was thinking it would be very handy to have a second field that behaves (almost) exactly like tags
.
Basically I don’t want to be always forced to use field tags
because otherwise I would be forced to have too many tags for each tiddler, thus defeating the beauty and simplicity of the tag mechanism.
For convenience, I will call this field tags2
I would like this field tags2
to have these features that tags
has:
-
When adding a tag to a tiddler, its
tags
field is updated, but so is the tagging tiddlerlist
field.
If I add the Dog tag to the Borzoi tiddler, in the Borzoitags
field I wrote “Dog” and in the Doglist
field “Borzoi” appears (not automatically, but I just need this to happen later maybe with a drag and drop in the pill) -
Tag pills: The ability to manipulate the field list of the “Dog” tiddler with a drag and drop.
I don’t care what is built around the tags field. Only these basic functionality of tags.
For example I don’t care about a mechanism similar to $:/core/ui/TiddlerInfo/Tagging
. Like a $:/core/ui/TiddlerInfo/Tagging2
would be complicated and not very useful, because I would like to use this new field tags2
for other purposes. The field tags
does its job very well.
I think it shouldn’t be too difficult. My plan is this:
- I clone these tiddlers
$:/core/macros/tag-picker
$:/core/macros/tag
And I replace every reference to the “tags” field with “tags2”. I think (or rather I hope ) that the basic idea should work and it’s simple, but I need some directions because I’m not so sure.
P.S.
I don’t know if I explained myself well. In case something is not clear, please tell me.