[PR #1641] [MERGED] fix(gacha-forge): restore mobile controls and explain element matchups #1638

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

📋 Pull Request Information

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

Base: staging ← Head: fix/gacha-mobile-controls-1640


📝 Commits (3)

  • 2baec11 chore(gacha-forge): prepare mobile playback fixes
  • 337850f fix(gacha-forge): repair mobile playback and clarify Home
  • 1e4d463 test(gacha-forge): persist themed browser fixtures

📊 Changes

22 files changed (+766 additions, -51 deletions)

View changed files

➕ artifacts/gacha-forge-1.12.2.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+6 -6)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/gacha-forge/CHANGELOG.md (+8 -0)
📝 packages/gacha-forge/README.md (+2 -0)
📝 packages/gacha-forge/bundle-patches.json (+27 -0)
📝 packages/gacha-forge/client.js (+115 -4)
📝 packages/gacha-forge/manifest.json (+3 -3)
📝 packages/gacha-forge/src/audio-client.mjs (+2 -1)
📝 packages/gacha-forge/src/browser-presentation.mjs (+21 -0)
➕ packages/gacha-forge/src/home-presentation.mjs (+87 -0)
📝 tests/gacha-forge-bundle-rebuild.regression.mjs (+1 -0)
📝 tests/package-gacha-forge-audio.e2e.ts (+190 -1)
📝 tests/package-gacha-forge-choices.e2e.ts (+92 -0)
➕ tests/package-gacha-forge-home.e2e.ts (+171 -0)
📝 tests/package-gacha-forge-welcome-gift.e2e.ts (+9 -6)

...and 2 more files

📄 Description

Linked issue

Closes #1640

Implementation owner: @SpicyMarinara (Codex).

Why this change

Combat audio buttons overlap, selecting a story choice loses Auto, and a phone keyboard can clip the character communication composer. Home also lacks a reference for element advantages and crops the top of selected background artwork.

What changed

  • Release Gacha Forge 1.12.2, with rebuilt client, archive, catalog lanes and release notes.
  • Keep one working combat mute control beside fullscreen.
  • Preserve Auto while waiting for a choice and resume the selected small branch after it saves. Explicit Auto-off, failed saves and terminal big choices keep their existing guards.
  • Fit character communication to the reduced keyboard viewport, keeping the draft and Send available; restore the full controls afterwards.
  • Add a compact icon-and-arrow affinity diagram beneath the communication button, derived from the actual combat map and symbols. Preserve the portrait frame ratio in narrow windows.
  • Top-align selected Home backgrounds below the package header, including after fullscreen changes.

Package and security impact

  • Affected package: gacha-forge.
  • Existing Engine minimum 2.5.1, Capability API 1.381, permissions, entrypoints and save format are preserved.
  • The diagram is local presentation; it does not change combat balance or make model requests.
  • Update the installed package and restart when prompted.

Validation

  • npm ci --ignore-scripts --no-audit --no-fund and npm run check passed (the repository retains existing lint warnings; targeted changed files have none).
  • Catalog lanes, package locales, catalog integrity, release-note validation and git diff --check passed.
  • All six Gacha regression programs passed: location/landscape, player choices, audio, soundtrack briefs, achievements and reversible bundle rebuilding.
  • 61/61 browser cases passed with two workers: desktop Chromium, mobile Chromium, mobile WebKit and the hybrid-pointer Welcome Gift case. This includes the full existing suites plus new combat, Auto, keyboard and Home coverage.
  • Exact-archive Engine manager installation 1.12.1 → 1.12.2, saved progress/settings, application restart, genuine fresh-process offline restart and uninstall/404 passed. Runtime host was Engine staging de6df10645a56a7fca89e7014781eb7a20ee3ba9; the package retains its existing b9cc386e build provenance. The later commit changes tests only; the tested package bytes are identical.
  • Archive SHA-256: 5c6feedca4b7c56cb9ce7fcbf0384d0d612999196e24701df4dbbd073f49e484.

Browser calibration preserves the original failed runs and assertions: mocked state now retains the selected theme/settings across fullscreen refresh; the Welcome Gift test opens earlier changelog entries before checking its historical note. Keyboard checks respect the Engine’s existing landscape keyboard chrome policy and verify restoration afterwards.

Local CodeRabbit completed the implementation and fixture follow-up reviews. The final test-only commit review returned zero findings. One earlier minor suggestion about missing Home controls was rejected after tracing the unconditional Home template and package-static icon/map inputs. GitHub checks and the current-head Dottore verdict remain merge gates.

  • Manually verify the single combat mute and other toolbar controls on a physical phone.
  • Manually verify Auto resumes after small choices and waits at big choices.
  • Manually verify typing and tapping Send with iPhone and Android keyboards in both orientations.
  • Manually verify the Home diagram, background framing and selected portrait in preferred themes.
  • Manually verify package update, restart and uninstall in a personal installation.

Documentation impact

Updated the package README and 1.12.2 changelog. Rebuilt catalog release notes through the package builder.

UI evidence

Browser screenshots use synthetic units/backgrounds and disposable Engine data. Mobile keyboard geometry is simulated; this is not physical iPhone/Android keyboard or native media-playback proof.


