Skip to content

What's new card after an update (v31) - #43

Merged
maidulcu merged 1 commit into
mainfrom
feature/whats-new
Nov 10, 2026
Merged

maidulcu merged 1 commit into
mainfrom
feature/whats-new

Conversation

@maidulcu

Copy link
Copy Markdown
Contributor

Players who keep playing now find out what changed.

  • What's new card: shows once on the start menu after an update. It lists the news, links to the features page, and has a Got it! button (plus ✕ / tap outside on phones).
  • Only for returning players: someone with something already saved. Brand-new players never see it, since everything is new to them.
  • First news (v31): pet armor, pet backpack, pet beds and doghouses, and the fixes (Bit on iPhone, updates arriving straight away).
  • v31: sw.js is bumped so this release has its own version number in insights (the last two releases both used v30).
  • How to announce a release: bump VERSION in sw.js and add an entry with the same number at the top of NEWS in src/news.js. Bug-fix-only releases can skip the news. The README says this too.
  • Smoke test: the card is hidden for new players and shown once to returning ones, and the news is never ahead of sw.js. All smoke checks pass locally.

Tried in the browser at desktop and phone size: the card shows for a returning player, "Got it" hides it for good, and there are no console errors.

🤖 Generated with Claude Code

Returning players see a short card once after an update, listing what's new
(this time: pet armor, pet backpack, pet beds, and the iPhone Bit fix).
Brand-new players don't see it. Each release gets its own version: v31.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maidulcu
maidulcu merged commit 83f19b5 into main Nov 10, 2026
1 check passed
@maidulcu
maidulcu deleted the feature/whats-new branch November 10, 2026 14:37
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.

2 participants