mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4263] [MERGED] Fix media prompt edits reverting before generation #6307
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#6307
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/4263
Author: @SpicyMarinara
Created: 7/29/2026
Status: ✅ Merged
Merged: 7/29/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/fix-media-prompt-edit-race-4262📝 Commits (1)
e087974Fix media prompt edit race📊 Changes
2 files changed (+104 additions, -4 deletions)
View changed files
📝
e2e/core-flows.e2e.ts(+85 -0)📝
packages/client/src/components/ui/ImagePromptReviewModal.tsx(+19 -4)📄 Description
Linked issue
Closes #4262
Why this change
itemsarray with a new identity. Routine chat rerenders could therefore erase edits, and clicking Generate guaranteed a rerender when submission state changed.What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated evidence:
pnpm checkpnpm exec playwright test -c playwright.config.ts --grep "image prompt review preserves": 2 passed (desktop Chromium and mobile Chromium).pnpm smoke:ui: the new prompt-review regression passed on both projects within the full run. Overall, 150 passed, 86 skipped, and 12 unrelated pre-existing tests failed.pnpm exec playwright test -c playwright.config.ts --last-failed: the same 12 unrelated failures reproduced from a fresh data directory. They are existing accent-color expectations, a tracker empty-state expectation, and background-library tooltip/API cleanup timeouts; none exercisesImagePromptReviewModal.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
No visual design changed; this PR preserves in-progress editor state.
Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.