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

Feature Request: Activity Tracker Graph and/or Calendar

Open jeloi opened this issue 3 years ago • 18 comments

Hey there, just discovered this - thanks for the great plugin!

I wanted to make a feature request. For a lot of habits, the main thing we want to track is just completion on a given day. The best visual for this is actually not a bar/line graph, but a calendar view so you get a visual sense of streaks + context on days of the week. It'd be great if we could add support for this, either in a typical vertical calendar format, or something like the Github activity view: image

There's another plugin that is somewhat related you might look at for inspiration: https://forum.obsidian.md/t/obsidian-activity-tracking-specific-project-or-vault/12873

Hope you take it into consideration!

jeloi avatar May 30 '21 03:05 jeloi

Thanks for the feedback. I totally agree with that. We need a calendar view or heat map (the graph you mentioned) to track the number of occurrences.

In fact, it's already on the road map and I will make them happen in my spare time one by one.

pyrochlore avatar May 30 '21 05:05 pyrochlore

A new output type 'month' was added in version 1.7.0, rendering a month view. The heat map will come later.

pyrochlore avatar Jun 21 '21 14:06 pyrochlore

@pyrochlore Would you mind adding support to show the text we track? Here is a prototype pic if you want to refer.

image

I think it will make calendar view more powerful that allows people to see their data in calendar!

Quorafind avatar Jun 22 '21 02:06 Quorafind

Hi @Quorafind,

Thanks for the feedback.

Currently, the month view only deals with data from one dataset (collected from one searchTarget). For your request, it needs to handle multiple datasets and yes, I think we need this feature.

To do that, we might need another 'mode' and parameters like 'symbol' or 'text' to accept a symbol for each searchTarget.

pyrochlore avatar Jun 22 '21 03:06 pyrochlore

@pyrochlore Yet, if you could make it handle multiple datasets, it must be perfect one.

But now, you could just handle single dataset to show it in a single calendar, which is enough for me. 😆

Quorafind avatar Jun 22 '21 09:06 Quorafind

I've been playing with this and am really impressed. For the month view, it's not possible to set the circle color based on the value, correct? For a mood tracker, for example, it would be great to have different color circles depending on the value of the tag.

jpmoo avatar Jun 25 '21 11:06 jpmoo

@jpmoo I am glad you asked about this.
I was working on a new parameter which will allow showing color based on the value. You may see the feature in the next version.

The current status of it image

pyrochlore avatar Jun 25 '21 13:06 pyrochlore

That's perfect!! Thank you!

jpmoo avatar Jun 25 '21 13:06 jpmoo

@jpmoo The 'color based on the value' feature was just released with version 1.8.0. @Quorafind Though displaying 'symbols' are not yet supported, this version do support switching between multiple targets in month view.

Here is an example of it. Enjoy tracking.

pyrochlore avatar Jul 04 '21 10:07 pyrochlore

Thank you! I’ll update today!

jpmoo avatar Jul 04 '21 11:07 jpmoo

This is excellent!

DA574A0E-8E7C-45C8-A8A6-9FD2A253D265

jpmoo avatar Jul 04 '21 16:07 jpmoo

Nice, can't wait to see the text showing feature.

Quorafind avatar Jul 05 '21 10:07 Quorafind

@Quorafind Working on the annotation feature, now it appears like this image Plan to release in the next version.

pyrochlore avatar Jul 30 '21 04:07 pyrochlore

@pyrochlore WOWOWOWOW!!!!!! 🎉🎉🎉🎉🎉 Would it support text OR just emoji?

Quorafind avatar Jul 30 '21 04:07 Quorafind

@Quorafind It will support any text including emoji. But now all texts of a day are in a single line, so long text or too many symbols will make it look messy. And the showing or hiding of texts depends on the value and threshold. No custom data yet.

Parameters for the rendering above image

And there will be a feature 'custom data' for people to add custom data manually, That will allow a text on a specific day.

pyrochlore avatar Jul 30 '21 06:07 pyrochlore

@Quorafind For the discussion about the annotation in month view, please move to #49. The feature of heatmap will come after that.

pyrochlore avatar Aug 07 '21 10:08 pyrochlore

Just wanted to say - incredible work here @pyrochlore. Thanks for taking the feedback and building this feature!

jeloi avatar Aug 18 '21 08:08 jeloi

Heatmap Calendar plugin should cover this heatmap-calendar-examples

Richardsl avatar Mar 11 '22 17:03 Richardsl