Skip to content

fix(agent-builder): make Enter key press confirm delete alert#3101

Open
veeradyani222 wants to merge 2 commits intoarchestra-ai:mainfrom
veeradyani222:fix/agent-builder-delete-enter
Open

fix(agent-builder): make Enter key press confirm delete alert#3101
veeradyani222 wants to merge 2 commits intoarchestra-ai:mainfrom
veeradyani222:fix/agent-builder-delete-enter

Conversation

@veeradyani222
Copy link
Contributor

@veeradyani222 veeradyani222 commented Mar 4, 2026

/closes #3098

20260304-0135-51.3446153.mp4

Copilot AI review requested due to automatic review settings March 4, 2026 01:39
@London-Cat
Copy link
Collaborator

London-Cat commented Mar 4, 2026

📊 Reputation Summary

User Rep Pull Requests Activity Assigned Core Reactions
veeradyani222 ⚡ 111 7✅ 2🔄 10❌ 13 issues, 50 comments 0

How is the score calculated? Read about it in the Reputation Bot repository 🤖

Copy link
Contributor

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

Fixes the Agent Builder delete confirmation modal so that pressing Enter triggers the destructive Delete action (instead of effectively canceling/closing), aligning behavior with issue #3098.

Changes:

  • Adds an onOpenAutoFocus handler to the delete AlertDialogContent to prevent default autofocus and programmatically focus the confirm/delete action button.

You can also share your feedback on Copilot code review. Take the survey.

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.

[Agent Builder] Enter key press in the "Delete Agent" modal closes dialog instead of actually deleting

3 participants