pyrochlore / obsidian-tracker

A plugin tracks occurrences and numbers in your notes
MIT License
1.35k stars 231 forks source link

Can obsidian-tracker work with obsidian-tasks? #71

Open shihtiy-tw opened 3 years ago

shihtiy-tw commented 3 years ago

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!

pyrochlore commented 3 years ago

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. :)

shihtiy-tw commented 3 years ago

Hi @pyrochlore,

Thank you for checking this issue and provide the answer.

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

cogscides commented 3 years ago

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

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.

psarras commented 2 years ago

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

image