mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8128] [MERGED] fix(mobile): keep the landscape gutter on the iPhone camera side #8116
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8116
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-Engine/pull/8128
Author: @SpicyMarinara
Created: 10/22/2026
Status: ✅ Merged
Merged: 10/22/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/phone-camera-side📝 Commits (3)
ca9ff3ftest: reproduce mirrored iPhone landscape camera gutter803792efix(mobile): keep the landscape gutter on the iPhone camera side15b2b8dtest: calibrate camera fallback and Apple shortcut expectations📊 Changes
6 files changed (+211 additions, -18 deletions)
View changed files
📝
docs/development/ios-pwa-safe-area.md(+5 -4)📝
e2e/core-flows.e2e.ts(+13 -1)➕
e2e/phone-camera-side.e2e.ts(+146 -0)📝
packages/client/src/components/layout/AppShell.tsx(+17 -2)📝
packages/client/src/styles/globals.css(+25 -6)📝
scripts/regressions/mobile-safe-area-inset.regression.ts(+5 -5)📄 Description
Linked issue
Closes #8127. Implementation owner: @SpicyMarinara (Codex).
Why this change
On iPhone in landscape, the Engine reserved the same camera-sized gutter at both edges. That left unused space opposite the camera, including in fullscreen Gacha Forge.
What changed
Validation
Local results on the final production code (test fixtures then calibrated without further app changes):
pnpm checkpassed, including localization, TypeScript, ESLint and production builds. One existing React Hook dependency warning inHomeProfessorMariChat.tsx; no errors.pnpm check:e2e-typespassed after the final fixture changes.node scripts/run-regressions.mjs --filter mobile-safe-area-inset: 1/1 passed.pnpm smoke:ui: 7/7 passed.Additional integration proof: merged the final PR locally with staging
6bc3ebb35(Game UI PR #8121).pnpm check, all 15 camera/fullscreen cases and 7 smoke checks passed on that combined tree (be76fe46a3300e0f2cde62523db778bc383f1e6b). The earlier 11 broader layout cases were not repeated on this non-overlapping Game UI merge.Docs and release impact
Developer safe-area guide updated; existing translation follow-up #8106 covers this file. No app version or storage-format change. No changelog edit.
UI evidence (if applicable)
Before/after screenshots, self-contained HTML. Download the HTML to view the embedded images. Captured from production code at
803792ee1(unchanged in the final test-only commit): iPhone WebKit emulation, 874×402 CSS pixels, simulated symmetric 59px system insets, camera-left dark Home and camera-right light chat sidebar. This is browser evidence; physical-device verification remains manual.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.