mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1049] [MERGED] fix(gacha-forge): 1.8.6 — the portrait notice stays inside the package's own box #1265
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1265
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1049
Author: @SonaGat3
Created: 9/23/2026
Status: ✅ Merged
Merged: 9/24/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feature/gacha-forge-1.8.6📝 Commits (3)
421088efix(gacha-forge): 1.8.6 — the portrait notice stays inside the package's own boxbec9d58Merge branch 'staging' into feature/gacha-forge-1.8.63c6da2bMerge branch 'staging' into feature/gacha-forge-1.8.6📊 Changes
11 files changed (+89 additions, -64 deletions)
View changed files
➕
artifacts/gacha-forge-1.8.6.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(+3 -0)📝
packages/gacha-forge/README.md(+2 -0)📝
packages/gacha-forge/client.js(+45 -43)📝
packages/gacha-forge/manifest.json(+3 -3)📄 Description
Linked issue
Closes #1048
Why this change
stagingcarries Gacha Forge 1.8.5. A player sent one photo from a phone: the game's own"Landscape only" notice drawn on top of the Engine's Characters panel. Their words: "On Firefox
Mobile, I still see Gacha Forge block my access to other modes (character view, etc.) with the
Landscape warning." It is not Firefox — the same thing was measured in Chrome.
Measured at 412×915 with a coarse pointer, the shell's own CSS against the Engine's own panel
numbers (
fixed,z-50,top = calc(env(safe-area-inset-top) + 3rem), read fromAppShell.tsx).Two assumptions this package had written down as facts were both wrong:
.gf-arena, and the arena wasposition: static.container-type: sizedoes not make an element the containing block of anabsolutely positioned descendant.
z-index: 70beat the panel'sz-50. A shadow root does not isolate stacking by itself,so a z-index written inside the package competes in the host document's stacking context.
document.elementFromPointin the middle of the screen returnedmarinara-capability-gacha-forge, not the panel — so nothing in that panel could be reached. Thegame's own fullscreen button painted over the panel as well, which is what shows the notice was
never a special case.
Second time. When it first covered the Engine's navigation, the notice was moved
env(safe-area-inset-top) + 3remdown the SCREEN — the Engine's own constants, copied in because apackage cannot import them. That treated the symptom, and only looked right because the Engine's bar
is exactly 3rem tall.
What changed
.gf-arenadeclares the package's box twice:position: relative(it contains every absolutedescendant) and
isolation: isolate(no z-index the package writes can leave it). Measured, onlythe first one is not enough: the notice lands inside the box and still paints over the panel.
inset: 0instead of the four screen-relative offsets), so the twoconstants copied from the Engine's layout are gone. With the fix, the middle of the screen returns
the Engine's panel at every point tested.
position: relativeappears in six other rules of
shell.js; a check looking for the bare words would stay greenforever. The package's existing rule — no sheet may declare
position: fixed— stays: it wasnecessary and, as this shows, not sufficient. The comment that claimed a shadow could not cover
the Engine's chrome now states what was measured instead.
Generated outputs
packages/gacha-forge/client.js,manifest.json, the artifact zip, the catalog family and therelease-notes sidecars were re-derived by
node scripts/build-gacha-forge-package.mjsfrom thecommitted payload bytes. Nothing was hand-edited; re-running the builder after the commit leaves the
tree clean.
Package and security impact
capabilityApi, theenginerange, permissions, contribution slots, assets,builtAgainstandrestartRequiredare unchanged. The only manifest field that moved isversion, verified bydiffing against the
stagingmanifest with the hash lines filtered out.server.mjsisbyte-identical to 1.8.5.
CSS declarations.
client.js1,433,495 → 1,433,941 bytes, artifact 7,825,768 → 7,826,214. All art isbyte-identical (246 of 247 payload files unchanged).
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
origin/staging;git ls-files --eol | grep -c w/crlf→ 0;git diff --check "origin/staging...HEAD"clean; the build is reproducible.pull-request-checks.ymlatorigin/staging, so its steps cannot go stale: 23 of 24 green.⚠️
npm run test:securityfails on Windows for a reason unrelated to this change(
catalog-path-safety.regression.mjsexpects a POSIX path and getsD:\tmp\package\assets\icon.png); its log never names gacha-forge, and it failed identically on aclean
stagingcheckout for the 1.8.2 and 1.8.5 PRs.probe — all green (672 s). The three new checks were each verified failing against the previous
code.
a replica of the Engine's mobile panel, at 412×915 with touch emulation): before, the notice sat
at y=48 with the viewport's full height and owned every point tested; after, it is exactly the
arena's rectangle and the panel owns those same points.
Documentation impact
packages/gacha-forge/README.mdgains the 1.8.6 paragraph;packages/gacha-forge/CHANGELOG.mdgains 1.8.6. The repository README is unchanged.
UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.