mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4759] [MERGED] fix(noodle): add Restore Default to Image Instructions prompt #6489
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#6489
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/4759
Author: @Gunterlie
Created: 8/8/2026
Status: ✅ Merged
Merged: 8/8/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/4758-image-instructions-restore-default📝 Commits (5)
34d7e3efix(noodle): add Restore Default to Image Instructions prompt6cc6d7cfix(noodle): localize editor cancel label, close image prompt editor on save successe2a3f0efix(noodle): ignore image prompt editor close while save is in flighta10a0e2fix(noodle): disable image instructions Edit prompt while settings save is pendingaab19d5fix(noodle): freeze image instructions draft while save is in flight📊 Changes
1 file changed (+124 additions, -24 deletions)
View changed files
📝
packages/client/src/components/noodle/NoodleHome.tsx(+124 -24)📄 Description
Linked issue
Closes #4758
Why this change
What changed
packages/client/src/components/noodle/NoodleHome.tsx: replaced the plain Image Instructions textarea with the same card shape used by the Timeline Base Prompt — icon, title, Default/Custom badge, 3-line preview, and Restore default + Edit prompt buttons.ExpandedTextareaeditor modal for the field (Restore default / Cancel / Save prompt), with the default prompt as placeholder ghost text so an emptied field still shows the expected format.DEFAULT_NOODLE_SETTINGS.imageGenerationPrompt, since this setting is a plain string in noodle settings rather than a prompt-override record like the Timeline Base Prompt.ui.noodle.noodlehome.restoreDefault/editPrompt/savePromptstrings; no new locale keys.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent ran only
tsc --noEmitandeslinton the changed file; both clean. Fullpnpm checkand every item below still need a human. To verify: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)
Not captured — needs a screenshot of the new Image Instructions card next to the Timeline Base Prompt card before merge.
Summary by CodeRabbit
New Features
Improvements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.