Skip to content

Release 1.3.0 — Play Streaks & Activity Heatmap - #4

Merged
abrahampo1 merged 2 commits into
mainfrom
release/1.3.0
May 3, 2026
Merged

Release 1.3.0 — Play Streaks & Activity Heatmap#4
abrahampo1 merged 2 commits into
mainfrom
release/1.3.0

Conversation

@abrahampo1

@abrahampo1 abrahampo1 commented May 3, 2026

Copy link
Copy Markdown
Owner

Summary

Promotes the work pushed to release/1.3.0 (already published as a GitHub release) into main.

The headline feature for 1.3.0 is play tracking on the home screen:

  • Play streaks per game — flame badge on hero panel, sidebar, profile and home recent-games when a streak is active (≥ 2 consecutive days). Streak math runs locally in LevelDB, no remote sync.
  • "Your Streaks" section on home with a featured top-streak card (animated flame, pulsing glow, animated number) and a best-ever record chip.
  • Play Activity Heatmap — GitHub-style 53×7 grid below the streaks section, coloured by daily intensity (1/2/3/4+ games), with per-day tooltips listing exactly which games were played.
  • i18n — full English and Spanish coverage for all new strings.

This branch also rolls in everything queued since 1.2.0 was tagged (catalogue overhaul, settings redesign, Japanese locale, Real-Debrid IPv4 fix, etc.).

Test plan

  • CI green for release/1.3.0 (already passed: https://github.com/abrahampo1/hydra/actions/runs/25288604567)
  • Smoke-test installer artefacts from the published release on Windows and Linux.
  • Open a game once → no streak badge yet (current = 1, threshold = 2).
  • Force lastStreakDate to yesterday in LevelDB, reopen game → flame badge shows "2 días" on hero, sidebar, home and profile.
  • Skip a day, reload home → badge disappears (display streak = 0), longestStreak retained.
  • Heatmap section renders with at least one coloured cell after launching any game; tooltip lists the correct game(s) per day.

🤖 Generated with Claude Code

abrahampo1 and others added 2 commits May 3, 2026 21:28
- Track per-game streak (currentStreak, longestStreak, lastStreakDate) and rolling 365-day play history (playedDates), persisted in LevelDB and updated on game launch.
- New StreakBadge component shown in hero panel, sidebar items, home recent games and profile recent games (full and compact variants).
- New "Tus rachas" home section with featured top-streak card, animated flames and best-ever record chip.
- New PlayHeatmap component (GitHub-style 53×7 grid) with per-day tooltips listing games played; rendered as a "Play activity" section on home.
- Translations added in en/es.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@abrahampo1
abrahampo1 merged commit 969c240 into main May 3, 2026
2 of 4 checks passed
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