Skip to content

[ZEPPELIN-6774] Label the pending Assistant delete action Close - #5619

Merged
voidmatcha merged 1 commit into
apache:masterfrom
miinhho:ZEPPELIN-6774-assistant-delete-dismiss
Nov 26, 2026
Merged

voidmatcha merged 1 commit into
apache:masterfrom
miinhho:ZEPPELIN-6774-assistant-delete-dismiss

Conversation

@miinhho

@miinhho miinhho commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

What is this PR for?

After a user confirms deletion of an AI Assistant conversation, the dialog still labels its dismiss action Cancel, even though dismissing it cannot cancel the request. Use Close while deletion is pending and keep Cancel before confirmation. Deletion and focus restoration behavior are unchanged.

What type of PR is it?

Bug Fix

What is the Jira issue?

How should this be tested?

From zeppelin-web-angular/projects/zeppelin-react, run:

npm test -- AssistantConversationPanel.spec.tsx -t 'delet|modal Escape'

Verify that Cancel before confirmation sends no delete request. With a delete response delayed, verify that Close and Escape dismiss the dialog and return focus to the trigger without aborting or repeating the request. Once the request succeeds, the conversation should disappear from the list.

Questions:

  • Does the license files need to update? No.
  • Is there breaking changes for older versions? No.
  • Does this needs documentation? No.

- Keep the delete request in flight when the dialog is dismissed.
- Verify dismissal, focus restoration, and completion with a delayed request.
@voidmatcha
voidmatcha merged commit f3f6036 into apache:master Nov 26, 2026
30 checks passed
@voidmatcha

Copy link
Copy Markdown
Member

Merged into master (f3f6036).

@miinhho
miinhho deleted the ZEPPELIN-6774-assistant-delete-dismiss branch November 26, 2026 18:59
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.

3 participants