vran-dev / obsidian-contribution-graph

generate interactive gitxxx style contribution graph for obsidian, use it to track your goals, habits, or anything else you want to track.
Apache License 2.0
244 stars 5 forks source link

How to make click on the cell to mark a habit as complete? #79

Open iamhenry opened 5 months ago

iamhenry commented 5 months ago

I'm new to obsidian and i was wondering how i can make it so that when i click on a cell it automatically marks it as complete?

Ideally i would interact with the chart itself instead of creating a new note every single day to mark my habit as complete

is this possible? if so, what's the code for this? 😊

vran-dev commented 4 months ago

it's impossible now, because click event not work when cell data is empty.

but it's a good idea, i would try to make it possible in api mode

iamhenry commented 4 months ago

thank you