Folks,
Would it be possible to add to the next version is[field] and all[fields]] such that a title can be tested to see if it is a fieldname?
The following filter can already determine this;
[fields[]match[test-field]then[yes]else[no]] equivalent would be [[test-field]is[field]]
However since fields are a important element of tiddlywiki, it would be helpful and make readable a range of field handling designs.
An extended feature would be to have virtual tiddlers for such fields like tags currently have a virtual tiddler, you can open and create if desired. This will be even more appealing with the new expanded tiddler naming rules because one could arguably have system fields ie those beginning with $:/ which are optionally hidden from view and edit templates, but certainly will not come up in the sidebar search.
An added feature of the extended field naming in 5.2.0 is designers and developers can use fieldnames with their own prefix eg I use $:/psat/tiddlername I can also use $:/psat/tagname so it would be nice to use $:/psat/fieldname
I also had a previous request that I thought was being implemented, that resulted in this https://github.com/Jermolene/TiddlyWiki5/pull/5315
I hope it can proceed.
This may also be related https://github.com/Jermolene/TiddlyWiki5/issues/1324
Regards
Tones
Just thinking out loud...As you may know, the coming v5.2.0 will feature unrestricted field names. This is very big news! This will push fields to a substantially more prominent position because fields can then be directly mapped to tiddlers. I mean, just look at this:"In the current tiddler, get the values of the fields with names that match a filtered set of tiddler titles."\define getdata() {{$(curr)$!!$(field)$}}<$vars curr=<<currentTiddler>>><$list filter="...filteredtiddlers..." variable=field><<getdata>>etcSo, the field values could be a relationship between the current tiddler and those other tiddlers. For example:title: AdamBarbara:motherCaesar:fatherDavid:friend
--
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/9663224c-7512-4bba-a424-decf876dc943n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMDRxgAA8pZ1nnY56j34uTqw1ux8%2BX0gkqDTcSK-LPkX-g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/FEB2B99E-6A23-42E8-A8B4-5B7A03670E83%40gmail.com.
I ask: Where is the difference from a setting below and your suggestion?title: adambarbara: mothercaesar: fatherdavid: friend
title: adambarbara: mothercaesar: fatherdavid: friend
> It will be hard to create an efficient algorithm with this setup, in wikitext. You have 2 variables here.> - The field name> - The field value> You need a configuration tiddler somewhere. .. This problem has been the same for ages.What do you mean with "configuration tiddler" here?
In my "family" example, what would a config tiddler do or be - and why is it problematic?
Where would there be a problem with an "efficient algorithm"?