🔄 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/1641 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/24/2026 **Status:** ✅ Merged **Merged:** 10/24/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/gacha-mobile-controls-1640` --- ### 📝 Commits (3) - [`2baec11`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2baec115090006a8ded0b3b11675e8b9af005270) chore(gacha-forge): prepare mobile playback fixes - [`337850f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/337850f98e31ec1d8eec495e7c55c10d9446dc5c) fix(gacha-forge): repair mobile playback and clarify Home - [`1e4d463`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1e4d46350c08c1db41639a8e35899dbfbbc1a9c4) test(gacha-forge): persist themed browser fixtures ### 📊 Changes **22 files changed** (+766 additions, -51 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/gacha-forge-1.12.2.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/gacha-forge/CHANGELOG.md` (+8 -0) 📝 `packages/gacha-forge/README.md` (+2 -0) 📝 `packages/gacha-forge/bundle-patches.json` (+27 -0) 📝 `packages/gacha-forge/client.js` (+115 -4) 📝 `packages/gacha-forge/manifest.json` (+3 -3) 📝 `packages/gacha-forge/src/audio-client.mjs` (+2 -1) 📝 `packages/gacha-forge/src/browser-presentation.mjs` (+21 -0) ➕ `packages/gacha-forge/src/home-presentation.mjs` (+87 -0) 📝 `tests/gacha-forge-bundle-rebuild.regression.mjs` (+1 -0) 📝 `tests/package-gacha-forge-audio.e2e.ts` (+190 -1) 📝 `tests/package-gacha-forge-choices.e2e.ts` (+92 -0) ➕ `tests/package-gacha-forge-home.e2e.ts` (+171 -0) 📝 `tests/package-gacha-forge-welcome-gift.e2e.ts` (+9 -6) _...and 2 more files_ </details> ### 📄 Description ## Linked issue Closes #1640 Implementation owner: @SpicyMarinara (Codex). ## Why this change Combat audio buttons overlap, selecting a story choice loses Auto, and a phone keyboard can clip the character communication composer. Home also lacks a reference for element advantages and crops the top of selected background artwork. ## What changed - Release Gacha Forge **1.12.2**, with rebuilt client, archive, catalog lanes and release notes. - Keep one working combat mute control beside fullscreen. - Preserve Auto while waiting for a choice and resume the selected small branch after it saves. Explicit Auto-off, failed saves and terminal big choices keep their existing guards. - Fit character communication to the reduced keyboard viewport, keeping the draft and Send available; restore the full controls afterwards. - Add a compact icon-and-arrow affinity diagram beneath the communication button, derived from the actual combat map and symbols. Preserve the portrait frame ratio in narrow windows. - Top-align selected Home backgrounds below the package header, including after fullscreen changes. ## Package and security impact - Affected package: `gacha-forge`. - Existing Engine minimum 2.5.1, Capability API 1.381, permissions, entrypoints and save format are preserved. - The diagram is local presentation; it does not change combat balance or make model requests. - Update the installed package and restart when prompted. ## Validation - `npm ci --ignore-scripts --no-audit --no-fund` and `npm run check` passed (the repository retains existing lint warnings; targeted changed files have none). - Catalog lanes, package locales, catalog integrity, release-note validation and `git diff --check` passed. - All six Gacha regression programs passed: location/landscape, player choices, audio, soundtrack briefs, achievements and reversible bundle rebuilding. - **61/61 browser cases passed** with two workers: desktop Chromium, mobile Chromium, mobile WebKit and the hybrid-pointer Welcome Gift case. This includes the full existing suites plus new combat, Auto, keyboard and Home coverage. - Exact-archive Engine manager installation **1.12.1 → 1.12.2**, saved progress/settings, application restart, genuine fresh-process offline restart and uninstall/404 passed. Runtime host was Engine staging `de6df10645a56a7fca89e7014781eb7a20ee3ba9`; the package retains its existing `b9cc386e` build provenance. The later commit changes tests only; the tested package bytes are identical. - Archive SHA-256: `5c6feedca4b7c56cb9ce7fcbf0384d0d612999196e24701df4dbbd073f49e484`. Browser calibration preserves the original failed runs and assertions: mocked state now retains the selected theme/settings across fullscreen refresh; the Welcome Gift test opens earlier changelog entries before checking its historical note. Keyboard checks respect the Engine’s existing landscape keyboard chrome policy and verify restoration afterwards. Local CodeRabbit completed the implementation and fixture follow-up reviews. The final test-only commit review returned zero findings. One earlier minor suggestion about missing Home controls was rejected after tracing the unconditional Home template and package-static icon/map inputs. GitHub checks and the current-head Dottore verdict remain merge gates. - [ ] Manually verify the single combat mute and other toolbar controls on a physical phone. - [ ] Manually verify Auto resumes after small choices and waits at big choices. - [ ] Manually verify typing and tapping Send with iPhone and Android keyboards in both orientations. - [ ] Manually verify the Home diagram, background framing and selected portrait in preferred themes. - [ ] Manually verify package update, restart and uninstall in a personal installation. ## Documentation impact Updated the package README and 1.12.2 changelog. Rebuilt catalog release notes through the package builder. ## UI evidence Browser screenshots use synthetic units/backgrounds and disposable Engine data. Mobile keyboard geometry is simulated; this is not physical iPhone/Android keyboard or native media-playback proof. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-25 04:02:21 +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#1638
No description provided.