Skip to content

fix: make Enter key press confirm delete dialog on agents table#3100

Open
veeradyani222 wants to merge 1 commit intoarchestra-ai:mainfrom
veeradyani222:fix/agents-table-delete-enter
Open

fix: make Enter key press confirm delete dialog on agents table#3100
veeradyani222 wants to merge 1 commit intoarchestra-ai:mainfrom
veeradyani222:fix/agents-table-delete-enter

Conversation

@veeradyani222
Copy link
Contributor

@veeradyani222 veeradyani222 commented Mar 4, 2026

/closes #3099

20260304-0122-31.3202169.mp4

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

London-Cat commented Mar 4, 2026

📊 Reputation Summary

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

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

@veeradyani222 veeradyani222 changed the title fix(agents): make Enter confirm delete dialog on agents table fix: make Enter key press confirm delete dialog on agents table Mar 4, 2026
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

This PR addresses issue #3099 on the /agents page where pressing Enter in the “Delete Agent” confirmation dialog cancels/closes the modal instead of confirming deletion.

Changes:

  • Adds focus management to the delete confirmation dialog so the primary “Delete Agent” action is focused on open.
  • Introduces a useRef hook intended to focus the destructive submit button when the dialog opens.

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.

[Agents Table] Enter key in Delete modal closes dialog instead of deleting

3 participants