2 Commits
Author SHA1 Message Date
shinalok 800f42eab1 add habit leveling/XP system, explicit fail marking for missed habits, and scrollable habit tabs
- Habits and the account now accumulate XP and levels from check streaks, with
  streak/level-up celebration banners and push notifications.
- The "yesterday missed" banner on /today now lets a habit be explicitly marked
  failed (not just checked done), backed by a new HabitLog.status column so
  completion-rate/streak calculations never count a failed day as done.
- The habit management tabs scroll horizontally on narrow screens instead of
  wrapping to two lines, with a pure-CSS edge shadow indicating more content.
2026-07-20 18:18:56 +09:00
shinalok d0dd530e26 add retroactive check for yesterday's missed habits on /today
Users often only realize a habit was missed the next day; a same-day-only
check made it impossible to record it after the fact.
2026-07-17 20:15:38 +09:00