mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #529] [MERGED] Fix image prompt review during game startup #4658
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#4658
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/529
Author: @cha1latte
Created: 5/7/2026
Status: ✅ Merged
Merged: 5/7/2026
Merged by: @cha1latte
Base:
main← Head:fix/issue-498-image-prompt-start📝 Commits (1)
3f6296aFix image prompt review during game startup📊 Changes
3 files changed (+127 additions, -120 deletions)
View changed files
➕
docs/pr-evidence/issue-498/issue-498-after.png(+0 -0)➕
docs/pr-evidence/issue-498/issue-498-before.png(+0 -0)📝
packages/client/src/components/game/GameSurface.tsx(+127 -120)📄 Description
## Linked issue
Closes #498
Why this change
What changed
GameImagePromptReviewModalrender expression for game image prompt review.docs/pr-evidence/issue-498/.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
CONTRIBUTING.mdand the local frontend instructions before shipping this focused client change.node scratch\issue-498-repro.mjs; it fails the focused check onupstream/mainbecause the intro branch can open prompt review state without mountingGameImagePromptReviewModal, and passes on this branch because the modal is mounted there.upstream/mainonlocalhost:5175: the first turn reachesPOST /game/generate-assets/preview, but noReview Image Promptmodal is visible while the intro screen remains on scene preparation.localhost:5174: the first turn reachesPOST /game/generate-assets/preview, and theReview Image Promptmodal appears with the generated background prompt.pnpm check; it passed the Impeccable context check, workspace lint/type checks, and production build.Docs and release impact
No docs or release metadata changes needed; this fixes a client UI render path.
UI evidence (if applicable)
Before, upstream reaches image prompt preview during first-turn setup but no prompt review modal is mounted:
After, the same flow shows the prompt review modal during first-turn setup:
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.