It’s not quite the TOC, but feels aligned to the original request nonetheless - for making the Draft tids (actual being-edited drafts, not tagged drafts) stand out in the ‘Open’ list, this thread offers a pure CSS solution: Making Drafts stand out in the Open sidebar - #3 by nemo
regarding tagged stuff - I use a “TODO” tag which feels aligned to OP’s use of ‘draft’, and for that I have a tid which generates a TOC just for that tag:
TOC from <<tag TODO>>
<div class="tc-table-of-contents">
<$macrocall $name="toc-selective-expandable" tag=TODO />
</div>
and then that tid is tagged $:/tags/SideBar. Along with a caption field set to ‘TODO TOC’, my sidebar gets this tab:
