-
Notifications
You must be signed in to change notification settings - Fork 1.3k
UI Add comprehensive domain deletion confirmation dialog (Feature Request #11497) #12380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Imvedansh
commented
Jan 6, 2026
blueorangutan
commented
Jan 6, 2026
@Imvedansh a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.
blueorangutan
commented
Jan 6, 2026
UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/12380 (QA-JID-838)
Imvedansh
commented
Jan 6, 2026
@DaanHoogland WDYT?
@DaanHoogland
DaanHoogland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
DaanHoogland
commented
Jan 6, 2026
@Imvedansh , I moved it to 4.20 as this is the oldest supported LTS.
DaanHoogland
commented
Jan 6, 2026
blueorangutan
commented
Jan 6, 2026
@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## 4.20 #12380 +/- ## ============================================ - Coverage 16.23% 16.23% -0.01% + Complexity 13382 13380 -2 ============================================ Files 5657 5658 +1 Lines 498999 499042 +43 Branches 60566 60574 +8 ============================================ - Hits 81035 81033 -2 - Misses 408928 408973 +45 Partials 9036 9036
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
blueorangutan
commented
Jan 6, 2026
UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/12380 (QA-JID-839)
Imvedansh
commented
Jan 6, 2026
@DaanHoogland WDYT?
I was working on
@Imvedansh , I moved it to 4.20 as this is the oldest supported LTS.
Yeah , was thinking same.
I was thinking of 4.22 or for now 4.20 is fine?
@shwstppr
shwstppr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need update for async deleteDomain (try deleting a domain which has an account)
ui/src/views/iam/DomainView.vue
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Imvedansh deleteDomain is an async API. You would mostly always get a 200 response as it would return the jobid. So you'll have to poll that job ID instead showing success immediately
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh, alrightyy.
I ll shoot changes shortly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clarification @shwstppr
I’ve updated the UI to treat deleteDomain as an async API by polling the returned jobId using the existing $pollJob helper, consistent with other async actions in the UI.
Success and failure are now shown only after the async job completes.
WDYS?
Implements a confirmation modal for domain deletion that shows detailed impact before proceeding, making it consistent with account deletion
2af3738 to
3562cd3
Compare
DaanHoogland
commented
Jan 13, 2026
blueorangutan
commented
Jan 13, 2026
@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.
blueorangutan
commented
Jan 13, 2026
UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/12380 (QA-JID-845)
DaanHoogland
commented
Jan 13, 2026
looks nice but one issue:
Screenshot 2026年01月13日 at 20 15 15
I think you mean to delete users with the domain, don’t you?
deleting an empty domain works.
Implements a confirmation modal for domain deletion that shows detailed impact before proceeding, making it consistent with account deletion
Description
This PR implements a comprehensive domain deletion confirmation dialog, making the domain deletion process consistent with account deletion and providing better warnings to users about the impact of their actions.
Fixes #11497
New Component: DomainDeleteConfirm
listAccountsandlistVirtualMachinesAPIsTypes of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
Screenshot from 2026年01月05日 22-34-21 Screenshot from 2026年01月05日 22-34-31How Has This Been Tested?
How did you try to break this feature and the system with this change?