[PR #1608] [MERGED] fix(gacha-forge): keep Welcome Gift Claim reachable on mobile #1600

Closed
opened 2026-10-24 04:02:32 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1608
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/gacha-welcome-gift-mobile


📝 Commits (3)

  • 7f453f3 chore: claim mobile Welcome Gift repair
  • 8384f21 fix(gacha-forge): keep Welcome Gift Claim reachable on mobile
  • 5a4ac99 fix(gacha-forge): preserve Claim touch target on hybrid devices

📊 Changes

15 files changed (+238 additions, -24 deletions)

View changed files

➕ artifacts/gacha-forge-1.10.1.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+6 -6)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/gacha-forge/CHANGELOG.md (+4 -0)
📝 packages/gacha-forge/README.md (+2 -0)
📝 packages/gacha-forge/bundle-patches.json (+13 -0)
📝 packages/gacha-forge/client.js (+9 -2)
📝 packages/gacha-forge/manifest.json (+3 -3)
📝 packages/gacha-forge/src/browser-presentation.mjs (+7 -0)
➕ tests/package-gacha-forge-welcome-gift.e2e.ts (+148 -0)
📝 tests/playwright.gacha-forge.config.ts (+16 -1)

📄 Description

Linked issue

Closes #1607. Owned by @SpicyMarinara (Codex).

Why this change

On a short landscape phone, Welcome Gift reserves most of its height for artwork and squeezes its reward grid into the remainder. The reward cards keep their intrinsic image/text height and overflow into Claim. Shipped 1.10.0 reproduces this overlap on mobile Chromium and WebKit; the button is only 17.5px tall at default text size. Its center remained tappable in the deterministic fixture, so this proof establishes overlap/clipping rather than every reported blocked-tap case.

What changed

  • Keep New World's reward track/grid at their intrinsic minimum height and let that event pane scroll when space runs out.
  • Give only this event's Claim button a 44px minimum height whenever a coarse pointer is available, including devices whose primary pointer is fine. Other event layouts and the existing portrait rotation notice retain their behavior.
  • Publish Gacha Forge 1.10.1 with rebuilt client, reversible bundle ledger, version history, exact ZIP and catalog/notes lanes. No server code, permissions, storage or compatibility changes.

Validation

Before/after browser gallery, with original PNG hashes. Published raw HTML/manifest and all eleven embedded PNG hashes were verified against local originals.

  • Required npm run check, catalog lanes, package locales, archive/catalog integrity, release-note regression and git diff --check pass. Existing lint warnings remain; no errors.
  • Existing location/landscape and bundle-source replay regressions pass, plus all 29 player-choice regression cases.
  • Initial full package browser suite at 8384f211a: 21/21 pass in desktop Chromium, mobile Chromium and mobile WebKit, using the actual installed ZIP on an isolated Engine. The new regression retains the portrait notice, rotates to 667×320, verifies rewards do not reach the Claim footer, full-button visibility, hit testing and real tap-to-handler requests at 100% and 175% text size. Its unchanged layout assertion fails on 1.10.0 in both mobile browsers; desktop passes.
  • Final repair browser regression: 4/4 pass on desktop Chromium, mobile Chromium/WebKit and a native Chromium hybrid-pointer configuration (pointer: fine, any-pointer: coarse). The unchanged 44px assertion fails at 17.5px against the previous 8384f211a ZIP. All four runs also verify ordinary Home chrome remains visible and the new entry renders in the shipped Settings → Changelog screen. This is controlled browser emulation, not a physical convertible.
  • Rebuilding reproduces all 16 generated output hashes byte-for-byte. Catalog changes affect only Gacha Forge.
  • At 8384f211a, a separate disposable fixture exercises the real Engine manager/API/runtime: exact 1.10.0 install/activation, 1.10.1 update with restart required, offline restart activation, uninstall/restart with route removal, and preservation of an unrelated chat. Catalog/artifact downloads and claim responses are controlled fixtures; no paid model or image provider was used.
  • Local CodeRabbit completed on initial head 8384f211a02b73c5c1dbea4ed5e1f1bc5acb0f71: 14 reviewed files, zero findings. The final review repair at 5a4ac9973 is separately reviewed against that head: 8 reviewed text files, zero findings. The binary ZIP was excluded from text review and separately verified by archive/catalog checks and the earlier lifecycle proof. The final rebuilt ZIP is exercised by all four final browser cases; only the responsive CSS query changes its payload from that lifecycle-tested candidate.

Manual verification gaps

