Should the custom cascade rule filter tiddlers (as in ControlPanel > Info > Advanced > Cascades, all are tagged with some tag like $:/tags/___Filter
) be displayed using the code body view template?
Currently there is no mechanism that would automatically make all the custom cascade rules be displayed with code body template.
The core rules are shown with code body template, because they fall into the rule [prefix[$:/config/]]
in $:/config/ViewTemplateBodyFilters/system
.
However, any custom cascade rule (not prefixed $:/config/
) will not be displayed with the code body template, unless e.g. the field code-body: yes
is added.
Should we add tag-based rules to $:/config/ViewTemplateBodyFilters/core-ui-tags
so that all the custom cascade rule tags are also included there (e.g. $:/tags/EditTemplateBodyFilter
, $:/tags/FieldEditorFilter
, $:/tags/TiddlerColourFilter
), and cause the tiddler to be rendered with code body template?
My rationale is that these tiddlers (custom cascade rule filters tagged with $:/tags/___Filter
) will conceivably always be filter expressions, and so would be easier to examine when viewed with the code body template. It would be practical if they were automatically displayed with code body template.
A similar situation is the case for custom stylesheet tiddlers (although they use a different template, but still with code in mind).
Or should it be left to the user, that he uses the code-body
field or creates a custom view template body rule if he wishes so?