mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8810] [MERGED] Fix deletion of hidden connection rows #8820
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#8820
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/8810
Author: @Gunterlie
Created: 11/4/2026
Status: ✅ Merged
Merged: 11/4/2026
Merged by: @Gunterlie
Base:
connection-qol← Head:qol/empty-account-delete📝 Commits (1)
e3614effix(connections): delete hidden account rows📊 Changes
5 files changed (+74 additions, -10 deletions)
View changed files
📝
packages/client/src/components/connections/ConnectionAccountEditor.tsx(+10 -3)📝
packages/client/src/components/connections/ConnectionGroup.tsx(+4 -2)📝
packages/client/src/components/connections/ConnectionRow.tsx(+11 -1)📝
packages/client/src/localization/locales/en.json(+1 -0)📝
scripts/regressions/connection-account-delete-confirm.regression.ts(+48 -4)📄 Description
$## Why\n\nDeleting an account could leave server-owned connection rows behind when the Connections panel hid an empty catalog anchor or displayed rows under another account. The delete flow must use server ownership, not only visible panel rows.\n\n## What changed\n\n- Read
/connectionsat delete time and select rows whoseaccountIdmatches the account.\n- Use the same ownership list in the account editor and the Connections panel card.\n- Name every selected saved row in the confirmation.\n- Add a regression for hidden rows, cancellation, and approved deletion.\n\n## Verification\n\n-heavy pnpm check\n-heavy pnpm exec tsx scripts/regressions/connection-account-delete-confirm.regression.ts\n-heavy pnpm regression:ui e2e/connection-account-cleanup.e2e.ts --project=desktop-chromium --workers=1\n-heavy pnpm smoke:ui\n-git diff --cached --check\n\n## Manual verification\n\n- [ ] Manually verify account deletion from the Connections panel when the account has only a hidden catalog anchor.\n- [ ] Manually verify the confirmation names all saved rows in light and dark themes.\n- [ ] Manually verify the account editor uses the same confirmation and deletion behavior on a narrow viewport.\n\n## Review notes\n\nCodeRabbit local review was attempted, but authentication failed for the configured GitHub provider. No CodeRabbit findings were available.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.