[PR #1865] [MERGED] fix(otome-forge): release hidden reader controls after resizing #2006

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

📋 Pull Request Information

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

Base: staging ← Head: fix/otome-reader-disclosure-resize


📝 Commits (1)

  • 885aa5f fix(otome-forge): release hidden reader controls after resizing

📊 Changes

2 files changed (+34 additions, -5 deletions)

View changed files

📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/ReaderControls.tsx (+15 -5)
📝 tests/package-otome-forge-presentation.e2e.ts (+19 -0)

📄 Description

Linked issue

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

Why this change

After mobile controls are expanded, CSS can hide the disclosure when the window widens. Its document listeners still consume the first desktop story click. This is the isolated follow-up identified during #1858 review; character-card linking stays in #1862.

What changed

Check the disclosure's actual visibility before intercepting clicks or Escape, preserving the existing mobile outside-tap protection. Add a browser regression that fails on the earlier artifact and passes with this repair. Clarify the shared responsive control definitions.

The source-only draft awaits the separately prepared character-card 0.1.4 package before its own generated 0.1.5 update is built, to keep artifacts and PR scope aligned.

Package and security impact

  • Affected package: otome-forge.
  • No new permissions, host APIs, data fields or storage migration.
  • Existing package update/restart behavior applies.

Validation

The repair was built and exercised locally: all seven focused reader cases pass in Chromium and WebKit; strict package typecheck, format/lint, catalog checks and local CodeRabbit review passed. Final versioned outputs and checks will be refreshed after #1862 lands.

  • Manually verify a narrow-to-wide resize with the controls open, then progress the story once.
  • Manually verify mobile menu dismissal and dialog Escape ownership on a physical device.

Documentation impact

A package release note will accompany the final generated update.


🔄 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/1865 **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-reader-disclosure-resize` --- ### 📝 Commits (1) - [`885aa5f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/885aa5fe519899a5b0c0c1114858f1c89d3067b7) fix(otome-forge): release hidden reader controls after resizing ### 📊 Changes **2 files changed** (+34 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/reader/ReaderControls.tsx` (+15 -5) 📝 `tests/package-otome-forge-presentation.e2e.ts` (+19 -0) </details> ### 📄 Description ## Linked issue Closes #1864. Owner: @SpicyMarinara (Codex). ## Why this change After mobile controls are expanded, CSS can hide the disclosure when the window widens. Its document listeners still consume the first desktop story click. This is the isolated follow-up identified during #1858 review; character-card linking stays in #1862. ## What changed Check the disclosure's actual visibility before intercepting clicks or Escape, preserving the existing mobile outside-tap protection. Add a browser regression that fails on the earlier artifact and passes with this repair. Clarify the shared responsive control definitions. The source-only draft awaits the separately prepared character-card 0.1.4 package before its own generated 0.1.5 update is built, to keep artifacts and PR scope aligned. ## Package and security impact - Affected package: `otome-forge`. - No new permissions, host APIs, data fields or storage migration. - Existing package update/restart behavior applies. ## Validation The repair was built and exercised locally: all seven focused reader cases pass in Chromium and WebKit; strict package typecheck, format/lint, catalog checks and local CodeRabbit review passed. Final versioned outputs and checks will be refreshed after #1862 lands. - [ ] Manually verify a narrow-to-wide resize with the controls open, then progress the story once. - [ ] Manually verify mobile menu dismissal and dialog Escape ownership on a physical device. ## Documentation impact A package release note will accompany the final generated update. --- <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:42 +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#2006
No description provided.