mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5871] [MERGED] fix(mobile): recover generation results and compact message controls #6974
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#6974
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/5871
Author: @SpicyMarinara
Created: 9/5/2026
Status: ✅ Merged
Merged: 9/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/iphone-generation-black-screen📝 Commits (8)
72d375dchore: track iPhone generation regression investigatione37721cfix(ui): use active accent for notification bordersbc443ebfix: release completed message animation compositor hints938b411test: document and validate message rendering safeguards4011a25fix: preserve Illustrator retries after passive disconnect8b8502cfix: refresh orphaned generation results when reopening a chate2fcb82fix(mobile): fit action rows and isolate reopened generation recovery0b230a3test: follow shared generation status hook in drawer guard📊 Changes
13 files changed (+636 additions, -19 deletions)
View changed files
📝
CHANGELOG.md(+5 -0)📝
docs/installation/ios-pwa.md(+2 -0)📝
e2e/core-flows.e2e.ts(+70 -4)➕
e2e/generation-recovery.e2e.ts(+190 -0)➕
e2e/message-animation-lifecycle.e2e.ts(+47 -0)📝
packages/client/src/App.tsx(+1 -1)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+5 -7)📝
packages/client/src/components/chat/MessageActionButton.tsx(+1 -1)📝
packages/client/src/hooks/use-chats.ts(+61 -0)📝
packages/client/src/styles/globals.css(+16 -1)📝
packages/server/src/routes/generate/retry-agents-route.ts(+5 -4)➕
scripts/regressions/illustrator-disconnect.regression.ts(+230 -0)📝
scripts/regressions/open-issues.regression.ts(+3 -1)📄 Description
Linked issue
Closes #5873.
Refs #5870. Keep #5870 open for physical iPhone confirmation of the reported persistent black screen.
Why this change
Mari's installed iPhone Home Screen app can become blank after long Roleplay replies/agent work, and reopening does not reliably reveal Illustrator results. Docker stays healthy and Messages per page is 20. Separately, #5873 reports that the recent fixed 44 px mobile action widths force wrapping; the maintainer requests near-old mobile sizing while preserving larger desktop controls.
What changed
will-changedeclaration after message entrance animations. The animation and layout remain intact.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated evidence (checkboxes intentionally remain unchecked for human verification):
pnpm checkpassed, including localization, formatting, lint, E2E types and production/PWA build.e2fcb821cproduction sources; the later0b230a3e7commit changes only an existing source-location regression assertion. The temporary container and synthetic data were removed after testing.Manual verification notes
Manually verify on an actual iPhone Home Screen PWA connected to Docker: long Roleplay replies with agents/Illustrator, app interruption and reopening before the image finishes, and the chosen warning-border accent. Also manually verify Samsung Internet and Firefox Android at 100% browser zoom, with optional message tools enabled.
Claim boundary: removal of an unnecessary long-reply compositor hint is proven, but the physical iPhone WebKit/GPU failure has not been reproduced. This PR mitigates a concrete rendering-pressure source and fixes proven image cancellation/recovery paths; it does not establish guaranteed elimination of all iOS blank screens. Automatic /generate already survives passive disconnects; the server cancellation change specifically concerns Illustrator-only /retry-agents. No private chat screenshots or paid model calls were used.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedUnreleased changelog and iOS PWA troubleshooting updated. Translation follow-up: #5874. Staging only; no main promotion, release/version bump, or unrelated draft changes.
UI evidence (if applicable)
Synthetic before/after browser proof. Includes warning before/after, compact Conversation/Roleplay actions and reopened image delivery. All screenshots use synthetic content.
Summary by CodeRabbit
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.