ivan-lednev / obsidian-task-archiver

Archive completed tasks in your Obsidian vault (plus other org-mode-like features)
MIT License
116 stars 12 forks source link

Suggestion: Do not consider lists (numbered, bullet point, ...) as not-done tasks when including subtasks for archiving. #47

Closed Glokta0 closed 1 year ago

Glokta0 commented 1 year ago

Hi! Thank you @ivan-lednev for creating this wonderful and versatile and modifiable tool! It makes life a lot easier. There is one minor thing that stops me from being able to use it to its full potential. In my workflow, I often create bullet-points as a indented sub-level of tasks. These help me to keep track of notes as to how/why/... the task was completed.

However, if I enable

Archive a task only if its subtasks are done

which I find immensely useful to not flood my archive in an unstructured way, these bullet points seem to represent "not-done tasks", meaning the parenting task does not get archived even though its completed.

I use the tasks-plugin including a hashtag to denote tasks, and yet, these (not-tagged) bulletpoints count as "not-completed". Thus, given the setting above being enabled, the task will not get archived.

Is there any chance this is problematic for others, too? It feels like a bug, because they are bullet points, not tasks.


Example of tasks that are not archived:

Example of task that is archived


Task 3 would be expected to work, and Task 2 would be expected not wo work.

However, Task 1, I would like to archive also, as it does not include any open To-Dos, but only "notes".

However, this might be subjective and is impacted by my personal workflow. Take it as an inspiration and decide whether you would think such a change valuable.

Cheers, and again, thanks for creating this plug-in!

ivan-lednev commented 1 year ago

Hi, @Glokta0,

Thank you for your input! This is definitely a bug, and it's fixed in 0.23.2.