[PR #8810] [MERGED] Fix deletion of hidden connection rows #8820

Closed
opened 2026-11-07 17:39:56 +07:00 by bsakaguchi · 0 comments
Owner

📋 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)

  • e3614ef fix(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 /connections at delete time and select rows whose accountId matches 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.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/8810 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 11/4/2026 **Status:** ✅ Merged **Merged:** 11/4/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `connection-qol` ← **Head:** `qol/empty-account-delete` --- ### 📝 Commits (1) - [`e3614ef`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e3614ef0465e4357b7004361493491c5f15c5175) fix(connections): delete hidden account rows ### 📊 Changes **5 files changed** (+74 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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 `/connections` at delete time and select rows whose `accountId` matches 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:39:56 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8820
No description provided.