- ListWidget of backlinks to a "TODO" tiddler
- When there's something in some tiddler I want to address later, I just add a "TODO" link and, maybe, a note of what I want to do
- A bit more involved: a ListWidget with fairly detailed info about work I started but did not take all of the way (i.e. still have "default" values in the related tiddlers, default values automagically added via custom tiddler creation buttons/macros
In my first post, I had only modified a Tasks tiddler to hide the TODO section if there are no TODO's (show the section if there are TODO's), and show a count of TODO's in the title of the related Details widget.
Now I've also done the same thing for two other sections in my Tasks tiddler to show/hide the sections and show a count of things to be done for each section, again showing in the titles of the related Details widgets.
Wee screenshot and related code further below.
<!-- 🔴 TODO -->
<$list filter="[[TODO]backlinks[]count[]] +[!match[0]]">
<$details summary={{{ [[General TODO Items]] [[TODO]backlinks[]count[]] +[join[ ➡ ]] }}}>
{{TODO}}
</$details>
</$list>
<!-- 🔴 FACTS -->
<$vars vc1="{{Data##fc1}}" vc2="{{Data##fc2}}" vc3="{{Data##fc3}}">
<$vars count={{{[tag[fact]field:c1<vc1>] [tag[fact]field:c2<vc2>] [tag[fact]field:c3<vc3>] [tag[fact]!has[c1]] [tag[fact]!has[c2]] [tag[fact]!has[c3]] +[count[]]}}}>
<$list filter="[<count>] +[!match[0]]">
<$details summary={{{ [[Facts - Incomplete Coded Form]] [<count>] +[join[ ➡ ]] }}}>
{{Facts - Incomplete Coded Form}}
</$details>
</$list>
</$vars>
</$vars>
<!-- 🔴 ENTITIES -->
<$vars vpk="{{Data##epk}}">
<$vars count={{{[tag[entity]field:pk<vpk>] [tag[entity]!has[pk]] +[count[]]}}}>
<$list filter="[<count>] +[!match[0]]">
<$details summary={{{ [[Entities - Incomplete Primary Key]] [<count>] +[join[ ➡ ]] }}}>
{{Entities - Incomplete Primary Key}}
</$details>
</$list>
</$vars>
</$vars>