[ResponseOps][Cases] Use one delete confirmation modal in the codebase #198488
Labels
Feature:Cases
Cases feature
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
technical debt
Improvement of the software architecture and operational architecture
I noticed that we have a lot of delete confirmation modal components which are quite similar. We should have one global component that can be used across the codebase. At the moment of writing this issue, there are the following:
DeleteConfirmationModal
inx-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.tsx
ConfirmDeleteCaseModal
inx-pack/plugins/cases/public/components/confirm_delete_case/index.tsx
CancelCreationConfirmationModal
inx-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.tsx
DeleteConfirmationModal
inx-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.tsx
DeleteAttachmentConfirmationModal
inx-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx
The text was updated successfully, but these errors were encountered: