[PR #2023] [MERGED] fix(otome-forge): Settings tabs reachable with a mouse, CGs whole on a PC; browser suite green (0.6.12) #2077

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/2023
Author: @SpicyMarinara
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/otome-browser-suite-red


📝 Commits (3)

  • 461727d fix(otome-forge): Settings categories stay reachable with a mouse, and the browser suite is green again
  • 350312b fix(otome-forge): CGs show whole on a wide stage instead of cropped
  • bdb5413 ci(otome-forge): run the browser suite as one job per browser project

📊 Changes

16 files changed (+139 additions, -55 deletions)

View changed files

📝 .github/workflows/otome-forge-browser.yml (+10 -4)
➕ artifacts/otome-forge-0.6.12.zip (+0 -0)
📝 catalog/preview/catalog.json (+6 -6)
📝 catalog/preview/notes.json (+6 -6)
📝 catalog/preview/v2/catalog.json (+6 -6)
📝 catalog/preview/v2/notes.json (+6 -6)
📝 catalog/preview/v3/catalog.json (+6 -6)
📝 catalog/preview/v3/notes.json (+6 -6)
📝 packages/otome-forge/CHANGELOG.md (+5 -0)
📝 packages/otome-forge/client.js (+19 -3)
📝 packages/otome-forge/manifest.json (+3 -3)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/CgTakeover.tsx (+2 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts (+18 -2)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/package-otome-forge-presentation.e2e.ts (+39 -0)
📝 tests/package-otome-forge-remind.e2e.ts (+6 -6)

📄 Description

Closes #2022
Closes #2000

Why this change

The Otome Forge package browser check has failed on every completed run since 2026-10-31 morning, so it has stopped guarding Otome Hearth (#2001 and #2005 merged past it). Three tests fail. Two predate those PRs — they already failed in the 0.6.6 run — and one was introduced by #2001. One of the three is a real user-facing defect.

What changed

Settings categories stay reachable with a mouse (user-facing, released as 0.6.12)

  • Settings wrapped its category tabs only when the stage container was at least 960px wide. Just under that width, desktop fell back to the phone layout: a single strip whose scrollbar is hidden. With wider system fonts (CI's Linux fonts measured scrollWidth 950 > clientWidth 926) the last tab was cut off, with no visible way to reach it using a mouse.
  • A fine pointer now wraps the categories at any width. Phones and other touch devices keep their single swipeable strip. The existing container rule for wide stages is unchanged.

Remind Me test — getByRole("button", { name: "Back" }) also matched the calendar's Back to today, which appears whenever the calendar is off the current month (exposed on 31 October). All six of the spec's Back locators are now exact: true, the convention the rest of the suite already uses.

Card-link test — it deliberately asserts the card-link flow writes nothing but the link. Its stub LIs carried accents from before the 0.6.10 colour picker, so the client correctly re-picked them and POSTed …/accent {sampler: 2}. The fixture now sets accentSampler: ACCENT_SAMPLER_VERSION (imported, not hard-coded), modelling a story whose colours are already current, so the strict assertion stays meaningful.

CGs show whole on a PC (#2000, user-facing, also in 0.6.12)

  • A CG is painted portrait (9:16). The takeover drew it with object-fit: cover, so in fullscreen on a PC — a wide stage — it kept only a thin horizontal band, zoomed and cropped, often losing the faces (the reporter's screenshot shows exactly this).
  • The takeover is now a size container. When its own box is wider than 2:3 the CG is drawn with contain, framed by a blurred, darkened copy of itself so the sides are not bare. The windowed 9:16 stage and phones keep the full-bleed cover. It queries the CG's own box rather than the frame, because around a windowed stage the frame is wide while the stage is portrait.
  • Bundled here rather than in its own PR because both changes ship in the same 0.6.12 build and touch the same bundle, catalog and manifest.

Package and security impact

  • Affected package IDs: otome-forge 0.6.12
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none (one CSS rule)

Validation

  • Settings test now asserts flex-wrap directly — wrap on desktop, nowrap on phones — so it no longer depends on font metrics. On the previous bundle it fails on desktop with Received: "nowrap", which is the defect; on 0.6.12 it passes on desktop and mobile Chromium.
  • Card-link and Remind Me tests pass on desktop and mobile Chromium locally.
  • The reader CG test now checks the windowed stage (cover, no copy) and then fullscreen (whole, with the copy). On the bundle without this change it fails in fullscreen: Expected "contain", Received "cover"; with it, it passes on desktop and mobile Chromium.
  • I also re-ran the Settings test with the browser clock pinned to 31 October; it passed, so the seasonal theme is not a factor.
  • npm run test:otome-forge: 540/540; validate-catalog.mjs, test-catalog-lanes.mjs, Prettier: pass.
  • The full browser suite (~45 min on CI) runs on this PR; locally I ran the three affected tests across both projects.

Test plan

  • On a desktop browser, open Otome Hearth Settings in a window around 900–1000px wide; confirm every category tab is visible (wrapping onto a second row if needed) and clickable.
  • On a wide desktop window, confirm the categories still sit on one row as before.
  • On a phone, confirm the categories are still one swipeable strip.
  • On a PC, open a CG and switch to fullscreen; confirm the whole picture shows (heads included), with a soft blurred surround at the sides.
  • Leave fullscreen; confirm the CG fills the windowed stage as before.
  • On a phone, confirm CGs still fill the screen.
  • Confirm the Otome Forge package browser check on this PR is green.

Documentation impact

  • No documentation changes needed

🤖 Generated with Claude Code


🔄 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/2023 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/otome-browser-suite-red` --- ### 📝 Commits (3) - [`461727d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/461727d21f55108ca905bda84a5e8c617a9ebf4d) fix(otome-forge): Settings categories stay reachable with a mouse, and the browser suite is green again - [`350312b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/350312b15186efefa41f28b5e83bba172257a101) fix(otome-forge): CGs show whole on a wide stage instead of cropped - [`bdb5413`](https://github.com/Pasta-Devs/Marinara-Agents/commit/bdb5413f6d21ef8f47e004cd4715549f3582f259) ci(otome-forge): run the browser suite as one job per browser project ### 📊 Changes **16 files changed** (+139 additions, -55 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/otome-forge-browser.yml` (+10 -4) ➕ `artifacts/otome-forge-0.6.12.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+6 -6) 📝 `catalog/preview/notes.json` (+6 -6) 📝 `catalog/preview/v2/catalog.json` (+6 -6) 📝 `catalog/preview/v2/notes.json` (+6 -6) 📝 `catalog/preview/v3/catalog.json` (+6 -6) 📝 `catalog/preview/v3/notes.json` (+6 -6) 📝 `packages/otome-forge/CHANGELOG.md` (+5 -0) 📝 `packages/otome-forge/client.js` (+19 -3) 📝 `packages/otome-forge/manifest.json` (+3 -3) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/CgTakeover.tsx` (+2 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts` (+18 -2) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/package-otome-forge-presentation.e2e.ts` (+39 -0) 📝 `tests/package-otome-forge-remind.e2e.ts` (+6 -6) </details> ### 📄 Description Closes #2022 Closes #2000 ## Why this change The **Otome Forge package browser** check has failed on every completed run since 2026-10-31 morning, so it has stopped guarding Otome Hearth (#2001 and #2005 merged past it). Three tests fail. Two predate those PRs — they already failed in the 0.6.6 run — and one was introduced by #2001. One of the three is a real user-facing defect. ## What changed **Settings categories stay reachable with a mouse** (user-facing, released as 0.6.12) - Settings wrapped its category tabs only when the stage container was at least 960px wide. Just under that width, desktop fell back to the phone layout: a single strip whose scrollbar is hidden. With wider system fonts (CI's Linux fonts measured `scrollWidth 950 > clientWidth 926`) the last tab was cut off, with no visible way to reach it using a mouse. - A fine pointer now wraps the categories at any width. Phones and other touch devices keep their single swipeable strip. The existing container rule for wide stages is unchanged. **Remind Me test** — `getByRole("button", { name: "Back" })` also matched the calendar's **Back to today**, which appears whenever the calendar is off the current month (exposed on 31 October). All six of the spec's `Back` locators are now `exact: true`, the convention the rest of the suite already uses. **Card-link test** — it deliberately asserts the card-link flow writes nothing but the link. Its stub LIs carried accents from before the 0.6.10 colour picker, so the client correctly re-picked them and POSTed `…/accent {sampler: 2}`. The fixture now sets `accentSampler: ACCENT_SAMPLER_VERSION` (imported, not hard-coded), modelling a story whose colours are already current, so the strict assertion stays meaningful. **CGs show whole on a PC** (#2000, user-facing, also in 0.6.12) - A CG is painted portrait (9:16). The takeover drew it with `object-fit: cover`, so in fullscreen on a PC — a wide stage — it kept only a thin horizontal band, zoomed and cropped, often losing the faces (the reporter's screenshot shows exactly this). - The takeover is now a size container. When its **own box** is wider than 2:3 the CG is drawn with `contain`, framed by a blurred, darkened copy of itself so the sides are not bare. The windowed 9:16 stage and phones keep the full-bleed cover. It queries the CG's own box rather than the frame, because around a windowed stage the frame is wide while the stage is portrait. - Bundled here rather than in its own PR because both changes ship in the same 0.6.12 build and touch the same bundle, catalog and manifest. ## Package and security impact - Affected package IDs: `otome-forge` 0.6.12 - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none (one CSS rule) ## Validation - Settings test now asserts `flex-wrap` directly — `wrap` on desktop, `nowrap` on phones — so it no longer depends on font metrics. On the **previous** bundle it fails on desktop with `Received: "nowrap"`, which is the defect; on 0.6.12 it passes on desktop and mobile Chromium. - Card-link and Remind Me tests pass on desktop and mobile Chromium locally. - The reader CG test now checks the windowed stage (cover, no copy) and then fullscreen (whole, with the copy). On the bundle **without** this change it fails in fullscreen: `Expected "contain", Received "cover"`; with it, it passes on desktop and mobile Chromium. - I also re-ran the Settings test with the browser clock pinned to 31 October; it passed, so the seasonal theme is not a factor. - `npm run test:otome-forge`: 540/540; `validate-catalog.mjs`, `test-catalog-lanes.mjs`, Prettier: pass. - The full browser suite (~45 min on CI) runs on this PR; locally I ran the three affected tests across both projects. ## Test plan - [ ] On a desktop browser, open Otome Hearth Settings in a window around 900–1000px wide; confirm every category tab is visible (wrapping onto a second row if needed) and clickable. - [ ] On a wide desktop window, confirm the categories still sit on one row as before. - [ ] On a phone, confirm the categories are still one swipeable strip. - [ ] On a PC, open a CG and switch to fullscreen; confirm the whole picture shows (heads included), with a soft blurred surround at the sides. - [ ] Leave fullscreen; confirm the CG fills the windowed stage as before. - [ ] On a phone, confirm CGs still fill the screen. - [ ] Confirm the Otome Forge package browser check on this PR is green. ## Documentation impact - [x] No documentation changes needed 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:39:19 +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#2077
No description provided.