ikuyarihS / obsidian-amazingmarvin-plugin

Simple plugin for Amazing Marvin
30 stars 7 forks source link

Feature Request: Optionally include completed tasks when pulling in tasks from Amazing Marvin using "Daily note" button #16

Open muness opened 3 years ago

muness commented 3 years ago

Currently, when you click Daily note in the Amazing Marvin pane, remaining tasks are added.

With my workflow, I actually would prefer the opposite, only the completed tasks.

Perhaps you'd could add an option in the config to include Complete tasks, Incomplete tasks or both?

ikuyarihS commented 3 years ago

Unfortunately, this is a limitation of Amazing Marvin API itself - it will only return incomplete tasks

amazingmarvin commented 3 years ago

I'll look into adding this to the API :).

cweagans commented 3 years ago

Could this info be pulled directly from CouchDB instead of through the API?

amazingmarvin commented 3 years ago

@cweagans This is possible but it's a bit of a pain since you either need to create an index or pull all the tasks. I will add an /api/doneItems endpoint but I'm currently working on finishing up a new version.