feat(gui): sync milestone gamification with celebration popup and stats card#46
Merged
Merged
Conversation
Track lifetime activity/workout uploads, show rank progress and milestone celebrations, and surface Ko-fi links in the header, About, and sync tab. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Show a support dialog from the header coffee icon so Ko-fi opens only when the user chooses to proceed. Co-authored-by: Cursor <cursoragent@cursor.com>
Place the lifetime stats card below the activity log and drop celebration popups at 1 and 10 transfers. Co-authored-by: Cursor <cursoragent@cursor.com>
Expose a sync-page dev panel when INTERVALSSYNC_DEV_GAMIFICATION=1 to simulate uploads, reset stats, and preview milestone popups. Co-authored-by: Cursor <cursoragent@cursor.com>
Use clearer transfer-count wording and a softer Ko-fi ask in milestone celebration dialogs. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LIFETIME SYNCSeyebrow, rank pill, activity/workout breakdown, and a goal gauge (Next milestone/N to go) over the progress bar.INTERVALSSYNC_DEV_GAMIFICATION=1) to preview/reset milestones and stats.Notes
ignore_interactions=Trueso they never block the dialog buttons.Test plan
uv run pytest -q(offline; covers gamification logic + config persistence)INTERVALSSYNC_DEV_GAMIFICATION=1 uv run intervalssync-gui-> use the dev panel to preview each milestone popup (confetti + number pop) and verify the stats card updates live after bumps/resets