Skip to content

Daily streak#239

Open
Lynndabel wants to merge 7 commits intoMindBlockLabs:mainfrom
Lynndabel:daily-streak
Open

Daily streak#239
Lynndabel wants to merge 7 commits intoMindBlockLabs:mainfrom
Lynndabel:daily-streak

Conversation

@Lynndabel
Copy link
Contributor

@Lynndabel Lynndabel commented Feb 19, 2026

Closes #161
This PR adds daily streak tracking across the backend and frontend.

Backend
Added GET /streaks to fetch the authenticated user’s streak
Added POST /streaks/update to update streak after daily quest completion (idempotent per day)
Tracks currentStreak, longestStreak, lastActivityDate, and streakDates
Wired controller/service into the StreakModule
Frontend
Added streakApi client and Redux streakSlice (fetch + update thunks)
Added useStreak() hook and registered the streak reducer in the store

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Daily Streak Tracking System (Logic + Persistence)

1 participant

Comments