Skip to content

Daily streak: track consecutive claim days#70

Closed
code418 wants to merge 1 commit intomasterfrom
feature/daily-streak
Closed

Daily streak: track consecutive claim days#70
code418 wants to merge 1 commit intomasterfrom
feature/daily-streak

Conversation

@code418
Copy link
Copy Markdown
Owner

@code418 code418 commented Apr 6, 2026

Summary

  • Adds lib/streak_service.dart — reads/writes a streak counter in Firestore (users/{uid}/streak)
  • Updates _claimPostbox() in the Claim screen to call updateStreakAfterClaim() on success
  • Adds a streak display (StreamBuilder with 🔥 icon) in the initial Claim view

Files changed

  • lib/streak_service.dart — new service
  • lib/claim.dart — imports streak_service.dart; calls streak update on claim; adds streak UI in _buildInitial()

Merge notes

⚠️ Conflicts with feature/postman-james-strip (lib/claim.dart — both add an import on the same line).
Resolution: keep both imports (james_strip.dart and streak_service.dart) side by side.

@code418 code418 force-pushed the feature/daily-streak branch from 256e227 to 3ee116a Compare April 7, 2026 21:19
@code418 code418 force-pushed the feature/daily-streak branch from 3ee116a to f2e1baa Compare April 7, 2026 21:25
@code418
Copy link
Copy Markdown
Owner Author

code418 commented Apr 12, 2026

All changes from this branch have been implemented in subsequent commits on master — this PR is superseded and no longer needed.

@code418 code418 closed this Apr 12, 2026
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.

1 participant