Hi Casey An alternative approach which might suit your usage case: -- each click of the button will choose the next tag in the list from the 'list' field of the currentTiddler -- place the list of tags you wish to cycle through in the 'list' field
<$button>
<$action-listops $tags="[list[]first[]] -[list[]last[]]"
$subfilter="+[putlast[]]"/>
Tag</$button>
list: todo active done
The button code may be written in the form of a global macro (<<cycleTag>>
macro tiddler attached).
The list field is required for every task tiddler:
-- the state of the tag for each task is recorded by way of the order of
the tags in this field
-- place the list (starting order) in the template for a new task
regards
On Tuesday, 12 January 2016 13:17:16 UTC+2, Casey Allan wrote:
>
> I've got tags adding with no issue...but I want the "In Progress" tag to
> be removed once I tick the box to complete it... I'm just not sure how to
> delete a tag.
>
> ! Outstanding tasks
> <$list filter="[!has[draft.of]tag[task]!tag[In
> Progress]!tag[done]sort[created]]">
> <$checkbox tag="In Progress"> <$link to={{!!title}}><$view
> field="title"/></$link></$checkbox>
> </$list>
> ! In Progress...
> <$list filter="[!has[draft.of]tag[task]tag[In Progress]sort[created]]">
> <$checkbox tag="done"> <$link to={{!!title}}><$view
> field="title"/></$link></$checkbox>
> </$list>
> ! Completed tasks
> <$list filter="[!has[draft.of]tag[task]tag[done]sort[created]]">
> <$checkbox tag="done"> ~~<$link to={{!!title}}><$view
> field="title"/></$link>~~</$checkbox>
> </$list>
>
> Any help is very much appreciated.
>
> Cheers,
> -C
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/d35f01f6-8f58-430d-b026-273db762f717%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Cycle Tag Macro.tid
Description: Binary data

