-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat(HMS-2994): delete domain confirmation #49
feat(HMS-2994): delete domain confirmation #49
Conversation
7fc1f5e
to
5201edf
Compare
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.
Works well. Mostly LGTM, but see the Q and comment.
src/Components/ConfirmDeleteDomain/ConfirmDeleteDomain.test.tsx
Outdated
Show resolved
Hide resolved
5201edf
to
8d9df0b
Compare
8d9df0b
to
7ab73e4
Compare
I have updated unit tests to be more accurate; the check for the text content of the modal was not working as I expected, so I have removed to avoid confusion; if some immediate way to add the check, happy to know about it. |
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.
It works. Code LGTM. Approving, but see the comment.
7ab73e4
to
c478299
Compare
c478299
to
4d656e0
Compare
This change introduce the delete confirmation modal dialog. This dialog will show up when we click on the kebab menu of the list domains view to delete the item, or when we click on the kebab menu from the detail view of the domain to delete the domain that is being displayed. In both cases, the deletion confirmation modal is showed up, and when we press Delete button the item is eventually deleted from the database. Making click on the modal cross icon or cancel link will dismiss the deletion confirmation modal with no effect on the data stored. Signed-off-by: Alejandro Visiedo <[email protected]>
4d656e0
to
64c5ac3
Compare
This change introduce the delete confirmation modal
dialog.
This dialog will show up when we click on the kebab
menu of the list domains view to delete the item, or
when we click on the kebab menu from the detail view
of the domain to delete the domain that is being
displayed.
In both cases, the deletion confirmation modal is
showed up, and when we press Delete button the
item is eventually deleted from the database.
Making click on the modal cross icon or cancel link
will dismiss the deletion confirmation modal with
no effect on the data stored.