obsidian-tracker icon indicating copy to clipboard operation
obsidian-tracker copied to clipboard

Can obsidian-tracker work with obsidian-tasks?

Open shihtiy-tw opened this issue 2 years ago • 4 comments

Hi,

I have been using this plugin "obsidian-tasks" for a while and I will use filter to get all the tasks from different notes to my daily notes.

For example, I will use the following method to filter out my undone tasks in my daily note:

```tasks
not done
due on 2021-09-02
is not recurring
```

Recently, I found this great plugin and I want to record my daily tasks with charts.

However, after play around "obsidian-tracker", I found that it will find the task in daily note while I use "obsidian-tasks" to filter tasks from other notes to my daily notes and thus "obsidian-tracker" cannot find the tasks from my daily notes.

Does anyone try similar method? How do you make these two plugins work together?

Thanks!

shihtiy-tw avatar Sep 14 '21 21:09 shihtiy-tw

Hi @shihtiy-tw,

Tracker cannot extract data from a rendered block. (They are rendered as HTML in the preview mode) So you have to use Tracker to extract data directly from the the notes where tasks reside. That means all the filtering should be done in Tracker.

Unfortunately, we don't have the function to do filtering yet. But, it's on the road map already. :)

pyrochlore avatar Sep 15 '21 05:09 pyrochlore

Hi @pyrochlore,

Thank you for checking this issue and provide the answer.

Really look forward to the filtering function for obsidian-tracker.

shihtiy-tw avatar Sep 15 '21 16:09 shihtiy-tw

This is how habits looks in Life-Disciplines-Projects.

  • [ ] #task [Morning] Floss Teeth 🔁 every day 📅 2021-10-30
  • [x] #task [Morning] Floss Teeth 🔁 every day 📅 2021-10-29 ✅ 2021-10-29
  • [x] #task [Morning] Floss Teeth 🔁 every day 📅 2021-10-28 ✅ 2021-10-28

I think it will be incredible to connect tracker with tasks! Maybe it's possible to use dataview API as it can annotate inline tasks and already understand common Tasks metadata.

cogscides avatar Oct 29 '21 23:10 cogscides

I would especially like to use this with the calendar view. Maybe even create something like the theme system journal?

image

psarras avatar Jan 24 '22 12:01 psarras