The pattern is all about grabbing the results of a very complex process, 
and scanning those results to decide on whether or not to do something.

```
<$wikify name="codeIssuesCheck" text={{{ [[Code Issues Template]get[text]] 
}}} >
<$list variable="codeIssues" 
filter="[<codeIssuesCheck>search-replace:g:regexp[\n],[:NL:]split[:NL:]regexp[Declare
 
sub]count[]!match[0]]">
''<<menuItemBtn "View Code Issues#️⃣prod">>'' 
</$list>
</$wikify>
```

The Code Issues Template cobbles together a report from a whole bunch of 
complex information.  Very complex code that takes a lot of things into 
consideration, and no way to create a tidy little filter that just gets a 
count of issues for deciding whether or not to show the menu item.

I only want the "View Code Issues" menu to display if there are any 
"Declare sub" issues.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5423e413-95eb-42d1-98fd-bb37bb574105n%40googlegroups.com.

Reply via email to