Skip to content

Pre-release fixes: narrow-phone language picker, resume from background, warm-up palette - #87

Merged
kevsaj merged 1 commit into
mainfrom
prerelease-fixes
Nov 25, 2026
Merged

kevsaj merged 1 commit into
mainfrom
prerelease-fixes

Conversation

@kevsaj

@kevsaj kevsaj commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Requested by Kevin · project thread

Pre-release sweep of main (fresh install, Floors 1 to 5 and the early-player extras, warm-up, French, 360px and 334px phones, larger text, Colourful mode, settings). Everything new from PRs #79 to #86 works. Three real bugs found, fixed here. No new features.

Fixes

  1. Settings > Language picker stuck out of its row on phones narrower than about 350px (e.g. Kevin's dad's phone at 334px), in English and French. The select now shrinks (min-width: 0, max-width: 65%, ellipsis). src/styles.css
  2. Coming back from the background didn't count as a launch. Phones keep the app suspended for days. Before: the come-back nudge only moved on cold launch or a new clear, so a player who resumed the app on day 2 (and only played the warm-up) still got the "come back" notification that evening. Also, a title screen left open overnight didn't show the new day's warm-up/daily until something re-rendered. Now visibilitychange (visible) re-runs refreshNudge and re-renders when the date changed. src/App.tsx
  3. Day-2 warm-up palette showed greyed-out jump / pick up / drop / activate to players who'd only cleared Floor 1. The warm-up now uses the same short palette as Floors 1 to 5. src/editor/firstFloors.ts (+ test)

Checked

  • tsc -b clean; vitest for editor, daily, comeback: 58 passed. Full suite runs in CI.
  • Playwright on a production build: language picker inside the row at 334px FR + larger text; day rollover while backgrounded now shows the warm-up; warm-up palette shows only forward/turns.
  • The nudge itself is phone-only, so it still needs a device check.

Generated by Claude Code

…nd, warm-up palette

- Settings > Language: the picker shrinks on phones narrower than ~350px instead of sticking out of its row.
- Coming back to the app from the background counts as a launch: the come-back nudge moves to tomorrow (so it never arrives on a day the player opened the game), and a new day re-renders so the warm-up and daily show without a restart.
- The day-2 warm-up shows only its own commands, like Floors 1 to 5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HnC1cyurdig2aS4sMHx8pK
@kevsaj kevsaj self-assigned this Nov 25, 2026
@kevsaj
kevsaj merged commit 2a188b4 into main Nov 25, 2026
3 checks passed
@kevsaj
kevsaj deleted the prerelease-fixes branch November 25, 2026 00:58
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