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

[Feature] automatically remove completed task in one specific file #4

Closed imeed166 closed 2 years ago

imeed166 commented 3 years ago

The ability to define a file in the setting where all the tasks that are completed are immediately (or after delay) removed automatically without any interaction from the user.

ivan-lednev commented 3 years ago

Hello, @imeed166, Thank you for your input. The issue is partially addressed in 0.3.0: now there is an option to define an archive file. You still need to trigger the command manually, but I'm planning to add automatic archiving in a future release.

imeed166 commented 3 years ago

now there is an option to define an archive file.

Thank you, I've actually used this feature to make a macro to delete the new file after moving the completed tasks. So problem resolved.

but I'm planning to add automatic archiving in a future release.

I'm so hyped, thank you for this too.

imeed166 commented 2 years ago

Hi again @ivan-lednev, I found a new way to delete tasks, and it requires interoperability between this plugin and expiring notes.

Could you add an option for the created archive file, to include the below metadata upon creation? This way, expiring notes can recognize and delete it when the date is due.

expires: YYYY-MM-DD

Here is the comment where your plugin was mentioned in expiring note's related discussion.

ivan-lednev commented 2 years ago

Hello, @imeed166,

I've added a new command for deleting completed tasks in 0.4.0. I'm also going to track in a separate ticket the feature you mentioned above.

ivan-lednev commented 2 years ago

The template issue is tracked here: #10