Crazy-Marvin / ToDont

The reverse to-do list
https://crazymarvin.com/todont
Apache License 2.0
142 stars 26 forks source link

Set habit to "avoided" automatically #40

Open cloudrac3r opened 3 years ago

cloudrac3r commented 3 years ago

Background

Ideally I'd like to get to the point where I don't even think about my bad habits anymore, a point where they don't tempt me.

Additionally, some habits can be avoided (like "don't sleep in past X time"; once you get up, it's avoided) but some habits cannot be marked as avoided in the app because they might later be "done" at any time in the day (like "don't buy snack food at the shops"; I cannot ever mark this as "avoided" because I might go to the shops later that day).

Feature request

There ought to be a mode where, if a habit is not marked as "done", then after the day ends, it is automatically recognised as "avoided".

This is useful for "don't buy snacks at the shops", because if I never marked it "done", then it must have been "avoided" because I didn't buy snacks.

It's also useful for when I get past a bad habit and do not think about it, I just avoid it automatically. Since I do not think about it, I do not think to open the app and mark it as avoided.

I don't know whether it would be best to enable this mode for all tasks or only for specific ones.

CrazyMarvin commented 3 years ago

Hey, thanks for your idea. 👍 I was thinking about something like that too. I am not sure how to implement it though.

cloudrac3r commented 3 years ago

Maybe it could be computed when the weekly report screen is opened? For each habit, see if it was "done" that day, and if not, it should appear as "avoided" in the report.