⚡️ Ideas
Chuck Chuck Jun 6, 2024

"On checked" and "on unchecked" events for tags with checkboxes.

Explain the problem as you see it

When completing a task, there are often a number of post-processing steps to be done (like setting up a new task, if it's recurring) that can be tedious bookkeeping. With Tana Core, this seems like something that could be automated.

Why is this a problem for you?

I'd love to be able to focus on getting things done, rather than managing my to-do list.

Suggest a solution

For tags with "Show checkbox" enabled, add two additional events:

  • On checked
  • On unchecked

To parallel the existing "On added" and "On removed".

⁨2⁩ ⁨Comments⁩

To add a bit of color: I have an AI command I currently run manually that uses this prompt to create a recurrence of a task. I would love for this to be run automatically when that task is checked.

CONTEXT:
${sys:context}

TASK:
The context above represents a task and its associated metadata.
Your job is to set up a new recurrence of this task
Use Tana Paste formatting. It should follow the template below. 
The only thing that you should change is the due date, marked as `YYYY-MM-DD`. Update that to be exactly ${Recur in} after ${sys:currentDate}.

TEMPLATE:
- [ ] ${name} #Task
- - Due date:: [[date:YYYY-MM-DD]]
- - Related:: [[${Related}]]
- - Recur in:: ${Recur in}