Skip to content

feat(store): add Daily Rank screenshot slot with a fuller marketing fixture - #994

Merged
wei18 merged 2 commits into
mainfrom
worktree-agent-ad4952194a37606fa
Aug 6, 2026
Merged

wei18 merged 2 commits into
mainfrom
worktree-agent-ad4952194a37606fa

Conversation

@wei18

@wei18 wei18 commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a 02b-rank slot to build-ascspec-screenshots.py for the shared Daily Rank screen (part of feat(gamecenter): friends leaderboard — surface the friendsAllTime slice in an app-owned view #983) — en-only preview, sorted right after 02-daily without renaming any existing slot.
  • The original 3-row DailyRankView snapshot fixture crops to a mostly-empty panel once the dead space before the "Open Game Center" button is excluded. Fixed at the source: DailyRankViewTests.swift (both packages) gains a second populatedFull fixture — 10 ranked entries, local player mid-list at rank 5 — used only for this marketing slot. The original 3-entry fixture is untouched (stays a regression test).
  • iphone-6.9/mac use native populatedFull baselines; ipad-13 reuses the iPhone baseline (no dedicated iPad DailyRank snapshot exists) at capped (never-upscale-past-1:1) scale.
  • No Direction-B callout chip for this slot — the 10-row list is dense/evenly-spaced, so any anchor would sit on a rank row or restate the subhead. Documented as a deliberate skip.
  • docs/app-store/screenshot-strategy.md gets a new section for the slot.

Copy (en-only, pending Leader approval + ai-translated-localization pass — registered in PENDING_TRANSLATION_SLOTS)

App Headline Subhead
Sudoku World and Friends, every day. See exactly where you land — daily rank, your time, right there.
Minesweeper World and Friends, every day. See exactly where you land — daily rank, your solve time, right there.

Every claim is visible in the frame (World/Friends toggle, numbered daily ranks, per-row time, "You" highlight) or a plain outcome statement — no claim of seeing friends' scores since the captured tab is World.

Test plan

  • swift test --package-path Packages/SudokuKit --filter DailyRankViewTests — 7/7 passed (new populatedFull baselines recorded, then re-verified green)
  • swift test --package-path Packages/MinesweeperKit --filter DailyRankViewTests — 7/7 passed
  • swiftlint lint --strict on both touched test files — 0 violations
  • python3 scripts/build-ascspec-screenshots.py then --verify-only — all green, RGB/no-alpha, exact device pixel sizes
  • git status after generation shows only the 6 new 02b-rank.png frames + script + doc (existing 01-home.png outputs regenerate with unrelated upstream baseline drift from feat(gamecenter): shared Daily Rank screen (part of #983) #989/fix(gameappkit): hide dead open game center button when signed out #990 — reverted, not part of this diff)
  • All 6 new frames opened at full resolution — legible, no clipping/collision, "You" row visible mid-list

Part of #983

🤖 Generated with Claude Code

…ixture

Adds `02b-rank` to build-ascspec-screenshots.py (part of #983) — the shared
Daily Rank screen (World/Friends toggle, daily ranks, "You" highlight) as an
en-only preview slot, sorted right after 02-daily without renaming any
existing slot. The original 3-row DailyRankView snapshot fixture crops to a
mostly-empty panel once the dead space before the "Open Game Center" button
is excluded, so DailyRankViewTests.swift (both packages) gains a second,
10-row `populatedFull` fixture (local player mid-list) used only for this
marketing slot; the original fixture stays untouched as a regression test.
IOS_GAP_TRIM/MAC_GAP_TRIM trim the crop to the list, excluding the button.

Registered in PENDING_TRANSLATION_SLOTS pending Leader sign-off on the en
copy and an ai-translated-localization pass.

Co-Authored-By: Claude Fable 5 <[email protected]>
CR on #994: twelve citations pointed at #993, an unrelated review-notes
PR, and no issue matched the described work. Fixed per site rather than
by blanket replace (a prior round proved mixed correct/incorrect refs are
the norm): feature/tracking context now cites #983, screenshot-composition
decisions (gap-trim values) cite #995.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@wei18
wei18 merged commit 77dffa1 into main Aug 6, 2026
5 checks passed
@wei18
wei18 deleted the worktree-agent-ad4952194a37606fa branch August 6, 2026 03:07
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