[PR #8123] [MERGED] feat: support in-app fullscreen for Home packages #8114

Closed
opened 2026-10-24 04:10:30 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8123
Author: @SpicyMarinara
Created: 10/22/2026
Status: ✅ Merged
Merged: 10/22/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feat/gacha-browser-fullscreen


📝 Commits (4)

  • d30413c docs: define Home package fullscreen contract
  • e73712c feat: support package fullscreen within Home browser
  • eab8c2c Merge remote-tracking branch 'origin/staging' into feat/gacha-browser-fullscreen
  • 34fdb80 fix: accept package fullscreen requests during initial prop delivery

📊 Changes

6 files changed (+214 additions, -8 deletions)

View changed files

📝 docs/development/optional-agent-packages.md (+15 -0)
➕ e2e/home-browser-fullscreen.e2e.ts (+149 -0)
📝 packages/client/src/components/chat/HomeBrowserHub.tsx (+42 -2)
📝 packages/client/src/localization/locales/en.json (+2 -0)
📝 packages/shared/src/schemas/capability-package.schema.ts (+1 -1)
📝 scripts/regressions/capability-package-lifecycle.regression.ts (+5 -5)

📄 Description

Linked issue

Closes #8122
Companion package PR: Pasta-Devs/Marinara-Agents#1592. Translated API docs follow-up: #8124.

Why this change

Gacha Forge needs to use the available Engine content area without hiding the Engine topbar or depending on native browser fullscreen, which is unavailable on iPhone Safari.

What changed

  • Add capability API 1.376 browserFullscreen props for active Home packages, with localized enter/exit labels.
  • Hide Home tabs, address and bookmarks while expanded, keeping the Engine topbar available.
  • Scope requests to the active package, restore chrome on close, navigation, visibility changes and runtime failures, and document the contract.

Validation

At 34fdb80e91, including current staging (68d4f0f788):

  • pnpm install --frozen-lockfile; pnpm check: passed (includes production builds, localization, lint and types).
  • pnpm check:e2e-types: passed after final fixture edits.
  • Capability package lifecycle/readiness regression: 1/1 passed, including the new API boundary.
  • New Home fullscreen browser cases: 9/9 passed across desktop Chromium, mobile Chromium and iPhone WebKit emulation. Checked both themes, full content bounds, no native fullscreen, unchanged draft DOM/value, stale callbacks, close and runtime-error recovery.
  • pnpm smoke:ui: 7/7 passed.
  • Full local CodeRabbit review completed with zero findings. After Dottore identified a first-props lifecycle gap, reproduced the failure twice without the repair; the first request now succeeds in all three browsers while stale callbacks remain ignored. A focused local CodeRabbit review of the repair completed with zero findings.
  • Repeated the installed Gacha Forge 1.9.0 browser suite against this repaired Engine and current staging: 3/3 passed, each covering 21 screen states. Repeated pnpm check and pnpm smoke:ui after the repair: passed.
  • GitHub CI and a viable final-head Dottore verdict remain merge gates.

Manual verification

  • Manually verify Gacha Forge entry/exit next to Settings after installing companion package 1.9.0.
  • Manually verify the Engine topbar and Home chrome recovery on a physical phone and desktop.
  • Manually verify other installed Home packages keep their current layouts.

Docs and release impact

API developer docs updated; translations tracked in #8124. No app release version or storage format change. Physical-device verification has not been performed.

UI evidence

Installed Gacha Forge browser evidence (downloadable HTML). Screenshots use isolated fixtures and browser emulation.


🔄 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-Engine/pull/8123 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/22/2026 **Status:** ✅ Merged **Merged:** 10/22/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/gacha-browser-fullscreen` --- ### 📝 Commits (4) - [`d30413c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d30413c50460ec0fab5986b7511d3849795c5fb5) docs: define Home package fullscreen contract - [`e73712c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e73712c8c83e3e429744a37d6d6b4f7dfb6f0f18) feat: support package fullscreen within Home browser - [`eab8c2c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/eab8c2c72af971e028f0700b3acc2d0688d86244) Merge remote-tracking branch 'origin/staging' into feat/gacha-browser-fullscreen - [`34fdb80`](https://github.com/Pasta-Devs/Marinara-Engine/commit/34fdb80e910eeb2006d7efe30289197bab0f3775) fix: accept package fullscreen requests during initial prop delivery ### 📊 Changes **6 files changed** (+214 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `docs/development/optional-agent-packages.md` (+15 -0) ➕ `e2e/home-browser-fullscreen.e2e.ts` (+149 -0) 📝 `packages/client/src/components/chat/HomeBrowserHub.tsx` (+42 -2) 📝 `packages/client/src/localization/locales/en.json` (+2 -0) 📝 `packages/shared/src/schemas/capability-package.schema.ts` (+1 -1) 📝 `scripts/regressions/capability-package-lifecycle.regression.ts` (+5 -5) </details> ### 📄 Description ## Linked issue Closes #8122 Companion package PR: Pasta-Devs/Marinara-Agents#1592. Translated API docs follow-up: #8124. ## Why this change Gacha Forge needs to use the available Engine content area without hiding the Engine topbar or depending on native browser fullscreen, which is unavailable on iPhone Safari. ## What changed - Add capability API 1.376 browserFullscreen props for active Home packages, with localized enter/exit labels. - Hide Home tabs, address and bookmarks while expanded, keeping the Engine topbar available. - Scope requests to the active package, restore chrome on close, navigation, visibility changes and runtime failures, and document the contract. ## Validation At 34fdb80e910eeb2006d7efe30289197bab0f3775, including current staging (68d4f0f788): - pnpm install --frozen-lockfile; pnpm check: passed (includes production builds, localization, lint and types). - pnpm check:e2e-types: passed after final fixture edits. - Capability package lifecycle/readiness regression: 1/1 passed, including the new API boundary. - New Home fullscreen browser cases: 9/9 passed across desktop Chromium, mobile Chromium and iPhone WebKit emulation. Checked both themes, full content bounds, no native fullscreen, unchanged draft DOM/value, stale callbacks, close and runtime-error recovery. - pnpm smoke:ui: 7/7 passed. - Full local CodeRabbit review completed with zero findings. After Dottore identified a first-props lifecycle gap, reproduced the failure twice without the repair; the first request now succeeds in all three browsers while stale callbacks remain ignored. A focused local CodeRabbit review of the repair completed with zero findings. - Repeated the installed Gacha Forge 1.9.0 browser suite against this repaired Engine and current staging: 3/3 passed, each covering 21 screen states. Repeated pnpm check and pnpm smoke:ui after the repair: passed. - GitHub CI and a viable final-head Dottore verdict remain merge gates. ### Manual verification - [ ] Manually verify Gacha Forge entry/exit next to Settings after installing companion package 1.9.0. - [ ] Manually verify the Engine topbar and Home chrome recovery on a physical phone and desktop. - [ ] Manually verify other installed Home packages keep their current layouts. ## Docs and release impact API developer docs updated; translations tracked in #8124. No app release version or storage format change. Physical-device verification has not been performed. ## UI evidence [Installed Gacha Forge browser evidence (downloadable HTML)](https://gist.github.com/SpicyMarinara/f9bc9390e037978a0f0e56801d52ca6d). Screenshots use isolated fixtures and browser emulation. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:10:30 +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-Engine#8114
No description provided.