Here's how I would envision some "multiple-tag-fields" components to work
off the top off my head...
1) the user defines fields that function as *tagsets*, like all fields in
lowercase, which when used are entered and interpreted as if standard tags,
but not returned by standard tag filters, e.g.
- author
- category
2) for each *tagset* there's a config tiddler under a dedicated system
namespace, e.g.
- $:/config/tagfieds/author
- $:/config/tagfieds/category
3) these config tiddlers hold all config parameters leveraged with 4) and
5) for each *tagset*, e.g.
- *filter*
- specifies for which tiddlers the editor / viewer is displayed at
all, default: none (thus all tiddlers)
- *title*
- the name of a corresponding tiddler, so instead of "author" one
could reference a tiddler "Authors" or, french, Auteurs
- a link to that tiddler will be shown in the view-mode component as
a kind of section heading
- *list-before* / *list-after*
- determine how different tag-fields are listed as edit- or
view-mode-sections
- the tag *$:/tags/FieldTags* can be used to further specify sorting
- *color*
- a color for the *tagset*
4) edit-mode
- a component that implements the default edit-tags template, one for
each *tagset*, esp. the popup-adder
- preferably, the standard component can be reused in a parameterized
manner
5) view-mode
- a component that allows to list all items in a *tagset*, linking to a
*tagset*-tiddler
- could be used to create a "new here" item, thus a new tiddler with a
field corresponding to the *tagset*, still emtpy
So, essentially, this would be what you did only just not using actual tags
with prefixes, but rather individual fields for each *tag**set*. All
tiddlers that are in a *tagset* are determined using adequate list filters,
including some that have been in the pipe for a bit.
— tb
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/71fb84c5-7c82-4f1a-b36b-09e8a6be57e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.