@ludwa If I have understood the problem correctly, that you need to remove 
the ToDo tag when the checkbox is used, this should do the trick on 5.1.22:

\define markCompletedActions()
<$action-listops $tags="-ToDo"/>
\end

<$list filter="[!has[draft.of]tag[task]!tag[Completed]sort[created]]">

<$checkbox tag="Completed" checkactions=<<markCompletedActions>>> <$link 
to={{!!title}}>
<$view field="created" format="date" template="DDth mmm hh:mm"/> - <$view 
field="title"/>
</$link>
</$checkbox>

</$list>

Hope this helps.
Regards,
Saq

On Tuesday, December 29, 2020 at 10:36:00 AM UTC+1 ludwa6 wrote:

> Following this excellent tutorial video by Francis Meetze about "Tracking 
> Tasks in TiddlyWiki" <https://www.youtube.com/watch?v=mzoMhKx0j8g>, i was 
> easily able to get the thing working as shown... And moreover, getting it 
> to integrate with the Contents tab i have created, following the previous 
> video in same series <https://www.youtube.com/watch?v=bu7JU4DjPrg>, to 
> the extent that my list of Completed and ToDo items shows up in the 
> Contents tab. 
>
> The one hair in this soup is that the tickbox for "Completed" items, tho 
> it works fine to migrate items from ToDo tiddler to Completed tiddler (and 
> back, if status changes accordingly), does not remove the ToDo tag from the 
> tiddler of a completed task, so it takes an edit on that task's tiddler to 
> remove the ToDo tag -a small PITA, of course, but it does crap up the 
> experience of a perfectly beautiful workflow.
>
> So: this is to ask if anyone here can suggest a tweak to this script 
> (below) on the ToDo tiddler that would trigger removal of the ToDo tag 
> object from the subject tiddler. Ideas, anyone?
>
> (NB: i have modified the script in video by changing instances of the word 
> "done" to "Completed," just to make it work with my Contents tab taxonomy 
> -but that is irrelevant to the problem i'm having; i've tried it both ways, 
> and it makes no diff).   /walt
>
> 8<------- (contents of ToDo tiddler -which is tagged only w/ "Tasks", 
> b/t/w) ----->8
>
> <$list filter="[!has[draft.of]tag[task]!tag[Completed]sort[created]]">
>
> <$checkbox tag="Completed"> <$link to={{!!title}}>
> <$view field="created" format="date" template="DDth mmm hh:mm"/> - <$view 
> field="title"/>
> </$link>
> </$checkbox>
>
> </$list>
>
> 8<------- (end of script) ----->8
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3750463f-140d-403b-bdf3-ba6b9a0ff7f5n%40googlegroups.com.

Reply via email to