Tag ($:/tags/ViewTemplate) allowed to "disregard" some tag-children

Too Long and I still read it all again.

It seems we have 99% of this solution, as I have seen before we need to push hard to do this last 1%

Yes, I now favor disregard-filter

The key value of introducing something like the [disregard.filter[$:/tags/ViewTemplate]] which needs a global custom operator is it can be applied to $:/tags/EditToolbar $:/tags/EditorToolbar tags etc…

  • However I am now working on a native tiddlywiki approach with the same functionality.

A step further;

The native solution is to add to the iteration of the view template tags the following;

:except[subfilter{$:/tags/ViewTemplate!!disregard-filter}]

Of note $:/tags/ViewTemplate is a shadow tiddler in empty.html

Once can use a filter here so something like [all[current]suffix[/classic]] would disregard tiddlers with that suffix.

We could say all “smart tags” include the possibility of leveraging the disregard-filter on the tag tiddler, we then need to apply it to the core UI components, although it would be a “code pattern” we can all use on our own tags. As a result if implemented would benefit from being added to the documentation.