plainorg / flathabits

Flat Habits for iOS support
0 stars 0 forks source link

Implement a "Habit score" #2

Open kaiwei opened 1 month ago

kaiwei commented 1 month ago

From the highly popular open source app Loop Habit Tracker. https://github.com/iSoron/uhabits

Loop has an advanced formula for calculating the strength of your habits. Every repetition makes your habit stronger and every missed day makes it weaker. A few missed days after a long streak, however, will not completely destroy your progress, unlike many other don't-break-the-chain apps.

Would it be possible to implement the same for Flat Habits?

xenodium commented 1 month ago

Ah yeah. Been there myself. Missing one day and resetting a long streak can be quite demotivating.

We have a similar (gentler) value in Flat Habits we can focus on (Commitment). You can view it in the calendar view (tap on habit text) or view for all habits (menu > view all habits or just tap on the app title).

I've also been meaning to save the longest streak for each habit.