Skip to content

feat(math-flashcards): implement avatar, sharing, streaks, and data import#590

Merged
github-actions[bot] merged 1 commit into
mainfrom
math-flashcards-improvements-17332084061001559398
Jul 6, 2026
Merged

feat(math-flashcards): implement avatar, sharing, streaks, and data import#590
github-actions[bot] merged 1 commit into
mainfrom
math-flashcards-improvements-17332084061001559398

Conversation

@kkd16

@kkd16 kkd16 commented Jul 6, 2026

Copy link
Copy Markdown
Owner

This PR introduces several new features to the Math Flashcards app to improve user engagement and data portability.

  1. Social Sharing: A "Share to X" button has been added to the game summary screen, allowing users to quickly tweet their score and difficulty.
  2. Custom Avatars: Users can now set a custom emoji/text avatar in the settings menu. This avatar is displayed prominently in the header and persists across sessions via localStorage.
  3. Daily Streak: A daily streak counter has been added. It tracks consecutive days played using UTC calendar dates to avoid time-zone edge cases. The current streak is displayed in the main stats view.
  4. Data Import: To complement the existing export functionality, an "Import JSON" button is now available in the history section. Users can select a previously exported .json file to restore their history, favorites, run scores, and lifetime stats.
  5. JOURNAL.md: 12 new ideas were added to the backlog, and the 4 implemented features were marked as complete.

PR created automatically by Jules for task 17332084061001559398 started by @kkd16

…mport

- Added "Share to X" button to end-of-game summary.
- Implemented custom user avatar selection with localStorage persistence.
- Added a daily streak tracking system based on consecutive calendar days.
- Implemented "Import JSON" functionality to load user data/history.
- Updated JOURNAL.md to check off the newly implemented features.

Co-authored-by: kkd16 <112675076+kkd16@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Scope + lint + build passed.

@github-actions github-actions Bot merged commit daf2d28 into main Jul 6, 2026
2 checks passed
@github-actions github-actions Bot deleted the math-flashcards-improvements-17332084061001559398 branch July 6, 2026 21:50
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