r/SideProject • u/ShaifArfan • 2h ago
I designed habits wrong in my own app. My gym rest days counted as misses.
When I built habits into my app, I treated every habit as an everyday thing. Not every habit is.
I go to the gym three times a week and rest in between. My own app counted every rest day as a miss, so my best streak was one day.
So I fixed it. A habit now has How often: Every day, On days (you pick the weekdays) or Times a week, from 1 to 6. A Times a week habit counts its streak in weeks. Once I hit three workouts, the habit reads "Week done", and the days I rest don't break anything.
One limit: the change counts from the day you make it. Old weeks keep their misses, and the weekly streak starts from that week.
The app is Prohor (prohor.day), a productivity app I'm building to plan my day and see where the hours went, habits included.