Blocship / star_book

A digital diary and mood tracking app that helps you in keeping track of your mood and productivity throughout the month/year.
https://www.starbook.dev
MIT License
137 stars 110 forks source link

The streak should be positive or zero. [Backend Issue] #470

Open hashirshoaeb opened 1 year ago

hashirshoaeb commented 1 year ago

Streaks Algorithm is not working correctly. it goes in negative as well.

What should be the streak algorithm?

Number of days user consistently writing journal. if user missed a day, streak reset to zero.

affanminhas commented 1 year ago

I wanna do this

AbdullahAhmedSoomro commented 1 year ago

How to reproduce?