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

Tasks not working #42

Closed Emphazed closed 1 year ago

Emphazed commented 1 year ago

Hello!

I tried different configuration, apprently no error in the console maybe I am missing something. May it be a conflit with other plugin? Archiver seem to not be be working at all, neither with archive under headings or in Archive to a separate file. I really would like to make it work, thanks

Picture of Archiver config: image

Picture of the name of my file I would like to Archive to: image

My current plugins where there could be a conflict; image image

My console, no additional conflict when I try to archieve tasks (only some coming from fleeting notes): image

And the file I would like to paste them to: image

Warmly

ivan-lednev commented 1 year ago

Hello, @Emphazed,

Please describe what you see when you try to archive tasks. Do tasks disappear from the file? Does a notification of some sort appear? Or just nothing happens?

Have you tried to reinstall the plugin?

BTW, you've missed the point with the placeholders in the config. If you want to archive all the tasks to a specific file, you should write just the file name: Archive tasks instead of {{Archive tasks}} (archive). You can use placeholders to send tasks to a file that includes the name of the current file. Say, if you're in tasks.md and your archive file path is {{sourceFileName}} (archive), the tasks will get sent to `tasks (archive).md.

Emphazed commented 1 year ago

Thanks Ivan for your quick reponse it's higly appreciated.

It seems that nothing happend.

Yes I tried reinstall the plugin 3 times, I will try correcting the pass, effectively I missed the point, sorry I am not a programmer so not really use to specific typology.

Yes I am trying to make it disappear from the file and go to another file,

I tried correcting the pass like: image

To make it go in the following file: image

But nothing seems to happen, The console show no additional error after trying to archive.

Let me know if I can give you any more details which can help you to help me trying to find the issue, your plugin seems really cool!

Thanks,

Warmly

ivan-lednev commented 1 year ago

For starters, please share your config and I'll try to reproduce the issue. You can find it here: <path to your vault>/.obsidian/plugins/obsidian-task-archiver/data.json.

Please also send an example of a file in which the plugin doesn't work. You could create a file with a single completed task and see if it works there.

Are you using the command palette to run the archiver? Which command are you using?

Emphazed commented 1 year ago

Okay thanks my issue was just a misundestanding of your plugin, I thought that:

image

Was automatically archiving the task whitout running the command?

The plugin effectively work.

Is there a way to archive the task whit just checking the task?

Thanks for your support

ivan-lednev commented 1 year ago

Right now the closest thing to it is the command: Toggle task done and archive it. You can assign it to a hotkey and press the key when the cursor is on a line with a completed task. I'm going to add mouse support later.

Emphazed commented 1 year ago

Thanks sir!

Hope to see this feature added in the future if it's not to hard for you to implement!

I am all good, I think this topic could go to archive as well ^^

Thanks for your support and the plugin!

Cheers