[PR #1858] [MERGED] fix(otome-forge): adapt mobile chapter sprites and controls #2003

Closed
opened 2026-11-07 16:38:39 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: fix/otome-mobile-chapter-controls


📝 Commits (10+)

  • 727b8db chore: start Otome Hearth mobile chapter UI work
  • 8a95304 feat(otome-forge): start mobile reader control localization
  • bddc7b7 fix(otome-forge): adapt mobile chapter composition and controls
  • ec7bba0 fix(otome-forge): keep mobile controls reachable and focused
  • fb99a2d fix(otome-forge): consume choice taps when dismissing mobile controls
  • 5766a2c fix(otome-forge): keep mobile disclosure above scene chips
  • 2109786 fix(otome-forge): dismiss reader controls from story focus
  • eff6c9a test(otome-forge): dismiss mobile tools before story actions
  • ea846fe fix(otome-forge): limit landscape stage expansion to readers
  • de67d27 test(otome-forge): preserve non-reader landscape framing

📊 Changes

19 files changed (+776 additions, -190 deletions)

View changed files

➕ artifacts/otome-forge-0.1.3.zip (+0 -0)
📝 catalog/preview/catalog.json (+6 -6)
📝 catalog/preview/notes.json (+6 -0)
📝 catalog/preview/v2/catalog.json (+6 -6)
📝 catalog/preview/v2/notes.json (+6 -0)
📝 catalog/preview/v3/catalog.json (+6 -6)
📝 catalog/preview/v3/notes.json (+6 -0)
📝 packages/otome-forge/CHANGELOG.md (+4 -0)
📝 packages/otome-forge/README.md (+1 -0)
📝 packages/otome-forge/client.js (+163 -132)
📝 packages/otome-forge/manifest.json (+3 -3)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-otome-audio.ts (+5 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json (+3 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/ReaderControls.tsx (+120 -35)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts (+31 -0)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/package-otome-forge-loop.e2e.ts (+2 -0)
📝 tests/package-otome-forge-presentation.e2e.ts (+392 -1)
📝 tests/package-otome-forge-reader.e2e.ts (+15 -0)

📄 Description

Linked issue

Closes #1857. Owner: @SpicyMarinara (Codex).

Why this change

On phones, the chapter reader fitted the entire character above the dialogue panel and crowded its header with secondary controls. It also had no audio shortcut. This implements the requested closer character framing and collapsible controls while keeping the established button styling.

What changed

  • Otome Hearth 0.1.3: mobile cutouts continue behind the dialogue panel, showing the upper body and thighs in portrait.
  • Three primary mobile controls: three-dot disclosure, mute/unmute, and fullscreen. The disclosure stacks Auto, Skip, Hide UI, Backlog, Rewrite and Ease off vertically; Rewrite and Ease off are icon-only.
  • Reuse the existing music/voice controller for quick mute. Menu, mute and fullscreen taps do not advance the story. An outside tap dismisses the menu before it can select a choice; Escape restores disclosure focus and leaves dialogs in control of their own Escape handling.
  • Keep secondary controls reachable on short/notched landscape screens. The landscape expansion applies only during chapter playback; other screens and desktop controls retain their existing layout.
  • Rebuild the client payload, manifest, ZIP, preview catalogs and release notes; update package guidance and focused browser coverage.

Package and security impact

  • Affected package IDs: otome-forge only.
  • Engine compatibility impact: unchanged, Engine >=2.5.1 <4.0.0, Capability API 1.386.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: the existing package update/restart flow delivers 0.1.3; no storage migration or uninstall change.

Validation

  • npm run check: passed, no errors; 815 existing lint warnings.

  • Strict package typecheck: passed (78 server/shared and 124 client files). Existing Otome regressions: 379 TypeScript and 5 bundle checks passed.

  • Catalog lanes, package locales, catalog/archive validation, release-note regression and git diff --check: passed. Generated outputs match the source build.

  • Local CodeRabbit: substantive full-source review at 2109786f passed with no findings; the final cumulative delta through de67d271 also passed with no findings. Earlier choice-dismissal, Escape and landscape-scope findings were repaired and covered.

  • Existing chapter, presentation and complete play-loop suites: 46/46 passed across desktop and mobile Chromium before the final two-selector scope narrowing. Those selectors preserve reader styling; the exact final scoped artifact then passed all six focused cases in Chromium and WebKit, including the non-reader landscape negative control.

  • Base synchronization: merged staging 917d89f7 into head d23fdee1. Otome sources, tests, archive and preview entries are byte-identical to the reviewed/tested de67d271 tree; the current-base PR diff remains Otome-only. Format/lint, catalog lanes, locales, archive/catalog validation, release-note regression and whitespace checks passed again after synchronization.

  • Manually verify sprite framing, menu scroll, mute and fullscreen on a physical iPhone in portrait and landscape.

  • Manually install/update through Download Agents and check restart, offline and uninstall behavior.

Manual verification notes

Automated real-Engine package fixtures load the committed payload. Network generation is stubbed; audio proof exercises the Engine player and TTS cancellation. This is browser emulation, not physical-device or real-provider proof.

Documentation impact

Updated the package README and its 0.1.3 release notes. Host documentation and permissions are unchanged.

UI evidence

Focused captures cover 390x844, 320x700 and 844x390 phone layouts plus 1280x900 desktop, with Midnight and Pearl looks. A marked full-body fixture verifies that the head stays visible and the boots are behind the dialogue. On short landscape screens the panel leaves less body exposed. Captures and traces are also emitted by the package browser workflow.


🔄 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/1858 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/otome-mobile-chapter-controls` --- ### 📝 Commits (10+) - [`727b8db`](https://github.com/Pasta-Devs/Marinara-Agents/commit/727b8dbab10b120e417c5ee038596091b8c2f63d) chore: start Otome Hearth mobile chapter UI work - [`8a95304`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8a953047523798451b921a0bc8652abec563b2e6) feat(otome-forge): start mobile reader control localization - [`bddc7b7`](https://github.com/Pasta-Devs/Marinara-Agents/commit/bddc7b7f1463578c042411589a4e59de1c8cf4b7) fix(otome-forge): adapt mobile chapter composition and controls - [`ec7bba0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ec7bba031eb33726b0d0bf4d102c1ad1b3e65bc9) fix(otome-forge): keep mobile controls reachable and focused - [`fb99a2d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/fb99a2dfb00a20981c2cc01578371e9d4cf9fc44) fix(otome-forge): consume choice taps when dismissing mobile controls - [`5766a2c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5766a2cf45ca89d79068b351faa969f21688bfcf) fix(otome-forge): keep mobile disclosure above scene chips - [`2109786`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2109786fb5b459b535b6be0761b7db5e1b0afaea) fix(otome-forge): dismiss reader controls from story focus - [`eff6c9a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/eff6c9aa55c970a3a4961486b05110511c92df50) test(otome-forge): dismiss mobile tools before story actions - [`ea846fe`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ea846fed5077406310c09ddef93bbe82d6ca091b) fix(otome-forge): limit landscape stage expansion to readers - [`de67d27`](https://github.com/Pasta-Devs/Marinara-Agents/commit/de67d271895951005fc70a447d59ea4622bbe876) test(otome-forge): preserve non-reader landscape framing ### 📊 Changes **19 files changed** (+776 additions, -190 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/otome-forge-0.1.3.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+6 -6) 📝 `catalog/preview/notes.json` (+6 -0) 📝 `catalog/preview/v2/catalog.json` (+6 -6) 📝 `catalog/preview/v2/notes.json` (+6 -0) 📝 `catalog/preview/v3/catalog.json` (+6 -6) 📝 `catalog/preview/v3/notes.json` (+6 -0) 📝 `packages/otome-forge/CHANGELOG.md` (+4 -0) 📝 `packages/otome-forge/README.md` (+1 -0) 📝 `packages/otome-forge/client.js` (+163 -132) 📝 `packages/otome-forge/manifest.json` (+3 -3) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-otome-audio.ts` (+5 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json` (+3 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/ReaderControls.tsx` (+120 -35) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts` (+31 -0) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/package-otome-forge-loop.e2e.ts` (+2 -0) 📝 `tests/package-otome-forge-presentation.e2e.ts` (+392 -1) 📝 `tests/package-otome-forge-reader.e2e.ts` (+15 -0) </details> ### 📄 Description ## Linked issue Closes #1857. Owner: @SpicyMarinara (Codex). ## Why this change On phones, the chapter reader fitted the entire character above the dialogue panel and crowded its header with secondary controls. It also had no audio shortcut. This implements the requested closer character framing and collapsible controls while keeping the established button styling. ## What changed - Otome Hearth 0.1.3: mobile cutouts continue behind the dialogue panel, showing the upper body and thighs in portrait. - Three primary mobile controls: three-dot disclosure, mute/unmute, and fullscreen. The disclosure stacks Auto, Skip, Hide UI, Backlog, Rewrite and Ease off vertically; Rewrite and Ease off are icon-only. - Reuse the existing music/voice controller for quick mute. Menu, mute and fullscreen taps do not advance the story. An outside tap dismisses the menu before it can select a choice; Escape restores disclosure focus and leaves dialogs in control of their own Escape handling. - Keep secondary controls reachable on short/notched landscape screens. The landscape expansion applies only during chapter playback; other screens and desktop controls retain their existing layout. - Rebuild the client payload, manifest, ZIP, preview catalogs and release notes; update package guidance and focused browser coverage. ## Package and security impact - Affected package IDs: `otome-forge` only. - Engine compatibility impact: unchanged, Engine >=2.5.1 <4.0.0, Capability API 1.386. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: the existing package update/restart flow delivers 0.1.3; no storage migration or uninstall change. ## Validation - `npm run check`: passed, no errors; 815 existing lint warnings. - Strict package typecheck: passed (78 server/shared and 124 client files). Existing Otome regressions: 379 TypeScript and 5 bundle checks passed. - Catalog lanes, package locales, catalog/archive validation, release-note regression and `git diff --check`: passed. Generated outputs match the source build. - Local CodeRabbit: substantive full-source review at `2109786f` passed with no findings; the final cumulative delta through `de67d271` also passed with no findings. Earlier choice-dismissal, Escape and landscape-scope findings were repaired and covered. - Existing chapter, presentation and complete play-loop suites: 46/46 passed across desktop and mobile Chromium before the final two-selector scope narrowing. Those selectors preserve reader styling; the exact final scoped artifact then passed all six focused cases in Chromium and WebKit, including the non-reader landscape negative control. - Base synchronization: merged staging `917d89f7` into head `d23fdee1`. Otome sources, tests, archive and preview entries are byte-identical to the reviewed/tested `de67d271` tree; the current-base PR diff remains Otome-only. Format/lint, catalog lanes, locales, archive/catalog validation, release-note regression and whitespace checks passed again after synchronization. - [ ] Manually verify sprite framing, menu scroll, mute and fullscreen on a physical iPhone in portrait and landscape. - [ ] Manually install/update through Download Agents and check restart, offline and uninstall behavior. ### Manual verification notes Automated real-Engine package fixtures load the committed payload. Network generation is stubbed; audio proof exercises the Engine player and TTS cancellation. This is browser emulation, not physical-device or real-provider proof. ## Documentation impact Updated the package README and its 0.1.3 release notes. Host documentation and permissions are unchanged. ## UI evidence Focused captures cover 390x844, 320x700 and 844x390 phone layouts plus 1280x900 desktop, with Midnight and Pearl looks. A marked full-body fixture verifies that the head stays visible and the boots are behind the dialogue. On short landscape screens the panel leaves less body exposed. Captures and traces are also emitted by the package browser workflow. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:38:39 +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#2003
No description provided.