I’m trying to set up TiddlyWiki as a to do list and I’ve seen many options for that. But I haven’t seen a way to have an expandable cascading list like I get with toc-selective-expandable, but with checkboxes so I can mark things done from the list. Is this possible?
I did a fast test, but it will not be easy, without rewriting the toc-macros. It seemed to be easy at first, but in the end it would be a significant change to the toc macros.
I have something like this :
I use that while working on my graduation thesis/work. Here are the relevant tiddlers:
tiddlers(35).json (9.4 KB)
Demo: https://taskers.tiddlyhost.com/
Sorry I left several tiddlers in french (I dont have the time to clean up), but you probably wont need to dive into the tiddlers anyway. Just use this to create a toc with tasks: {{||tdm-with-tasks}}
Quick explanation:
tdm-with-tasks use recursion:
<ul class="tdm-with-tasks">
<$list filter="[all[current]tagging[]!tag[exemple]]">
<li>{{||(task)}}</li>
{{||tdm-with-tasks}}
</$list>
</ul>
And (task)
contains some code to display a tri-state checkbox. If you don’t like it, use a checkbox widget instead.
Thank you! I’ll try it today.
Looks good! I see there are multiple layers allowed, but is there a way to collapse them?
A fast, though kludgey way to get want you want is to use the template option of the toc-tabbed-internal-nav macro. The template can be something as simple as:
<$checkbox tag="done"> Is it done?</$checkbox>
This puts the checkbox in the accompanying right panel.