Skip to content

Conversation

@paustint
Copy link
Contributor

If an org has a connection error of any kind
a delete button shows up to make deleting easier

Copilot AI review requested due to automatic review settings December 31, 2025 14:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds a delete button to Salesforce org cards when they have connection errors, making it easier for users to remove problematic orgs. The delete button appears alongside the "Reconnect Org" button and includes a confirmation modal for safety.

Key Changes:

  • Added delete button to org cards with connection errors
  • Implemented confirmation dialog before org removal
  • Passed remove handler from parent component to connection refresh component

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
libs/features/org-groups/src/lib/SalesforceOrgCardDraggable.tsx Passed the onRemoveOrg handler to the SalesforceOrgCardConnectionRefresh component
libs/features/org-groups/src/lib/SalesforceOrgCardConnectionRefresh.tsx Added delete button UI, confirmation modal logic, and prop interface updates for org removal

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

If an org has a connection error of any kind
a delete button shows up to make deleting easier
@paustint paustint force-pushed the feat/remove-org-from-card branch from 309b847 to 81e3504 Compare January 1, 2026 14:21
@paustint paustint merged commit 1cc661a into main Jan 1, 2026
9 checks passed
@paustint paustint deleted the feat/remove-org-from-card branch January 1, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants