mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8898] [MERGED] fix(client): Add models keeps a just-picked model and spares saved media connections #8871
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#8871
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/8898
Author: @SpicyMarinara
Created: 11/5/2026
Status: ✅ Merged
Merged: 11/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/v252-add-models-keeps-picks📝 Commits (1)
5856ba1fix(client): Add models keeps a model picked just before Done, and spares saved media connections📊 Changes
5 files changed (+109 additions, -2 deletions)
View changed files
📝
e2e/add-connection-media.e2e.ts(+86 -0)📝
packages/client/src/components/modals/create-connection/CreateConnectionModalContent.tsx(+6 -1)📝
packages/client/src/components/modals/create-connection/ModelsStep.tsx(+4 -0)📝
packages/client/src/components/modals/create-connection/shared.tsx(+2 -0)📝
packages/client/src/hooks/use-connections.ts(+11 -1)📄 Description
Linked issue
Closes #8897
Why this change
The v2.5.2 promotion's full matrix caught a real bug, and the maintainer chose to fix it before the release. Both problems are new since the account-first Connections (#8456); v2.5.1 is unaffected.
DELETE180 ms after Done.What changed
useUpdateConnectionanduseSetConnectionModelPinnedshare a mutation key, anduseIsConnectionSaving()reports whether either is running.ModelsStepreplaces only a truly empty row: no model, no workflow, no parameters. Connect's own empty row still gets replaced.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run checks:
add-connection-media.e2e.ts, desktop-chromium:add-connection-media.e2e.tsandadd-connection.e2e.ts, 15/15 passed.tsc --noEmit,check:e2e-typesand Prettier: pass.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.