mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5936] [MERGED] Issue Sweep: prompt and connection controls #6998
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#6998
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/5936
Author: @SpicyMarinara
Created: 9/7/2026
Status: ✅ Merged
Merged: 9/8/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/issue-sweep-prompt-controls-sep7📝 Commits (7)
aa82956chore: claim assigned prompt and connection controls7ab48d7feat: add prompt history, provider and illustration controlsd53ef1dMerge remote-tracking branch 'origin/staging' into feat/issue-sweep-prompt-controls-sep721ce279Merge remote-tracking branch 'origin/staging' into feat/issue-sweep-prompt-controls-sep7f61bed4fix: preserve prompt review and inherited history defaults560cc06Merge remote-tracking branch 'origin/staging' into feat/issue-sweep-prompt-controls-sep72a2560cfix: share Illustrator review across chat surfaces📊 Changes
30 files changed (+816 additions, -133 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)➕
e2e/prompt-controls.e2e.ts(+295 -0)📝
packages/client/src/components/chat/ChatArea.tsx(+42 -17)📝
packages/client/src/components/chat/ChatConversationSurface.tsx(+1 -1)📝
packages/client/src/components/chat/ChatInput.tsx(+1 -1)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+1 -1)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+5 -9)📝
packages/client/src/components/chat/ConversationInput.tsx(+1 -1)📝
packages/client/src/components/chat/ConversationView.tsx(+1 -1)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+5 -1)📝
packages/client/src/components/game/GameSetupWizard.tsx(+4 -1)📝
packages/client/src/components/ui/GenerationParametersEditor.tsx(+83 -18)📝
packages/client/src/features/chat-settings/sections/AdvancedParametersSection.tsx(+12 -1)📝
packages/client/src/hooks/use-generate.ts(+1 -0)📝
packages/client/src/lib/slash-commands.ts(+4 -4)📝
packages/client/src/localization/locales/en.json(+11 -1)📝
packages/server/src/routes/generate.routes.ts(+7 -39)📝
packages/server/src/routes/generate/dry-run-route.ts(+7 -6)📝
packages/server/src/routes/generate/generate-route-utils.ts(+41 -7)📝
packages/server/src/routes/generate/retry-agents-route.ts(+15 -9)...and 10 more files
📄 Description
Linked issue
Closes #5909
Closes #5910
Closes #5914
Closes #5915
Why this change
Assigned issue sweep for @SpicyMarinara. Users need control over provider routing, non-secret provider headers and history formatting, and a way to illustrate a specific subject without importing the current scene. Existing open/draft PRs, including NanoGPT catalog work in #5771, are excluded.
What changed
/illustratetext through the existing Illustrator override path; explicit subjects omit scene/character reference attachments. Honor the saved image-prompt review preference, including cancellation and editing before sending. Bare/illustrateis unchanged. Reuse the same review dialog in Conversation for its existing server review events.Automated evidence
pnpm check: passed.pnpm regression:prompt: 3 passed.node scripts/run-regressions.mjs --filter scripts/regressions/prompt-controls.regression.ts: passed. Covers all history shapes, leading systems, attachments, immutable inputs, audience filtering, tool exchanges, header validation and captured native-provider HTTP requests. No paid API calls.pnpm exec playwright test e2e/prompt-controls.e2e.ts --workers=1: 6 passed (desktop Chromium, mobile Chromium, mobile WebKit). Uses the real settings UI and server storage/preview endpoints, reloads saved history settings, saves connection headers and routing, checks explicit/bare slash-command dispatch, and verifies typed image-prompt review sends nothing on cancel and only the edited subject on confirmation.The final browser run also covers Conversation review-event visibility/cancellation. Resource creation is enclosed in cleanup, and every owned fixture deletion is started even if another deletion fails. Polling waits for asynchronous metadata persistence without dereferencing absent parameters.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Manually verify custom headers and service tier against the intended live provider, all three history formats against its chat template, and paid Illustrator output for explicit versus bare
/illustrate. Physical iPhone and live paid generation are not claimed; WebKit coverage is browser automation. Checkboxes remain the human contributor's TO-DO list.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedNo release version changes. Canonical UI localization and changelog are included; existing controls/styling are reused.
UI evidence (if applicable)
The browser regression attaches screenshots of post-processing and connection controls for all three projects.
Summary by CodeRabbit
New Features
/illustratenow accepts an optional prompt and supports subject-only image generation during prompt review.Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.