obsidian-tasks-group / obsidian-tasks

Task management for the Obsidian knowledge base.
https://publish.obsidian.md/tasks/
MIT License
2.48k stars 230 forks source link

New "on completion" option: Keep X items #3092

Closed gffhcks closed 1 month ago

gffhcks commented 1 month ago

⚠️ Please check that this feature request hasn't been suggested before.

🔖 Feature description

Right now, I have two choices for completed recurring tasks:

I would like a third option: 🏁 keep X, where X is an integer.

✔️ Solution

Because 1 previous item is retained, I can see the completed task in my query view for the day.

Similarly: I can set the task to 🏁 keep 7. Now I can see how consistently I've completed the task during a weekly review.

❓ Alternatives

Archiving tasks on completion to another note file, or a tool for cleaning them up (say, "run this to delete any completed items older than X days"), would help with many of these use cases. I do think this is distinct enough to be useful in its own right, though, even if it's only for seeing your task progress during the day.

📝 Additional Context

No response

claremacrae commented 1 month ago

Do you have any ideas about how this could be implemented, given that task lines are independent entities?

claremacrae commented 1 month ago

Because 1 previous item is retained, I can see the completed task in my query view for the day.

A new feature isn't needed for this particular case, though.

I just phrase my daily note to search for any recurring tasks that were created today and have onCompletion is delete...

claremacrae commented 1 month ago

Do you have any ideas about how this could be implemented, given that task lines are independent entities?

I'll leave this open a day or so more, in the hope that you have time to reply...

claremacrae commented 1 month ago

Do you have any ideas about how this could be implemented, given that task lines are independent entities?

I'll leave this open a day or so more, in the hope that you have time to reply...

Closing. Will re-open if you have time to reply.