[These thoughts have been hinted previously, not least during @Jed and my discussions on TWederation. The idea with a filter operator is new though, AFAIK]
Would it be possible with a a filter operator that ouputs a link but really also builds a bundle (where the link is the title to the bundle)?
I use the term "bundle" because it is closely related to what @Jed has already implemented but also because if the idea here were implemented it would probably replace the current manifestation of bundles; anyway, the idea is a titlelink that serves as a
collective reference in a more
physical sense. If we compare a title link to a tag (i.e a pure tag, not a tiddler title) then you can do things with tiddler(-titles) but not really with tags. The idea I'm after is to merge the two so that you have a kind of collective lable that you can manipulate and it translates into manipulating the associated tiddlers.To
batch manage tiddlers.
For example (and this is the original use case from the discussions with @Jed), the resulting titlelink can be dragged between TWs like any other titlelink. This would make
it super easy for anyone to create a kind of light version of a plugin (very much like Jeds bundles).
..but any kind of batch processing could be imagined.
Now, opening (clicking on) such a link could - I imagine - open either of;
- that set of tiddlers (i.e as if you were opening a permaview)
- one compound tiddler that shows the input tiddlers as if one document (think text-slicer edition)
- possibly, like with plugins, merely the input title links
I guess it depends on intended use for it; as a way to serve a tiddler document (#1) or more of a traditional document (#2) or just for e.g drag'n drop transferral of tids (#3).
Example syntax:
[tag[foo]prefix[bar]] +bundle[MyBundle]]
The output is the bundle, here titled MyBundle "containing" the filtered tiddlers. If no bundle name is provided, a default name could be applied. Or maybe the syntax could be with the bundle operator outside of the filter.
Maybe they'd even make sense as an alternative to tagpills - i.e they,
just like tag(pills) serve as category lables but you could also dragn
drop them.
If anyone were to implement it, a thought is that it seems to have some similarities with the
listed filter operator.
Crazy?
<:-)