This sounds like an approach I take where I define a display-filter for example;
<$list filter="[{$:/config/author-mode}match[yes]]" variable=~>
optional content for authors
</$list>
- The question do we do a display-filter test inside or outside the elements, or in each of the dropdown items?
Keep in mind a filter-pill can also use a [tag[tagname]]
filter such as [tag[todo]!tag[done]]
and a label of tagname, so it starts to look like a filtered “tag pill”.
I have added the count on the filter-pill you can override with show-count:"no"