Browser checks use device emulation, not physical phones. Exact ZIP installation/upgrade was exercised through the Engine manager/API fixture, not a manual Download Agents browser flow. Claim requests reach the shipped handler but use a deterministic reward response; live-world reward accounting was not changed or revalidated. The manager/API upgrade/uninstall lifecycle fixture ran before the hybrid-pointer-only CSS repair; it was not repeated for that query change.

  • Manually verify Welcome Gift scrolling and Claim on a physical phone in landscape.
  • Manually verify install/update through Download Agents, restart and removal on a physical installation.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/1608 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/23/2026 **Status:** ✅ Merged **Merged:** 10/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/gacha-welcome-gift-mobile` --- ### 📝 Commits (3) - [`7f453f3`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7f453f3e9ca8bfe55ab8c34b0358cf148123b849) chore: claim mobile Welcome Gift repair - [`8384f21`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8384f211a02b73c5c1dbea4ed5e1f1bc5acb0f71) fix(gacha-forge): keep Welcome Gift Claim reachable on mobile - [`5a4ac99`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5a4ac99737fc60ef15d7d0ad9f19b5a013e7eeca) fix(gacha-forge): preserve Claim touch target on hybrid devices ### 📊 Changes **15 files changed** (+238 additions, -24 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/gacha-forge-1.10.1.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/gacha-forge/CHANGELOG.md` (+4 -0) 📝 `packages/gacha-forge/README.md` (+2 -0) 📝 `packages/gacha-forge/bundle-patches.json` (+13 -0) 📝 `packages/gacha-forge/client.js` (+9 -2) 📝 `packages/gacha-forge/manifest.json` (+3 -3) 📝 `packages/gacha-forge/src/browser-presentation.mjs` (+7 -0) ➕ `tests/package-gacha-forge-welcome-gift.e2e.ts` (+148 -0) 📝 `tests/playwright.gacha-forge.config.ts` (+16 -1) </details> ### 📄 Description ## Linked issue Closes #1607. Owned by @SpicyMarinara (Codex). ## Why this change On a short landscape phone, Welcome Gift reserves most of its height for artwork and squeezes its reward grid into the remainder. The reward cards keep their intrinsic image/text height and overflow into Claim. Shipped 1.10.0 reproduces this overlap on mobile Chromium and WebKit; the button is only 17.5px tall at default text size. Its center remained tappable in the deterministic fixture, so this proof establishes overlap/clipping rather than every reported blocked-tap case. ## What changed - Keep New World's reward track/grid at their intrinsic minimum height and let that event pane scroll when space runs out. - Give only this event's Claim button a 44px minimum height whenever a coarse pointer is available, including devices whose primary pointer is fine. Other event layouts and the existing portrait rotation notice retain their behavior. - Publish Gacha Forge 1.10.1 with rebuilt client, reversible bundle ledger, version history, exact ZIP and catalog/notes lanes. No server code, permissions, storage or compatibility changes. ## Validation [Before/after browser gallery](https://gist.githack.com/SpicyMarinara/21859e6c6cd5655286a0f7c33917d5f0/raw/fb4225a3cc0e123b5248057dbc6ba40bcc78abc2/marinara-gacha-welcome-1608.html), with [original PNG hashes](https://gist.github.com/SpicyMarinara/21859e6c6cd5655286a0f7c33917d5f0). Published raw HTML/manifest and all eleven embedded PNG hashes were verified against local originals. - Required `npm run check`, catalog lanes, package locales, archive/catalog integrity, release-note regression and `git diff --check` pass. Existing lint warnings remain; no errors. - Existing location/landscape and bundle-source replay regressions pass, plus all 29 player-choice regression cases. - Initial full package browser suite at `8384f211a`: 21/21 pass in desktop Chromium, mobile Chromium and mobile WebKit, using the actual installed ZIP on an isolated Engine. The new regression retains the portrait notice, rotates to 667×320, verifies rewards do not reach the Claim footer, full-button visibility, hit testing and real tap-to-handler requests at 100% and 175% text size. Its unchanged layout assertion fails on 1.10.0 in both mobile browsers; desktop passes. - Final repair browser regression: 4/4 pass on desktop Chromium, mobile Chromium/WebKit and a native Chromium hybrid-pointer configuration (`pointer: fine`, `any-pointer: coarse`). The unchanged 44px assertion fails at 17.5px against the previous `8384f211a` ZIP. All four runs also verify ordinary Home chrome remains visible and the new entry renders in the shipped Settings → Changelog screen. This is controlled browser emulation, not a physical convertible. - Rebuilding reproduces all 16 generated output hashes byte-for-byte. Catalog changes affect only Gacha Forge. - At `8384f211a`, a separate disposable fixture exercises the real Engine manager/API/runtime: exact 1.10.0 install/activation, 1.10.1 update with restart required, offline restart activation, uninstall/restart with route removal, and preservation of an unrelated chat. Catalog/artifact downloads and claim responses are controlled fixtures; no paid model or image provider was used. - Local CodeRabbit completed on initial head `8384f211a02b73c5c1dbea4ed5e1f1bc5acb0f71`: 14 reviewed files, zero findings. The final review repair at `5a4ac9973` is separately reviewed against that head: 8 reviewed text files, zero findings. The binary ZIP was excluded from text review and separately verified by archive/catalog checks and the earlier lifecycle proof. The final rebuilt ZIP is exercised by all four final browser cases; only the responsive CSS query changes its payload from that lifecycle-tested candidate. ### Manual verification gaps Browser checks use device emulation, not physical phones. Exact ZIP installation/upgrade was exercised through the Engine manager/API fixture, not a manual Download Agents browser flow. Claim requests reach the shipped handler but use a deterministic reward response; live-world reward accounting was not changed or revalidated. The manager/API upgrade/uninstall lifecycle fixture ran before the hybrid-pointer-only CSS repair; it was not repeated for that query change. - [ ] Manually verify Welcome Gift scrolling and Claim on a physical phone in landscape. - [ ] Manually verify install/update through Download Agents, restart and removal on a physical installation. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:02:32 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1600
No description provided.