Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
improvement(ui): rename DeleteConfirmDialog to ConfirmationAlertDialog (#8717)
Andrew Huangd9b98e8d7068
diff --git a/frontend/src/components/COMPONENT_LIFECYCLE.md b/frontend/src/components/COMPONENT_LIFECYCLE.mdindex 4d5225bb15..1374315e55 100644--- a/frontend/src/components/COMPONENT_LIFECYCLE.md+++ b/frontend/src/components/COMPONENT_LIFECYCLE.md@@ -11,7 +11,7 @@ The [V3 migration ledger](V3_MIGRATION.md) tracks source removal, coverage, and| `FilterableSelect` | Deprecated | Use V3 `Combobox` where its contract fits. || `Button`, `Card`, `Checkbox`, `EmptyState`, `IconButton`, `Input`, `Pagination`, `Select`, `Switch`, `TextArea`, `Tooltip` | Ready for focused deprecation | Supported V3 replacements exist. Check representative consumers before adding component-specific guidance. || `Accordion`, `Alert`, `CopyButton`, `Dropdown`, `HoverCardv2`, `Skeleton`, `Spinner`, `Table`, `Tabs` | Blocked | Composition, interaction, or state parity still needs verification. |-| `ConfirmActionModal`, `DeleteActionModal` | Deprecated | Use V3 `DeleteConfirmDialog` and follow the overlay recipe in the [V3 migration ledger](V3_MIGRATION.md#overlay-migration-recipe). `ConfirmActionModal` has no remaining consumers. The last `DeleteActionModal` consumer is under Secret Scanning, so removal waits for that area. |+| `ConfirmActionModal`, `DeleteActionModal` | Deprecated | Use V3 `ConfirmationAlertDialog` and follow the overlay recipe in the [V3 migration ledger](V3_MIGRATION.md#overlay-migration-recipe). `ConfirmActionModal` has no remaining consumers. The last `DeleteActionModal` consumer is under Secret Scanning, so removal waits for that area. || `Modal` | Ready for focused deprecation | Follow the overlay recipe in the [V3 migration ledger](V3_MIGRATION.md#overlay-migration-recipe). || `ContentLoader`, `FormControl`, `GenericFieldLabel`, `Tag` | Blocked | The V3 replacements require consumer-specific composition or accessibility changes. || `SecretInput` | Blocked | Security-sensitive or specialist behavior needs workflow-level parity validation. |@@ -27,6 +27,7 @@ The 2026-10-04 source audit found no external consumers of `Blur`, `CreatableSel| Components | Status | Direction || ------------------------------ | ---------- | --------------------------------------------------------------------- || `PageHeader` | Supported | Owns the normal 40px bottom boundary (`mb-10`). Remove header-boundary parent gaps and redundant caller margins when adopting it; preserve independent body/card spacing in body containers. `className` supports intentional compact/responsive boundaries. See its spacing stories. |+| `DeleteConfirmDialog` | Deprecated | Renamed to `ConfirmationAlertDialog`, which also covers non-delete confirms. The alias stays only so in-flight branches compile; remove it once no import remains. || `ReactSelect/FilterableSelect` | Deprecated | Use `Combobox`; keep compatibility available while consumers migrate. || `ReactSelect/CreatableSelect` | Deprecated | Use `Combobox` with inline `creation` for values needing no metadata, or dialog `creation` for caller-owned forms and persistence. Keep compatibility for react-select-specific component overrides; migrate consumers separately. |diff --git a/frontend/src/components/V3_MIGRATION.md b/frontend/src/components/V3_MIGRATION.mdindex e633e278d0..da9eb560bf 100644--- a/frontend/src/components/V3_MIGRATION.md+++ b/frontend/src/components/V3_MIGRATION.md@@ -34,12 +34,12 @@ In the table, E is the number of external consumer files and I is the number of| `Button/Button.tsx` | 141 / 4 | V3 Button; map intent, disabled/loading, type, refs, and permissions per flow. | `frontend/src/pages/middlewares/restrict-login-signup.tsx:61` || `Card/Card.tsx` | 66 / 2 | V3 Card slots; preserve layout and state-bearing children. | `frontend/src/pages/secret-manager/integrations/SelectIntegrationAuthPage/SelectIntegrationAuthPage.tsx:164` || `Checkbox/Checkbox.tsx` | 11 / 1 | V3 Checkbox + Field; verify controlled/indeterminate state and labels. | `frontend/src/pages/organization/AccessManagementPage/components/UpgradePrivilegeSystemModal/UpgradePrivilegeSystemModal.tsx:180` |-| `ConfirmActionModal/ConfirmActionModal.tsx` | 2 / 0 | V3 `DeleteConfirmDialog` with a non-danger `confirmVariant`; follow the overlay recipe. | `frontend/src/pages/auth/AccountRecoveryResetPage/AccountRecoveryResetPage.tsx:94` |+| `ConfirmActionModal/ConfirmActionModal.tsx` | 2 / 0 | V3 `ConfirmationAlertDialog` with a non-danger `confirmVariant`; follow the overlay recipe. | `frontend/src/pages/auth/AccountRecoveryResetPage/AccountRecoveryResetPage.tsx:94` || `ContentLoader/ContentLoader.tsx` | 12 / 0 | V3 Loader/PageLoader composition; preserve pending boundaries. Visible copy maps to PageLoader `text`; wrap PageLoader in an `h-screen` container where the page needs full viewport height. | `frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx:446` || `CopyButton/CopyButton.tsx` | 2 / 0 | V3 CopyButton; verify exact copy, failure feedback, and labels. | `frontend/src/pages/cert-manager/CertificateDetailsByIDPage/components/CertificateDetailsSection.tsx:275` || `CreatableSelect/CreatableSelect.tsx` | 0 / 0 | Deleted in first wave; no consumer. | No incoming non-export edge or external symbol reference. || `DatePicker/DatePicker.tsx` | 0 / 0 | Deleted in first wave; no active date contract replaced. | Only its own barrel exported it. |-| `DeleteActionModal/DeleteActionModal.tsx` | 56 / 0 | V3 `DeleteConfirmDialog`; follow the overlay recipe for confirmation gates, mutations, cleanup, and error recovery. | `frontend/src/pages/organization/AccessManagementPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsSection.tsx:121` |+| `DeleteActionModal/DeleteActionModal.tsx` | 56 / 0 | V3 `ConfirmationAlertDialog`; follow the overlay recipe for confirmation gates, mutations, cleanup, and error recovery. | `frontend/src/pages/organization/AccessManagementPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsSection.tsx:121` || `Divider/Divider.tsx` | 0 / 0 | Deleted in first wave; no consumer. | Only its own/root barrels exported it. || `Drawer/Drawer.tsx` | 0 / 0 | Deleted in first wave; no consumer. | Only its own/root barrels exported it. || `Dropdown/Dropdown.tsx` | 23 / 2 | V3 DropdownMenu; check checkbox/radio, submenu, disabled actions, and focus. | `frontend/src/pages/secret-scanning/SecretScanningFindingsPage/components/SecretScanningFindingRow.tsx:137` |@@ -149,12 +149,12 @@ Before each wave, record changed source paths, risk, state/security contracts, nUse this recipe for every V2 `Modal`, `DeleteActionModal`, and `ConfirmActionModal` consumer. The V3 overlays own the shared behavior, so a consumer migration maps props and structure and adds no per-callsite Escape, focus, pending, or stacking code.-**What the V3 contract provides.** `DialogContent`, `SheetContent`, `AlertDialogContent`, and `DeleteConfirmDialog` provide these behaviors without consumer code:+**What the V3 contract provides.** `DialogContent`, `SheetContent`, `AlertDialogContent`, and `ConfirmationAlertDialog` provide these behaviors without consumer code:-- **Innermost layer first.** Escape or an outside click closes an open nested popup first. The next Escape or outside click reaches the overlay. Radix popups (`Select`, `DropdownMenu`, `Tooltip`, `HoverCard`, `Popover`) do this natively. `Combobox` registers its open popup with the nearest `DialogContent`, `SheetContent`, or `AlertDialogContent` (which includes `DeleteConfirmDialog`), and an event that closed the popup cannot also close the overlay. Inside an overlay, `Combobox` defaults to `modal`.-- **Pending close.** While `isPending` is true on `DialogContent` or `SheetContent`, Escape, outside clicks, the built-in close button, and every `DialogClose` or `SheetClose` cannot dismiss the overlay. `DeleteConfirmDialog` locks itself while `onConfirm` is in flight, disables Cancel and the input, and shows the pending state on its confirm button.+- **Innermost layer first.** Escape or an outside click closes an open nested popup first. The next Escape or outside click reaches the overlay. Radix popups (`Select`, `DropdownMenu`, `Tooltip`, `HoverCard`, `Popover`) do this natively. `Combobox` registers its open popup with the nearest `DialogContent`, `SheetContent`, or `AlertDialogContent` (which includes `ConfirmationAlertDialog`), and an event that closed the popup cannot also close the overlay. Inside an overlay, `Combobox` defaults to `modal`.+- **Pending close.** While `isPending` is true on `DialogContent` or `SheetContent`, Escape, outside clicks, the built-in close button, and every `DialogClose` or `SheetClose` cannot dismiss the overlay. `ConfirmationAlertDialog` locks itself while `onConfirm` is in flight, disables Cancel and the input, and shows the pending state on its confirm button.- **Focus return.** Closing returns focus to the element that opened the overlay. When a V3 `DropdownMenuItem` opened it, focus returns to that menu's trigger. No refs or `onCloseAutoFocus` handlers are needed. If the opener no longer exists, for example a row removed by a successful delete, Radix's default applies.-- **Typed confirmation.** `DeleteConfirmDialog` compares the typed value with `confirmKey`, resets it on every open and close, submits on Enter only when it matches, and keeps the dialog open if `onConfirm` rejects. The global mutation error toast reports the failure.+- **Typed confirmation.** `ConfirmationAlertDialog` compares the typed value with `confirmKey`, resets it on every open and close, submits on Enter only when it matches, and keeps the dialog open if `onConfirm` rejects. The global mutation error toast reports the failure.**Choose the target.**@@ -162,8 +162,8 @@ Use this recipe for every V2 `Modal`, `DeleteActionModal`, and `ConfirmActionMod| --- | --- || `Modal` + `ModalContent` with a short form or prompt | `Dialog` + `DialogContent` || `Modal` + `ModalContent` with a large or multi-step form | `Sheet` + `SheetContent` (see `DESIGN.md`) |-| `DeleteActionModal` | `DeleteConfirmDialog` from `@app/components/v3/platform` |-| `ConfirmActionModal` | `DeleteConfirmDialog` with a non-danger `confirmVariant` |+| `DeleteActionModal` | `ConfirmationAlertDialog` from `@app/components/v3/platform` |+| `ConfirmActionModal` | `ConfirmationAlertDialog` with a non-danger `confirmVariant` |**`Modal` and `ModalContent` mapping.**@@ -250,7 +250,7 @@ After:**`DeleteActionModal` and `ConfirmActionModal` mapping.**-| V2 | `DeleteConfirmDialog` |+| V2 | `ConfirmationAlertDialog` || --- | --- || `isOpen` | `isOpen` || `onChange` | `onOpenChange` |@@ -283,7 +283,7 @@ Before:After:```tsx-<DeleteConfirmDialog+<ConfirmationAlertDialogisOpen={popUp.removeMember.isOpen}title={`Are you sure you want to remove member with username ${username}?`}description="This action is irreversible."@@ -299,9 +299,9 @@ After:- **No `autoFocus` inside V3 overlays.** `autoFocus` moves focus before the overlay records its opener, so focus cannot return on close. The overlay already focuses the first field.- **Menu triggers.** Focus returns to a menu trigger only when the menu is a V3 `DropdownMenu`. When the trigger is still a V2 `Dropdown`, migrate that menu in the same change or record that focus returns to the page.- **Chained confirmations.** If `onConfirm` opens a second dialog instead of closing, as `IntegrationsDetailsByIDPage` does, keep that control flow and check the second dialog's focus return.-- **Pending state outside the form.** If the mutation runs in the parent, pass the mutation's `isPending` to `DialogContent` or `DeleteConfirmDialog`. Do not add `onOpenChange` guards.+- **Pending state outside the form.** If the mutation runs in the parent, pass the mutation's `isPending` to `DialogContent` or `ConfirmationAlertDialog`. Do not add `onOpenChange` guards.- **Reset and discard.** Keep the consumer's `reset()` or state clearing on close. Radix unmounts closed content, so state inside the content subtree resets by itself. Add `useDiscardChangesGuard` only when the product asks for a dirty-form guard; V2 never had one.-- **Existing AlertDialog compositions** with `confirmationValue` do not lock while pending. New typed confirmations use `DeleteConfirmDialog`.+- **Existing AlertDialog compositions** with `confirmationValue` do not lock while pending. New typed confirmations use `ConfirmationAlertDialog`.- **Proof.** For each sweep, open each migrated overlay once in the preview: Escape with a nested popup open, Escape and an outside click while a mutation is pending, and focus after close.## Completion acceptancediff --git a/frontend/src/components/secret-rotations-v2/DeleteSecretRotationV2Modal.tsx b/frontend/src/components/secret-rotations-v2/DeleteSecretRotationV2Modal.tsxindex 8d7db46c23..f81f19d8d3 100644--- a/frontend/src/components/secret-rotations-v2/DeleteSecretRotationV2Modal.tsx+++ b/frontend/src/components/secret-rotations-v2/DeleteSecretRotationV2Modal.tsx@@ -2,7 +2,7 @@ import { useEffect, useState } from "react";import { createNotification } from "@app/components/notifications";import { Field, FieldContent, FieldDescription, FieldLabel, Toggle } from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import { SECRET_ROTATION_MAP } from "@app/helpers/secretRotationsV2";import { TSecretRotationV2 } from "@app/hooks/api/secretRotationsV2";import { useDeleteSecretRotationV2 } from "@app/hooks/api/secretRotationsV2/mutations";@@ -57,7 +57,7 @@ export const DeleteSecretRotationV2Modal = ({};return (- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isOpen}onOpenChange={onOpenChange}title={`Are you sure you want to delete ${name}?`}@@ -95,6 +95,6 @@ export const DeleteSecretRotationV2Modal = ({onCheckedChange={setDeleteSecrets}/></Field>- </DeleteConfirmDialog>+ </ConfirmationAlertDialog>);};diff --git a/frontend/src/components/v2/ConfirmActionModal/ConfirmActionModal.tsx b/frontend/src/components/v2/ConfirmActionModal/ConfirmActionModal.tsxindex 078c7ccbca..0e243c401a 100644--- a/frontend/src/components/v2/ConfirmActionModal/ConfirmActionModal.tsx+++ b/frontend/src/components/v2/ConfirmActionModal/ConfirmActionModal.tsx@@ -22,7 +22,7 @@ type Props = {};/**- * @deprecated Use the v3 `DeleteConfirmDialog` from `@app/components/v3` with a non-danger+ * @deprecated Use the v3 `ConfirmationAlertDialog` from `@app/components/v3` with a non-danger* `confirmVariant`. See the overlay recipe in `components/V3_MIGRATION.md` for the prop mapping.*/export const ConfirmActionModal = ({diff --git a/frontend/src/components/v2/DeleteActionModal/DeleteActionModal.tsx b/frontend/src/components/v2/DeleteActionModal/DeleteActionModal.tsxindex edc133d0a4..14d337bead 100644--- a/frontend/src/components/v2/DeleteActionModal/DeleteActionModal.tsx+++ b/frontend/src/components/v2/DeleteActionModal/DeleteActionModal.tsx@@ -24,7 +24,7 @@ type Props = {};/**- * @deprecated Use the v3 `DeleteConfirmDialog` from `@app/components/v3`. See the overlay recipe in+ * @deprecated Use the v3 `ConfirmationAlertDialog` from `@app/components/v3`. See the overlay recipe in* `components/V3_MIGRATION.md` for the prop mapping.*/export const DeleteActionModal = ({diff --git a/frontend/src/components/v3/platform/DeleteConfirmDialog/DeleteConfirmDialog.stories.tsx b/frontend/src/components/v3/platform/ConfirmationAlertDialog/ConfirmationAlertDialog.stories.tsxsimilarity index 78%rename from frontend/src/components/v3/platform/DeleteConfirmDialog/DeleteConfirmDialog.stories.tsxrename to frontend/src/components/v3/platform/ConfirmationAlertDialog/ConfirmationAlertDialog.stories.tsxindex 4d1fdae83c..ca05048436 100644--- a/frontend/src/components/v3/platform/DeleteConfirmDialog/DeleteConfirmDialog.stories.tsx+++ b/frontend/src/components/v3/platform/ConfirmationAlertDialog/ConfirmationAlertDialog.stories.tsx@@ -4,15 +4,16 @@ import { TrashIcon } from "lucide-react";import { Alert, AlertDescription } from "../../generic/Alert";import { Button } from "../../generic/Button";-import { DeleteConfirmDialog } from "./DeleteConfirmDialog";+import { ConfirmationAlertDialog } from "./ConfirmationAlertDialog";/**- * DeleteConfirmDialog is the canonical typed-confirmation pattern for destructive deletion and- * removal actions. Use a plain AlertDialog when typed confirmation is not warranted.+ * ConfirmationAlertDialog is the canonical typed-confirmation pattern for destructive and other+ * high-consequence actions, such as delete, revoke, or rotate. Use a plain AlertDialog when typed+ * confirmation is not warranted.*/const meta = {- title: "Platform/Delete Confirm Dialog",- component: DeleteConfirmDialog,+ title: "Platform/Confirmation Alert Dialog",+ component: ConfirmationAlertDialog,parameters: {layout: "centered"},@@ -41,14 +42,14 @@ const meta = {}}}-} satisfies Meta<typeof DeleteConfirmDialog>;+} satisfies Meta<typeof ConfirmationAlertDialog>;export default meta;type Story = StoryObj<typeof meta>;const PROJECT_NAME = "production-api";-const DeleteConfirmDialogStory = () => {+const ConfirmationAlertDialogStory = () => {const [isOpen, setIsOpen] = useState(false);return (@@ -57,7 +58,7 @@ const DeleteConfirmDialogStory = () => {<TrashIcon />Delete Project</Button>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isOpen}onOpenChange={setIsOpen}title="Delete project?"@@ -91,5 +92,5 @@ export const Default: Story = {}}},- render: () => <DeleteConfirmDialogStory />+ render: () => <ConfirmationAlertDialogStory />};diff --git a/frontend/src/components/v3/platform/DeleteConfirmDialog/DeleteConfirmDialog.tsx b/frontend/src/components/v3/platform/ConfirmationAlertDialog/ConfirmationAlertDialog.tsxsimilarity index 93%rename from frontend/src/components/v3/platform/DeleteConfirmDialog/DeleteConfirmDialog.tsxrename to frontend/src/components/v3/platform/ConfirmationAlertDialog/ConfirmationAlertDialog.tsxindex a9e390241a..8da435a081 100644--- a/frontend/src/components/v3/platform/DeleteConfirmDialog/DeleteConfirmDialog.tsx+++ b/frontend/src/components/v3/platform/ConfirmationAlertDialog/ConfirmationAlertDialog.tsx@@ -28,7 +28,7 @@ type Props = {children?: ReactNode;};-export const DeleteConfirmDialog = ({+export const ConfirmationAlertDialog = ({isOpen,onOpenChange,isPending,@@ -120,3 +120,9 @@ export const DeleteConfirmDialog = ({</AlertDialog>);};++/**+ * @deprecated Renamed to `ConfirmationAlertDialog`. Kept so in-flight branches keep compiling;+ * import `ConfirmationAlertDialog` instead.+ */+export const DeleteConfirmDialog = ConfirmationAlertDialog;diff --git a/frontend/src/components/v3/platform/ConfirmationAlertDialog/index.ts b/frontend/src/components/v3/platform/ConfirmationAlertDialog/index.tsnew file mode 100644index 0000000000..3de8b6a046--- /dev/null+++ b/frontend/src/components/v3/platform/ConfirmationAlertDialog/index.ts@@ -0,0 +1 @@+export * from "./ConfirmationAlertDialog";diff --git a/frontend/src/components/v3/platform/DeleteConfirmDialog/index.ts b/frontend/src/components/v3/platform/DeleteConfirmDialog/index.tsdeleted file mode 100644index 9cef225b0c..0000000000--- a/frontend/src/components/v3/platform/DeleteConfirmDialog/index.ts+++ /dev/null@@ -1 +0,0 @@-export * from "./DeleteConfirmDialog";diff --git a/frontend/src/components/v3/platform/index.ts b/frontend/src/components/v3/platform/index.tsindex e90b2cf47f..665b0f898e 100644--- a/frontend/src/components/v3/platform/index.ts+++ b/frontend/src/components/v3/platform/index.ts@@ -1,6 +1,6 @@export * from "./AccessRestricted";+export * from "./ConfirmationAlertDialog";export * from "./DateRangeFilter";-export * from "./DeleteConfirmDialog";export * from "./DocumentationLinkBadge";export * from "./EmailInput";export * from "./GatewayPicker";diff --git a/frontend/src/pages/agent-vault/AgentVaultAccessBundleDetailPage/components/ServicesCard.tsx b/frontend/src/pages/agent-vault/AgentVaultAccessBundleDetailPage/components/ServicesCard.tsxindex 0f58e3d003..b6d285b8fa 100644--- a/frontend/src/pages/agent-vault/AgentVaultAccessBundleDetailPage/components/ServicesCard.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultAccessBundleDetailPage/components/ServicesCard.tsx@@ -21,7 +21,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DocumentationLinkBadge,DropdownMenu,DropdownMenuContent,@@ -282,7 +282,7 @@ export const ServicesCard = ({ accessBundleId, services, canManage, onAdd, onEdi</Table>)}- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={Boolean(serviceToDelete)}onOpenChange={(isOpen) => {if (!isOpen) setServiceToDelete(null);diff --git a/frontend/src/pages/agent-vault/AgentVaultAccessBundlesPage/components/DeleteAccessBundleDialog.tsx b/frontend/src/pages/agent-vault/AgentVaultAccessBundlesPage/components/DeleteAccessBundleDialog.tsxindex e5a53c04a2..ee26e9ecac 100644--- a/frontend/src/pages/agent-vault/AgentVaultAccessBundlesPage/components/DeleteAccessBundleDialog.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultAccessBundlesPage/components/DeleteAccessBundleDialog.tsx@@ -1,5 +1,5 @@import { createNotification } from "@app/components/notifications";-import { DeleteConfirmDialog } from "@app/components/v3";+import { ConfirmationAlertDialog } from "@app/components/v3";import { useDeleteAgentVaultAccessBundle } from "@app/hooks/api/agentVault";import { TAgentVaultAccessBundle } from "@app/hooks/api/agentVault/types";@@ -26,7 +26,7 @@ export const DeleteAccessBundleDialog = ({ accessBundle, onOpenChange, onDeleted};return (- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={Boolean(accessBundle)}onOpenChange={onOpenChange}title={`Delete "${accessBundle?.name}"`}diff --git a/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/GroupsTab.tsx b/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/GroupsTab.tsxindex a878d86075..3d61bcdbba 100644--- a/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/GroupsTab.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/GroupsTab.tsx@@ -9,7 +9,7 @@ import {Button,Card,CardContent,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -212,7 +212,7 @@ export const GroupsTab = () => {subject={groupToEdit?.name ?? ""}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={Boolean(groupToRemove)}onOpenChange={(isOpen) => {if (!isOpen) setGroupToRemove(null);diff --git a/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/IdentitiesTab.tsx b/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/IdentitiesTab.tsxindex 5d408f0608..676e81ee67 100644--- a/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/IdentitiesTab.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/IdentitiesTab.tsx@@ -19,7 +19,7 @@ import {Button,Card,CardContent,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -298,7 +298,7 @@ export const IdentitiesTab = () => {subject={toEdit?.name ?? ""}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={Boolean(toRemove)}onOpenChange={(isOpen) => {if (!isOpen) setToRemove(null);diff --git a/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/MembersTab.tsx b/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/MembersTab.tsxindex 5983b403d5..50fe63177f 100644--- a/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/MembersTab.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/MembersTab.tsx@@ -12,7 +12,7 @@ import {Button,Card,CardContent,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -264,7 +264,7 @@ export const MembersTab = () => {subject={memberToEdit ? memberDisplayName(memberToEdit) : ""}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={Boolean(memberToRemove)}onOpenChange={(isOpen) => {if (!isOpen) setMemberToRemove(null);diff --git a/frontend/src/pages/agent-vault/AgentVaultProxiesPage/AgentVaultProxiesPage.tsx b/frontend/src/pages/agent-vault/AgentVaultProxiesPage/AgentVaultProxiesPage.tsxindex 091a2b4633..afe6894c8f 100644--- a/frontend/src/pages/agent-vault/AgentVaultProxiesPage/AgentVaultProxiesPage.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultProxiesPage/AgentVaultProxiesPage.tsx@@ -33,8 +33,8 @@ import {CardDescription,CardHeader,CardTitle,+ ConfirmationAlertDialog,CopyButton,- DeleteConfirmDialog,DocumentationLinkBadge,DropdownMenu,DropdownMenuContent,@@ -478,7 +478,7 @@ export const AgentVaultProxiesPage = () => {</AlertDialogContent></AlertDialog>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={Boolean(proxyToRevoke)}onOpenChange={(isOpen) => {if (!isOpen) setProxyToRevoke(null);@@ -491,7 +491,7 @@ export const AgentVaultProxiesPage = () => {onConfirm={handleRevoke}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={Boolean(proxyToDelete)}onOpenChange={(isOpen) => {if (!isOpen) setProxyToDelete(null);diff --git a/frontend/src/pages/agent-vault/AgentVaultSessionsPage/components/RevokeSessionDialog.tsx b/frontend/src/pages/agent-vault/AgentVaultSessionsPage/components/RevokeSessionDialog.tsxindex 93fe5fe688..2b369956a8 100644--- a/frontend/src/pages/agent-vault/AgentVaultSessionsPage/components/RevokeSessionDialog.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultSessionsPage/components/RevokeSessionDialog.tsx@@ -1,6 +1,6 @@import { memberDisplayName } from "@app/components/agent-vault/MemberName";import { createNotification } from "@app/components/notifications";-import { DeleteConfirmDialog } from "@app/components/v3";+import { ConfirmationAlertDialog } from "@app/components/v3";import { useRevokeAgentVaultSession } from "@app/hooks/api/agentVault";import { TAgentVaultSession } from "@app/hooks/api/agentVault/types";@@ -28,7 +28,7 @@ export const RevokeSessionDialog = ({ session, onOpenChange }: Props) => {};return (- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={Boolean(session)}onOpenChange={onOpenChange}title={`Revoke Session for "${session ? memberDisplayName(session.actor) : ""}"`}diff --git a/frontend/src/pages/auth/AccountRecoveryResetPage/AccountRecoveryResetPage.tsx b/frontend/src/pages/auth/AccountRecoveryResetPage/AccountRecoveryResetPage.tsxindex 0907b4ef75..229496eedb 100644--- a/frontend/src/pages/auth/AccountRecoveryResetPage/AccountRecoveryResetPage.tsx+++ b/frontend/src/pages/auth/AccountRecoveryResetPage/AccountRecoveryResetPage.tsx@@ -3,7 +3,7 @@ import { useNavigate, useSearch } from "@tanstack/react-router";import { AuthPageLayout } from "@app/components/auth/AuthPageLayout";import { createNotification } from "@app/components/notifications";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import { usePopUp } from "@app/hooks";import { useEnableEmailAuthAccountRecovery } from "@app/hooks/api";@@ -91,7 +91,7 @@ export const AccountRecoveryResetPage = () => {onBack={() => setStep(Steps.SelectRecoveryMethod)}/>)}- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.confirmEnableEmailAuth.isOpen}confirmKey="enable"title="Enable Email Authentication"diff --git a/frontend/src/pages/cert-manager/AlertingPage/components/PkiAlertsSection.tsx b/frontend/src/pages/cert-manager/AlertingPage/components/PkiAlertsSection.tsxindex 5dbb3c4392..db3c490dd8 100644--- a/frontend/src/pages/cert-manager/AlertingPage/components/PkiAlertsSection.tsx+++ b/frontend/src/pages/cert-manager/AlertingPage/components/PkiAlertsSection.tsx@@ -1,5 +1,5 @@import { createNotification } from "@app/components/notifications";-import { DeleteConfirmDialog } from "@app/components/v3";+import { ConfirmationAlertDialog } from "@app/components/v3";import { useProject } from "@app/context";import { useDeletePkiAlert } from "@app/hooks/api";import { usePopUp } from "@app/hooks/usePopUp";@@ -45,7 +45,7 @@ export const PkiAlertsSection = () => {</div><PkiAlertsTable handlePopUpOpen={handlePopUpOpen} /><PkiAlertModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deletePkiAlert.isOpen}description="This action is irreversible."title={`Are you sure you want to remove the alert ${diff --git a/frontend/src/pages/cert-manager/AlertingPage/components/PkiCollectionSection.tsx b/frontend/src/pages/cert-manager/AlertingPage/components/PkiCollectionSection.tsxindex 1472ca812e..47c4918fe8 100644--- a/frontend/src/pages/cert-manager/AlertingPage/components/PkiCollectionSection.tsx+++ b/frontend/src/pages/cert-manager/AlertingPage/components/PkiCollectionSection.tsx@@ -4,7 +4,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { createNotification } from "@app/components/notifications";import { ProjectPermissionCan } from "@app/components/permissions";import { Button } from "@app/components/v2";-import { DeleteConfirmDialog } from "@app/components/v3";+import { ConfirmationAlertDialog } from "@app/components/v3";import { ProjectPermissionActions, ProjectPermissionSub, useProject } from "@app/context";import { useDeletePkiCollection } from "@app/hooks/api";import { usePopUp } from "@app/hooks/usePopUp";@@ -60,7 +60,7 @@ export const PkiCollectionSection = () => {</div><PkiCollectionTable handlePopUpOpen={handlePopUpOpen} /><PkiCollectionModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deletePkiCollection.isOpen}description="This action is irreversible."title={`Are you sure you want to remove the alert ${diff --git a/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/ApplicationDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/ApplicationDetailsByIDPage.tsxindex b91774940a..b5a98ce6dc 100644--- a/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/ApplicationDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/ApplicationDetailsByIDPage.tsx@@ -15,7 +15,7 @@ import { createNotification } from "@app/components/notifications";import {AccessRestrictedDialog,Button,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DocumentationLinkBadge,DropdownMenu,DropdownMenuContent,@@ -330,7 +330,7 @@ export const ApplicationDetailsByIDPage = () => {</div></div>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isDeleteOpen}onOpenChange={setIsDeleteOpen}title={`Delete ${application.name}?`}diff --git a/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/components/ApplicationMembersTab.tsx b/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/components/ApplicationMembersTab.tsxindex f2c47b50db..b485915f67 100644--- a/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/components/ApplicationMembersTab.tsx+++ b/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/components/ApplicationMembersTab.tsx@@ -11,7 +11,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -225,7 +225,7 @@ export const ApplicationMembersTab = ({ members, applicationId }: Props) => {existingMembers={members}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.removeMember.isOpen}title="Remove member?"description="The member loses access to this application immediately. Their access to other applications is unchanged."diff --git a/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/components/ApplicationSettingsTab.tsx b/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/components/ApplicationSettingsTab.tsxindex 5abd01ff61..19a33d6687 100644--- a/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/components/ApplicationSettingsTab.tsx+++ b/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/components/ApplicationSettingsTab.tsx@@ -21,7 +21,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,Dialog,DialogContent,DialogDescription,@@ -637,7 +637,7 @@ export const ApplicationSettingsTab = ({ application, profiles }: Props) => {applicationId={application.id}/>{upgradeGate}- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deletePolicy.isOpen}description="This action is irreversible."confirmKey="delete"@@ -686,7 +686,7 @@ export const ApplicationSettingsTab = ({ application, profiles }: Props) => {</DialogContent></Dialog>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={Boolean(profileToDetach)}title={`Detach profile ${profileToDetach?.profileSlug ?? ""}?`}description="This application will no longer be able to issue from this Profile. Existing certificates remain."diff --git a/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/components/LegacyApplicationAlertsCard.tsx b/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/components/LegacyApplicationAlertsCard.tsxindex bc6f5be364..fdb8e7b1e9 100644--- a/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/components/LegacyApplicationAlertsCard.tsx+++ b/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/components/LegacyApplicationAlertsCard.tsx@@ -9,7 +9,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -175,7 +175,7 @@ export const LegacyApplicationAlertsCard = ({ applicationId, canDelete }: Props)onOpenChange={(isOpen) => !isOpen && setViewAlertId(undefined)}alertId={viewAlertId}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={Boolean(deleteAlert)}confirmKey="delete"title={`Delete Legacy Alert "${deleteAlert?.name ?? ""}"?`}diff --git a/frontend/src/pages/cert-manager/ApprovalRequestDetailPage/ApprovalRequestDetailPage.tsx b/frontend/src/pages/cert-manager/ApprovalRequestDetailPage/ApprovalRequestDetailPage.tsxindex 3d6c73ce1f..f8c05d5d7a 100644--- a/frontend/src/pages/cert-manager/ApprovalRequestDetailPage/ApprovalRequestDetailPage.tsx+++ b/frontend/src/pages/cert-manager/ApprovalRequestDetailPage/ApprovalRequestDetailPage.tsx@@ -8,7 +8,7 @@ import { twMerge } from "tailwind-merge";import { createNotification } from "@app/components/notifications";import { ContentLoader, EmptyState } from "@app/components/v2";-import { Badge, Button, DeleteConfirmDialog } from "@app/components/v3";+import { Badge, Button, ConfirmationAlertDialog } from "@app/components/v3";import { useOrganization, useProject, useUser } from "@app/context";import { usePopUp } from "@app/hooks";import { ApprovalPolicyScope, ApprovalPolicyType } from "@app/hooks/api/approvalPolicies";@@ -411,7 +411,7 @@ const PageContent = () => {</div></div></div>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.cancelRequest.isOpen}confirmVariant="project"description="This action is irreversible."diff --git a/frontend/src/pages/cert-manager/ApprovalsPage/components/PolicyTab/PolicyTab.tsx b/frontend/src/pages/cert-manager/ApprovalsPage/components/PolicyTab/PolicyTab.tsxindex b0ef8fdaec..914084d703 100644--- a/frontend/src/pages/cert-manager/ApprovalsPage/components/PolicyTab/PolicyTab.tsx+++ b/frontend/src/pages/cert-manager/ApprovalsPage/components/PolicyTab/PolicyTab.tsx@@ -1,5 +1,5 @@import { createNotification } from "@app/components/notifications";-import { AccessRestrictedDialog, DeleteConfirmDialog } from "@app/components/v3";+import { AccessRestrictedDialog, ConfirmationAlertDialog } from "@app/components/v3";import { useProject, useProjectPermission } from "@app/context";import { usePopUp } from "@app/hooks";import { ApprovalPolicyType, useDeleteApprovalPolicy } from "@app/hooks/api/approvalPolicies";@@ -61,7 +61,7 @@ export const PolicyTab = () => {<PoliciesTable handlePopUpOpen={handlePopUpOpen} /><PolicyModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deletePolicy.isOpen}description="This action is irreversible."confirmKey="delete"diff --git a/frontend/src/pages/cert-manager/CertAuthDetailsByIDPage/CertAuthDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/CertAuthDetailsByIDPage/CertAuthDetailsByIDPage.tsxindex f0ec0ac0f8..e4c79543fe 100644--- a/frontend/src/pages/cert-manager/CertAuthDetailsByIDPage/CertAuthDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/CertAuthDetailsByIDPage/CertAuthDetailsByIDPage.tsx@@ -15,7 +15,7 @@ import {DropdownMenuTrigger,PageHeader} from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import {ProjectPermissionCertificateAuthorityActions,@@ -198,7 +198,7 @@ const Page = () => {<CaRenewalModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} /><CaInstallCertModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} /><CaGenerateRootCertModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteCa.isOpen}title={`Are you sure you want to remove the CA ${(popUp?.deleteCa?.data as { dn: string })?.dn || ""diff --git a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/CaSection.tsx b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/CaSection.tsxindex 110969a038..b7009b064f 100644--- a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/CaSection.tsx+++ b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/CaSection.tsx@@ -17,7 +17,7 @@ import {CardTitle,DocumentationLinkBadge} from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import {ProjectPermissionCertificateAuthorityActions,ProjectPermissionSub,@@ -160,7 +160,7 @@ export const CaSection = () => {{upgradeGate}<CaInstallCertModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} /><CaCertModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteCa.isOpen}title={`Are you sure you want to remove the CA ${(popUp?.deleteCa?.data as { dn: string })?.dn || ""@@ -178,7 +178,7 @@ export const CaSection = () => {confirmKey="confirm"onConfirm={() => onRemoveCaSubmit((popUp?.deleteCa?.data as { caId: string })?.caId)}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.caStatus.isOpen}title={`Are you sure you want to ${(popUp?.caStatus?.data as { status: string })?.status === CaStatus.ACTIVEdiff --git a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaSection.tsx b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaSection.tsxindex 9e3c0175b4..44c10d8ee7 100644--- a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaSection.tsx+++ b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaSection.tsx@@ -16,7 +16,7 @@ import {CardTitle,DocumentationLinkBadge} from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import {ProjectPermissionCertificateAuthorityActions,ProjectPermissionSub,@@ -121,7 +121,7 @@ export const ExternalCaSection = () => {<ExternalCaTable handlePopUpOpen={handlePopUpOpen} /></CardContent><ExternalCaModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteCa.isOpen}title={`Are you sure you want to remove the CA ${(popUp?.deleteCa?.data as { dn: string })?.dn || ""@@ -136,7 +136,7 @@ export const ExternalCaSection = () => {)}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.caStatus.isOpen}title={`Are you sure you want to ${(popUp?.caStatus?.data as { status: string })?.status === CaStatus.ACTIVEdiff --git a/frontend/src/pages/cert-manager/CertificateDetailsByIDPage/CertificateDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/CertificateDetailsByIDPage/CertificateDetailsByIDPage.tsxindex aa675b163d..f33e3c173f 100644--- a/frontend/src/pages/cert-manager/CertificateDetailsByIDPage/CertificateDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/CertificateDetailsByIDPage/CertificateDetailsByIDPage.tsx@@ -21,7 +21,7 @@ import {TooltipContent,TooltipTrigger} from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import {ProjectPermissionCertificateActions,@@ -540,7 +540,7 @@ const Page = () => {handlePopUpToggle={handlePopUpToggle}applicationName={fromApplication}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteCertificate.isOpen}title="Are you sure you want to delete this certificate?"description="This action cannot be undone. The certificate will be permanently deleted."diff --git a/frontend/src/pages/cert-manager/CertificatePolicyDetailsByIDPage/CertificatePolicyDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/CertificatePolicyDetailsByIDPage/CertificatePolicyDetailsByIDPage.tsxindex 1f24daf9c4..64385e3bd2 100644--- a/frontend/src/pages/cert-manager/CertificatePolicyDetailsByIDPage/CertificatePolicyDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/CertificatePolicyDetailsByIDPage/CertificatePolicyDetailsByIDPage.tsx@@ -8,7 +8,7 @@ import { Link, useNavigate, useParams, useSearch } from "@tanstack/react-router"import { createNotification } from "@app/components/notifications";import { ProjectPermissionCan } from "@app/components/permissions";import { PageHeader } from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import { useOrganization } from "@app/context";import {@@ -175,7 +175,7 @@ const Page = () => {mode="edit"/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isDeleteModalOpen}title={`Delete Certificate Policy ${policy.name}?`}description="This action is irreversible."diff --git a/frontend/src/pages/cert-manager/CertificateProfileDetailsByIDPage/CertificateProfileDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/CertificateProfileDetailsByIDPage/CertificateProfileDetailsByIDPage.tsxindex ef8207e0e1..563cf3f84a 100644--- a/frontend/src/pages/cert-manager/CertificateProfileDetailsByIDPage/CertificateProfileDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/CertificateProfileDetailsByIDPage/CertificateProfileDetailsByIDPage.tsx@@ -8,7 +8,7 @@ import { Link, useNavigate, useParams, useSearch } from "@tanstack/react-router"import { createNotification } from "@app/components/notifications";import { ProjectPermissionCan } from "@app/components/permissions";import { PageHeader } from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import { useOrganization } from "@app/context";import {@@ -148,7 +148,7 @@ const Page = () => {mode="edit"/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isDeleteModalOpen}title={`Delete Certificate Profile ${profile.slug}?`}description="This action is irreversible."diff --git a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesSection.tsx b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesSection.tsxindex 7e25bb2606..ce8386b291 100644--- a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesSection.tsx+++ b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesSection.tsx@@ -12,7 +12,7 @@ import {CardTitle,DocumentationLinkBadge} from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import {ProjectPermissionCertificateActions,ProjectPermissionSub,@@ -212,7 +212,7 @@ export const CertificatesSection = ({handlePopUpToggle={handlePopUpToggle}applicationName={applicationName}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteCertificate.isOpen}title={`Are you sure you want to remove the certificate ${(popUp?.deleteCertificate?.data as { commonName: string })?.commonName || ""diff --git a/frontend/src/pages/cert-manager/DiscoveryDetailsByIDPage/DiscoveryDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/DiscoveryDetailsByIDPage/DiscoveryDetailsByIDPage.tsxindex 89ef28c1d1..976e3a0796 100644--- a/frontend/src/pages/cert-manager/DiscoveryDetailsByIDPage/DiscoveryDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/DiscoveryDetailsByIDPage/DiscoveryDetailsByIDPage.tsx@@ -8,7 +8,7 @@ import { ProjectPermissionCan } from "@app/components/permissions";import {Badge,Button,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -198,7 +198,7 @@ const Page = () => {discovery={popUp.editJob.data as TPkiDiscovery | undefined}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteJob.isOpen}title="Are you sure you want to delete this discovery job?"description="This action cannot be undone. The discovery configuration will be permanently deleted."diff --git a/frontend/src/pages/cert-manager/DiscoveryPage/components/DeleteDiscoveryModal.tsx b/frontend/src/pages/cert-manager/DiscoveryPage/components/DeleteDiscoveryModal.tsxindex de1d211408..9007a12e32 100644--- a/frontend/src/pages/cert-manager/DiscoveryPage/components/DeleteDiscoveryModal.tsx+++ b/frontend/src/pages/cert-manager/DiscoveryPage/components/DeleteDiscoveryModal.tsx@@ -1,4 +1,4 @@-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";type Props = {isOpen: boolean;@@ -9,7 +9,7 @@ type Props = {export const DeleteDiscoveryModal = ({ isOpen, onOpenChange, onConfirm, discoveryName }: Props) => {return (- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isOpen}onOpenChange={onOpenChange}title={`Delete discovery job "${discoveryName}"?`}diff --git a/frontend/src/pages/cert-manager/DiscoveryPage/components/DeleteInstallationModal.tsx b/frontend/src/pages/cert-manager/DiscoveryPage/components/DeleteInstallationModal.tsxindex dddebf705a..65357ce7e2 100644--- a/frontend/src/pages/cert-manager/DiscoveryPage/components/DeleteInstallationModal.tsx+++ b/frontend/src/pages/cert-manager/DiscoveryPage/components/DeleteInstallationModal.tsx@@ -1,4 +1,4 @@-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";type Props = {isOpen: boolean;@@ -14,7 +14,7 @@ export const DeleteInstallationModal = ({installationName}: Props) => {return (- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isOpen}onOpenChange={onOpenChange}title={`Delete installation "${installationName}"?`}diff --git a/frontend/src/pages/cert-manager/InstallationDetailsByIDPage/InstallationDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/InstallationDetailsByIDPage/InstallationDetailsByIDPage.tsxindex d55260d489..f0d484398c 100644--- a/frontend/src/pages/cert-manager/InstallationDetailsByIDPage/InstallationDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/InstallationDetailsByIDPage/InstallationDetailsByIDPage.tsx@@ -5,7 +5,7 @@ import { ChevronLeftIcon, EllipsisIcon } from "lucide-react";import { ProjectPermissionCan } from "@app/components/permissions";import {Button,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -127,7 +127,7 @@ const Page = () => {</div></div>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteInstallation.isOpen}title="Are you sure you want to delete this installation?"description="This action cannot be undone. The installation record will be permanently deleted."diff --git a/frontend/src/pages/cert-manager/PkiCollectionDetailsByIDPage/PkiCollectionDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/PkiCollectionDetailsByIDPage/PkiCollectionDetailsByIDPage.tsxindex f1b0f37792..bfeeaa9b61 100644--- a/frontend/src/pages/cert-manager/PkiCollectionDetailsByIDPage/PkiCollectionDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/PkiCollectionDetailsByIDPage/PkiCollectionDetailsByIDPage.tsx@@ -15,7 +15,7 @@ import {DropdownMenuTrigger,Tooltip} from "@app/components/v2";-import { DeleteConfirmDialog, PageHeader } from "@app/components/v3";+import { ConfirmationAlertDialog, PageHeader } from "@app/components/v3";import { ROUTE_PATHS } from "@app/const/routes";import {ProjectPermissionActions,@@ -164,7 +164,7 @@ export const PkiCollectionPage = () => {</div>)}<PkiCollectionModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deletePkiCollection.isOpen}description="This action is irreversible."title={`Are you sure you want to delete the PKI collection ${data?.name ?? ""}?`}diff --git a/frontend/src/pages/cert-manager/PkiCollectionDetailsByIDPage/components/PkiCollectionItemsSection.tsx b/frontend/src/pages/cert-manager/PkiCollectionDetailsByIDPage/components/PkiCollectionItemsSection.tsxindex ee0e99fb1e..d7b725d8af 100644--- a/frontend/src/pages/cert-manager/PkiCollectionDetailsByIDPage/components/PkiCollectionItemsSection.tsx+++ b/frontend/src/pages/cert-manager/PkiCollectionDetailsByIDPage/components/PkiCollectionItemsSection.tsx@@ -3,7 +3,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { createNotification } from "@app/components/notifications";import { IconButton } from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import { useGetPkiCollectionById, useRemoveItemFromPkiCollection } from "@app/hooks/api";import { PkiItemType } from "@app/hooks/api/pkiCollections/constants";import { usePopUp } from "@app/hooks/usePopUp";@@ -72,7 +72,7 @@ export const PkiCollectionItemsSection = ({ collectionId, type }: Props) => {popUp={popUp}handlePopUpToggle={handlePopUpToggle}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deletePkiCollectionItem.isOpen}title={`Are you sure you want to remove the item from the collection ${pkiCollection.name}?`}description="This action is irreversible."diff --git a/frontend/src/pages/cert-manager/PkiSubscriberDetailsByIDPage/PkiSubscriberDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/PkiSubscriberDetailsByIDPage/PkiSubscriberDetailsByIDPage.tsxindex 71ff57bf20..a69d2e4bf6 100644--- a/frontend/src/pages/cert-manager/PkiSubscriberDetailsByIDPage/PkiSubscriberDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/PkiSubscriberDetailsByIDPage/PkiSubscriberDetailsByIDPage.tsx@@ -15,7 +15,7 @@ import {DropdownMenuTrigger,Tooltip} from "@app/components/v2";-import { DeleteConfirmDialog, PageHeader } from "@app/components/v3";+import { ConfirmationAlertDialog, PageHeader } from "@app/components/v3";import { LegacyPkiResource } from "@app/const/legacyPkiDeprecation";import { ROUTE_PATHS } from "@app/const/routes";import {@@ -143,7 +143,7 @@ const Page = () => {</div>)}<PkiSubscriberModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deletePkiSubscriber.isOpen}description="This action is irreversible."title={`Are you sure you want to remove the PKI subscriber: ${diff --git a/frontend/src/pages/cert-manager/PkiSubscribersPage/components/PkiSubscriberSection.tsx b/frontend/src/pages/cert-manager/PkiSubscribersPage/components/PkiSubscriberSection.tsxindex fe4d08a39c..19bf5cc94b 100644--- a/frontend/src/pages/cert-manager/PkiSubscribersPage/components/PkiSubscriberSection.tsx+++ b/frontend/src/pages/cert-manager/PkiSubscribersPage/components/PkiSubscriberSection.tsx@@ -4,7 +4,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { createNotification } from "@app/components/notifications";import { ProjectPermissionCan } from "@app/components/permissions";import { Button } from "@app/components/v2";-import { DeleteConfirmDialog } from "@app/components/v3";+import { ConfirmationAlertDialog } from "@app/components/v3";import { LegacyPkiResource } from "@app/const/legacyPkiDeprecation";import {ProjectPermissionPkiSubscriberActions,@@ -101,7 +101,7 @@ export const PkiSubscriberSection = () => {isOpen={popUp.creationBlocked.isOpen}onOpenChange={(isOpen) => handlePopUpToggle("creationBlocked", isOpen)}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.pkiSubscriberStatus.isOpen}title={`Are you sure you want to ${isEnabling ? "enable" : "disable"} the subscriber ${subscriberName}?`}description={@@ -115,7 +115,7 @@ export const PkiSubscriberSection = () => {confirmLabel={isEnabling ? "Enable" : "Disable"}onConfirm={() => onUpdatePkiSubscriberStatus(subscriberStatusData)}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deletePkiSubscriber.isOpen}description="This action is irreversible."title="Are you sure you want to remove the PKI subscriber?"diff --git a/frontend/src/pages/cert-manager/PkiTemplateListPage/PkiTemplateListPage.tsx b/frontend/src/pages/cert-manager/PkiTemplateListPage/PkiTemplateListPage.tsxindex c0722ef23e..5a22f2ef7c 100644--- a/frontend/src/pages/cert-manager/PkiTemplateListPage/PkiTemplateListPage.tsx+++ b/frontend/src/pages/cert-manager/PkiTemplateListPage/PkiTemplateListPage.tsx@@ -41,7 +41,7 @@ import {Tooltip,Tr} from "@app/components/v2";-import { DeleteConfirmDialog, PageHeader } from "@app/components/v3";+import { ConfirmationAlertDialog, PageHeader } from "@app/components/v3";import { LegacyPkiResource } from "@app/const/legacyPkiDeprecation";import {ProjectPermissionCertificateActions,@@ -296,7 +296,7 @@ export const PkiTemplateListPage = () => {/>)}</TableContainer>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteTemplate.isOpen}description="This action is irreversible."title="Are you sure you want to remove the PKI Template?"diff --git a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificatePoliciesTab/CertificatePoliciesTab.tsx b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificatePoliciesTab/CertificatePoliciesTab.tsxindex 40f32d4de1..4fa39ef33a 100644--- a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificatePoliciesTab/CertificatePoliciesTab.tsx+++ b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificatePoliciesTab/CertificatePoliciesTab.tsx@@ -11,7 +11,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DocumentationLinkBadge} from "@app/components/v3";import {@@ -109,7 +109,7 @@ export const CertificatePoliciesTab = () => {mode="edit"/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isDeleteModalOpen}description="This action is irreversible."title={`Delete Certificate Policy ${selectedPolicy.name}?`}diff --git a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CertificateProfilesTab.tsx b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CertificateProfilesTab.tsxindex 4342f1485f..65751b7311 100644--- a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CertificateProfilesTab.tsx+++ b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CertificateProfilesTab.tsx@@ -11,7 +11,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DocumentationLinkBadge} from "@app/components/v3";import {@@ -127,7 +127,7 @@ export const CertificateProfilesTab = () => {mode="clone"/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isDeleteModalOpen}onOpenChange={(isOpen) => {setIsDeleteModalOpen(isOpen);diff --git a/frontend/src/pages/cert-manager/components/CertificateAlerts/CertificateAlertsCard.tsx b/frontend/src/pages/cert-manager/components/CertificateAlerts/CertificateAlertsCard.tsxindex 931760b963..f473bebd5c 100644--- a/frontend/src/pages/cert-manager/components/CertificateAlerts/CertificateAlertsCard.tsx+++ b/frontend/src/pages/cert-manager/components/CertificateAlerts/CertificateAlertsCard.tsx@@ -25,7 +25,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DocumentationLinkBadge,DropdownMenu,DropdownMenuContent,@@ -461,7 +461,7 @@ export const CertificateAlertsCard = ({isReadOnly={alertModal.isReadOnly}usedEventTypes={usedEventTypes}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={deleteAlertModal.isOpen}confirmKey="delete"title={`Delete Alert "${deleteAlertModal.name ?? ""}"?`}diff --git a/frontend/src/pages/kms/KmipPage/components/DeleteKmipClientModal.tsx b/frontend/src/pages/kms/KmipPage/components/DeleteKmipClientModal.tsxindex aadc46972e..83af521d32 100644--- a/frontend/src/pages/kms/KmipPage/components/DeleteKmipClientModal.tsx+++ b/frontend/src/pages/kms/KmipPage/components/DeleteKmipClientModal.tsx@@ -1,5 +1,5 @@import { createNotification } from "@app/components/notifications";-import { Alert, AlertDescription, DeleteConfirmDialog } from "@app/components/v3";+import { Alert, AlertDescription, ConfirmationAlertDialog } from "@app/components/v3";import { useDeleteKmipClients } from "@app/hooks/api/kmip";import { TKmipClient } from "@app/hooks/api/kmip/types";@@ -31,7 +31,7 @@ export const DeleteKmipClientModal = ({ isOpen, onOpenChange, kmipClient }: Prop};return (- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isOpen}title={`Delete KMIP Client ${name}?`}description={diff --git a/frontend/src/pages/kms/OverviewPage/components/DeleteCmekModal.tsx b/frontend/src/pages/kms/OverviewPage/components/DeleteCmekModal.tsxindex a7e0af23c3..1ee279d39a 100644--- a/frontend/src/pages/kms/OverviewPage/components/DeleteCmekModal.tsx+++ b/frontend/src/pages/kms/OverviewPage/components/DeleteCmekModal.tsx@@ -1,5 +1,5 @@import { createNotification } from "@app/components/notifications";-import { DeleteConfirmDialog } from "@app/components/v3";+import { ConfirmationAlertDialog } from "@app/components/v3";import { TCmek, useDeleteCmek } from "@app/hooks/api/cmeks";type Props = {@@ -32,7 +32,7 @@ export const DeleteCmekModal = ({ isOpen, onOpenChange, cmek, onDeleted }: Props};return (- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isOpen}title={`Are you sure you want to delete ${name}?`}description="This action is irreversible."diff --git a/frontend/src/pages/kms/OverviewPage/components/RotateCmekModal.tsx b/frontend/src/pages/kms/OverviewPage/components/RotateCmekModal.tsxindex 421eda41ec..18fb57fd38 100644--- a/frontend/src/pages/kms/OverviewPage/components/RotateCmekModal.tsx+++ b/frontend/src/pages/kms/OverviewPage/components/RotateCmekModal.tsx@@ -1,7 +1,7 @@import { TriangleAlertIcon } from "lucide-react";import { createNotification } from "@app/components/notifications";-import { Alert, AlertDescription, DeleteConfirmDialog } from "@app/components/v3";+import { Alert, AlertDescription, ConfirmationAlertDialog } from "@app/components/v3";import { TCmek, useRotateCmek } from "@app/hooks/api/cmeks";type Props = {@@ -32,7 +32,7 @@ export const RotateCmekModal = ({ isOpen, onOpenChange, cmek }: Props) => {};return (- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isOpen}title={`Are you sure you want to rotate ${name}?`}description={diff --git a/frontend/src/pages/organization/AccessManagementPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsSection.tsx b/frontend/src/pages/organization/AccessManagementPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsSection.tsxindex f2fff43aab..c1c6cd5402 100644--- a/frontend/src/pages/organization/AccessManagementPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsSection.tsx+++ b/frontend/src/pages/organization/AccessManagementPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsSection.tsx@@ -12,7 +12,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DocumentationLinkBadge} from "@app/components/v3";import {@@ -115,7 +115,7 @@ export const OrgGroupsSection = () => {setWizardStep={setWizardStep}isSubOrganization={isSubOrganization}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteGroup.isOpen}title={(popUp?.deleteGroup?.data as { name: string; isLinkedGroup?: boolean })?.isLinkedGroupdiff --git a/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/OrgMembersSection.tsx b/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/OrgMembersSection.tsxindex a782d369c6..b58f3aa2c8 100644--- a/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/OrgMembersSection.tsx+++ b/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/OrgMembersSection.tsx@@ -21,7 +21,7 @@ import {TooltipContent,TooltipTrigger} from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import {OrgPermissionMemberActions,@@ -213,7 +213,7 @@ export const OrgMembersSection = () => {setCompleteInviteLinks={setCompleteInviteLinks}/><AddSubOrgMemberModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.removeMember.isOpen}title={`Are you sure you want to remove member with username ${(popUp?.removeMember?.data as { username: string })?.username || ""@@ -227,7 +227,7 @@ export const OrgMembersSection = () => {)}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deactivateMember.isOpen}title={`Are you sure you want to deactivate member with username ${(popUp?.deactivateMember?.data as { username: string })?.username || ""@@ -242,7 +242,7 @@ export const OrgMembersSection = () => {}confirmLabel="Deactivate"/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.removeMembers.isOpen}title="Are you sure you want to remove the following members?"description="This action is irreversible."@@ -292,7 +292,7 @@ export const OrgMembersSection = () => {</ul></div></div>- </DeleteConfirmDialog>+ </ConfirmationAlertDialog><UpgradeGatepaywallKey="organization.org-members"isOpen={popUp.upgradePlan.isOpen}diff --git a/frontend/src/pages/organization/AccessManagementPage/components/OrgRoleTabSection/OrgRoleTable.tsx b/frontend/src/pages/organization/AccessManagementPage/components/OrgRoleTabSection/OrgRoleTable.tsxindex b5c12aaae4..a37383d4a4 100644--- a/frontend/src/pages/organization/AccessManagementPage/components/OrgRoleTabSection/OrgRoleTable.tsx+++ b/frontend/src/pages/organization/AccessManagementPage/components/OrgRoleTabSection/OrgRoleTable.tsx@@ -27,7 +27,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DocumentationLinkBadge,DropdownMenu,DropdownMenuContent,@@ -503,7 +503,7 @@ export const OrgRoleTable = () => {</CardContent></Card><RoleModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteRole.isOpen}title={`Are you sure you want to delete ${(popUp?.deleteRole?.data as TOrgRole)?.name || " "diff --git a/frontend/src/pages/organization/GroupDetailsByIDPage/GroupDetailsByIDPage.tsx b/frontend/src/pages/organization/GroupDetailsByIDPage/GroupDetailsByIDPage.tsxindex 189cf223e0..33792eb209 100644--- a/frontend/src/pages/organization/GroupDetailsByIDPage/GroupDetailsByIDPage.tsx+++ b/frontend/src/pages/organization/GroupDetailsByIDPage/GroupDetailsByIDPage.tsx@@ -7,7 +7,7 @@ import { createNotification } from "@app/components/notifications";import { OrgPermissionCan } from "@app/components/permissions";import {Button,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -192,7 +192,7 @@ const Page = () => {handlePopUpClose={handlePopUpClose}handlePopUpToggle={handlePopUpToggle}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteGroup.isOpen}title={(popUp?.deleteGroup?.data as { isLinkedGroup?: boolean })?.isLinkedGroupdiff --git a/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupMembersSection/GroupMembersSection.tsx b/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupMembersSection/GroupMembersSection.tsxindex d3ec7fe56d..31a37801fa 100644--- a/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupMembersSection/GroupMembersSection.tsx+++ b/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupMembersSection/GroupMembersSection.tsx@@ -10,7 +10,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog+ ConfirmationAlertDialog} from "@app/components/v3";import { OrgPermissionGroupActions, OrgPermissionSubjects, useOrganization } from "@app/context";import {@@ -127,7 +127,7 @@ export const GroupMembersSection = ({ groupId, groupSlug, isLinkedGroup = falsehandlePopUpToggle={handlePopUpToggle}isOidcManageGroupMembershipsEnabled={isOidcManageGroupMembershipsEnabled}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.removeMemberFromGroup.isOpen}title={`Are you sure you want to remove ${getMemberName(popUp?.removeMemberFromGroup?.data)} from the group?`}description="This action is irreversible."diff --git a/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupProjectsSection/GroupProjectsSection.tsx b/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupProjectsSection/GroupProjectsSection.tsxindex 3eee62aaee..5884367c40 100644--- a/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupProjectsSection/GroupProjectsSection.tsx+++ b/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupProjectsSection/GroupProjectsSection.tsx@@ -10,7 +10,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog+ ConfirmationAlertDialog} from "@app/components/v3";import { OrgPermissionGroupActions, OrgPermissionSubjects } from "@app/context";import { useDeleteGroupFromWorkspace as useRemoveProjectFromGroup } from "@app/hooks/api";@@ -86,7 +86,7 @@ export const GroupProjectsSection = ({ groupId, groupSlug, hideAddToProject = fa</CardContent></Card><AddGroupProjectModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.removeProjectFromGroup.isOpen}title={`Are you sure you want to remove the group from ${(popUp?.removeProjectFromGroup?.data as { projectName: string })?.projectName || ""diff --git a/frontend/src/pages/organization/IdentityDetailsByIDPage/IdentityDetailsByIDPage.tsx b/frontend/src/pages/organization/IdentityDetailsByIDPage/IdentityDetailsByIDPage.tsxindex 0d5216fa33..a409f9e5a7 100644--- a/frontend/src/pages/organization/IdentityDetailsByIDPage/IdentityDetailsByIDPage.tsx+++ b/frontend/src/pages/organization/IdentityDetailsByIDPage/IdentityDetailsByIDPage.tsx@@ -15,7 +15,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,Dialog,DialogContent,DialogDescription,@@ -240,7 +240,7 @@ const Page = () => {handlePopUpOpen={handlePopUpOpen}handlePopUpToggle={handlePopUpToggle}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteIdentity.isOpen}title={`Are you sure you want to delete ${(popUp?.deleteIdentity?.data as { name: string })?.name || ""diff --git a/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/components/KmipServerPageHeader/KmipServerPageHeader.tsx b/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/components/KmipServerPageHeader/KmipServerPageHeader.tsxindex a4e889cd16..22059b40c8 100644--- a/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/components/KmipServerPageHeader/KmipServerPageHeader.tsx+++ b/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/components/KmipServerPageHeader/KmipServerPageHeader.tsx@@ -16,7 +16,7 @@ import {AlertDialogHeader,AlertDialogTitle,Button,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -124,7 +124,7 @@ export const KmipServerPageHeader = ({ kmipServer, orgId, backLink }: Props) =></DropdownMenu></PageHeader>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteKmipServer.isOpen}onOpenChange={(isOpen) => handlePopUpToggle("deleteKmipServer", isOpen)}title={`Delete KMIP Server ${kmipServer.name}?`}diff --git a/frontend/src/pages/organization/KmipServersPage/components/KmipServerTab.tsx b/frontend/src/pages/organization/KmipServersPage/components/KmipServerTab.tsxindex aefe2596bf..4c6eac7ded 100644--- a/frontend/src/pages/organization/KmipServersPage/components/KmipServerTab.tsx+++ b/frontend/src/pages/organization/KmipServersPage/components/KmipServerTab.tsx@@ -22,7 +22,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DocumentationLinkBadge,DropdownMenu,DropdownMenuContent,@@ -225,7 +225,7 @@ export const KmipServerTab = withPermission(</Table>)}</CardContent>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteKmipServer.isOpen}onOpenChange={(isOpen) => handlePopUpToggle("deleteKmipServer", isOpen)}title={`Delete KMIP Server ${kmipServerToDelete?.name || ""}?`}diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/DeleteProjectTemplateModal.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/DeleteProjectTemplateModal.tsxindex a398b103f1..dfc935ea28 100644--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/DeleteProjectTemplateModal.tsx+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/DeleteProjectTemplateModal.tsx@@ -1,5 +1,5 @@import { createNotification } from "@app/components/notifications";-import { DeleteConfirmDialog } from "@app/components/v3";+import { ConfirmationAlertDialog } from "@app/components/v3";import { TProjectTemplate, useDeleteProjectTemplate } from "@app/hooks/api/projectTemplates";type Props = {@@ -29,7 +29,7 @@ export const DeleteProjectTemplateModal = ({ isOpen, onOpenChange, template }: P};return (- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isOpen}description="This action is irreversible."onOpenChange={onOpenChange}diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateRolesSection.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateRolesSection.tsxindex 3f0193c69b..e1ae6b7531 100644--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateRolesSection.tsx+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateRolesSection.tsx@@ -11,7 +11,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,Empty,EmptyHeader,EmptyTitle,@@ -219,7 +219,7 @@ export const ProjectTemplateRolesSection = ({ projectTemplate, isInfisicalTempla</Empty>)}</CardContent>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.removeRole.isOpen}confirmKey="remove"title={`Are you sure you want to remove the role ${roleToDelete?.slug}?`}diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatePage.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatePage.tsxindex be75d7d956..e50f2d5c6f 100644--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatePage.tsx+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatePage.tsx@@ -3,7 +3,7 @@ import { ChevronLeft, Pencil, Trash2 } from "lucide-react";import { createNotification } from "@app/components/notifications";import { OrgPermissionCan } from "@app/components/permissions";-import { Button, DeleteConfirmDialog } from "@app/components/v3";+import { Button, ConfirmationAlertDialog } from "@app/components/v3";import { PageHeader } from "@app/components/v3/platform";import { OrgPermissionActions, OrgPermissionSubjects } from "@app/context";import { getProjectTitle } from "@app/helpers/project";@@ -132,7 +132,7 @@ export const ProjectTemplatePage = ({ templateId, projectType, onBack }: Props)onOpenChange={(isOpen) => handlePopUpToggle("editDetails", isOpen)}projectTemplate={matchingProjectTemplate}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.removeTemplate.isOpen}title={`Are you sure you want to delete ${matchingProjectTemplate.name}?`}confirmKey="confirm"diff --git a/frontend/src/pages/organization/RoleByIDPage/RoleByIDPage.tsx b/frontend/src/pages/organization/RoleByIDPage/RoleByIDPage.tsxindex c39a9bcc97..1d02e48cf2 100644--- a/frontend/src/pages/organization/RoleByIDPage/RoleByIDPage.tsx+++ b/frontend/src/pages/organization/RoleByIDPage/RoleByIDPage.tsx@@ -8,7 +8,7 @@ import { createNotification } from "@app/components/notifications";import { OrgPermissionCan } from "@app/components/permissions";import {Button,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -181,7 +181,7 @@ export const Page = () => {</div>)}<RoleModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteOrgRole.isOpen}title={`Are you sure you want to delete the organization role ${data?.name ?? ""}?`}description="This action is irreversible."diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgCertManagerTab/OrgCertManagerTab.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgCertManagerTab/OrgCertManagerTab.tsxindex cabc241b7a..9112374769 100644--- a/frontend/src/pages/organization/SettingsPage/components/OrgCertManagerTab/OrgCertManagerTab.tsx+++ b/frontend/src/pages/organization/SettingsPage/components/OrgCertManagerTab/OrgCertManagerTab.tsx@@ -20,7 +20,7 @@ import {CardContent,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,Dialog,DialogContent,DialogDescription,@@ -266,7 +266,7 @@ export const OrgCertManagerTab = () => {</DialogContent></Dialog>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={Boolean(pendingDelete)}onOpenChange={(open) => {if (!open) setPendingDelete(null);diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgOauthClientsTab/OrgOauthClientsTab.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgOauthClientsTab/OrgOauthClientsTab.tsxindex bb8c5aff80..1cfe4982dd 100644--- a/frontend/src/pages/organization/SettingsPage/components/OrgOauthClientsTab/OrgOauthClientsTab.tsx+++ b/frontend/src/pages/organization/SettingsPage/components/OrgOauthClientsTab/OrgOauthClientsTab.tsx@@ -21,8 +21,8 @@ import {CardDescription,CardHeader,CardTitle,+ ConfirmationAlertDialog,CopyButton,- DeleteConfirmDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -319,7 +319,7 @@ export const OrgOauthClientsTab = () => {handlePopUpClose={handlePopUpClose}handlePopUpToggle={handlePopUpToggle}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteClient.isOpen}onOpenChange={(isOpen) => handlePopUpToggle("deleteClient", isOpen)}title={`Delete "${clientPendingDeletion?.name ?? ""}"?`}diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgSubOrgsTab/OrgSubOrgsTab.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgSubOrgsTab/OrgSubOrgsTab.tsxindex 70ce55ad49..2b52c53dc8 100644--- a/frontend/src/pages/organization/SettingsPage/components/OrgSubOrgsTab/OrgSubOrgsTab.tsx+++ b/frontend/src/pages/organization/SettingsPage/components/OrgSubOrgsTab/OrgSubOrgsTab.tsx@@ -30,7 +30,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,Dialog,DialogClose,DialogContent,@@ -496,7 +496,7 @@ export const OrgSubOrgsTab = () => {</DialogContent></Dialog>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteSubOrg.isOpen}onOpenChange={(isOpen) => handlePopUpToggle("deleteSubOrg", isOpen)}title="Are you sure you want to delete this sub-organization?"diff --git a/frontend/src/pages/organization/UserDetailsByIDPage/UserDetailsByIDPage.tsx b/frontend/src/pages/organization/UserDetailsByIDPage/UserDetailsByIDPage.tsxindex 48c0d6d62c..8318d9516e 100644--- a/frontend/src/pages/organization/UserDetailsByIDPage/UserDetailsByIDPage.tsx+++ b/frontend/src/pages/organization/UserDetailsByIDPage/UserDetailsByIDPage.tsx@@ -13,7 +13,7 @@ import {DropdownMenuItem,DropdownMenuTrigger} from "@app/components/v3";-import { DeleteConfirmDialog, PageHeader } from "@app/components/v3/platform";+import { ConfirmationAlertDialog, PageHeader } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import {OrgPermissionMemberActions,@@ -225,7 +225,7 @@ const Page = withPermission(</div></>)}- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.removeMember.isOpen}title={`Are you sure you want to remove member with username ${(popUp?.removeMember?.data as { username: string })?.username || ""@@ -239,7 +239,7 @@ const Page = withPermission()}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deactivateMember.isOpen}title={`Are you sure you want to deactivate member with username ${(popUp?.deactivateMember?.data as { username: string })?.username || ""diff --git a/frontend/src/pages/organization/UserDetailsByIDPage/components/UserProjectsSection/UserGroupsSection.tsx b/frontend/src/pages/organization/UserDetailsByIDPage/components/UserProjectsSection/UserGroupsSection.tsxindex 217b915958..78f43c2371 100644--- a/frontend/src/pages/organization/UserDetailsByIDPage/components/UserProjectsSection/UserGroupsSection.tsx+++ b/frontend/src/pages/organization/UserDetailsByIDPage/components/UserProjectsSection/UserGroupsSection.tsx@@ -7,7 +7,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog+ ConfirmationAlertDialog} from "@app/components/v3";import { useRemoveUserFromGroup } from "@app/hooks/api";import { OrgUser } from "@app/hooks/api/users/types";@@ -56,7 +56,7 @@ export const UserGroupsSection = ({ orgMembership }: Props) => {</CardContent></Card>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.removeUserFromGroup.isOpen}title="Are you sure you want to unassign user from group?"description="This action is irreversible."diff --git a/frontend/src/pages/organization/UserDetailsByIDPage/components/UserProjectsSection/UserProjectsSection.tsx b/frontend/src/pages/organization/UserDetailsByIDPage/components/UserProjectsSection/UserProjectsSection.tsxindex 69698f0bce..829871d46a 100644--- a/frontend/src/pages/organization/UserDetailsByIDPage/components/UserProjectsSection/UserProjectsSection.tsx+++ b/frontend/src/pages/organization/UserDetailsByIDPage/components/UserProjectsSection/UserProjectsSection.tsx@@ -9,7 +9,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog+ ConfirmationAlertDialog} from "@app/components/v3";import { useOrganization, useUser } from "@app/context";import {@@ -95,7 +95,7 @@ export const UserProjectsSection = ({ membershipId }: Props) => {popUp={popUp}handlePopUpToggle={handlePopUpToggle}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.removeUserFromProject.isOpen}confirmKey="remove"title={`Do you want to remove this user from ${diff --git a/frontend/src/pages/pam/PamAccessControlPage/components/GroupsTab.tsx b/frontend/src/pages/pam/PamAccessControlPage/components/GroupsTab.tsxindex 807679a5ea..987b9f1a62 100644--- a/frontend/src/pages/pam/PamAccessControlPage/components/GroupsTab.tsx+++ b/frontend/src/pages/pam/PamAccessControlPage/components/GroupsTab.tsx@@ -31,7 +31,7 @@ import {TableHeader,TableRow} from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import { ProjectPermissionActions, ProjectPermissionSub, useProject } from "@app/context";import { formatProjectRoleName } from "@app/helpers/roles";import { useListWorkspaceGroups } from "@app/hooks/api";@@ -219,7 +219,7 @@ export const GroupsTab = () => {}}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={!!groupToRemove}onOpenChange={(isOpen) => {if (!isOpen) setGroupToRemove(null);diff --git a/frontend/src/pages/pam/PamAccessControlPage/components/MembersTab.tsx b/frontend/src/pages/pam/PamAccessControlPage/components/MembersTab.tsxindex 6a7a09c9c6..db4293af60 100644--- a/frontend/src/pages/pam/PamAccessControlPage/components/MembersTab.tsx+++ b/frontend/src/pages/pam/PamAccessControlPage/components/MembersTab.tsx@@ -31,7 +31,7 @@ import {TableHeader,TableRow} from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import { ProjectPermissionActions, ProjectPermissionSub, useProject, useUser } from "@app/context";import { formatProjectRoleName } from "@app/helpers/roles";import { useGetWorkspaceUsers } from "@app/hooks/api";@@ -253,7 +253,7 @@ export const MembersTab = () => {<InviteMemberModal isOpen={isInviteOpen} onOpenChange={setIsInviteOpen} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={!!memberToRemove}onOpenChange={(isOpen) => {if (!isOpen) setMemberToRemove(null);diff --git a/frontend/src/pages/pam/PamAccountsPage/components/FolderApprovalsTab.tsx b/frontend/src/pages/pam/PamAccountsPage/components/FolderApprovalsTab.tsxindex 941d1ff2dc..b0c1a3a98c 100644--- a/frontend/src/pages/pam/PamAccountsPage/components/FolderApprovalsTab.tsx+++ b/frontend/src/pages/pam/PamAccountsPage/components/FolderApprovalsTab.tsx@@ -21,7 +21,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,@@ -724,7 +724,7 @@ export const FolderApprovalsTab = ({ folderId, onDirtyChange }: Props) => {</CardContent></Card>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={!!requestToRevoke}onOpenChange={(open) => {if (!open) setRequestToRevoke(null);diff --git a/frontend/src/pages/pam/PamApprovalRequestsPage/components/ApprovalRequestDetailSheet.tsx b/frontend/src/pages/pam/PamApprovalRequestsPage/components/ApprovalRequestDetailSheet.tsxindex dd6b2aa588..0401236a9f 100644--- a/frontend/src/pages/pam/PamApprovalRequestsPage/components/ApprovalRequestDetailSheet.tsx+++ b/frontend/src/pages/pam/PamApprovalRequestsPage/components/ApprovalRequestDetailSheet.tsx@@ -13,7 +13,7 @@ import {TooltipContent,TooltipTrigger} from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import { useUser } from "@app/context";import {PamAccessRequestDecision,@@ -89,7 +89,7 @@ export const ApprovalRequestDetailSheet = ({ request, isOpen, onOpenChange }: Prreturn (<>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isRevokeConfirmOpen}onOpenChange={setIsRevokeConfirmOpen}title="Revoke Access"diff --git a/frontend/src/pages/pam/PamDiscoveryPage/PamDiscoveryPage.tsx b/frontend/src/pages/pam/PamDiscoveryPage/PamDiscoveryPage.tsxindex 8e5b919b40..b90cca0b36 100644--- a/frontend/src/pages/pam/PamDiscoveryPage/PamDiscoveryPage.tsx+++ b/frontend/src/pages/pam/PamDiscoveryPage/PamDiscoveryPage.tsx@@ -36,7 +36,7 @@ import {TableRow} from "@app/components/v3";import { Skeleton } from "@app/components/v3/generic/Skeleton";-import { DeleteConfirmDialog, PageHeader } from "@app/components/v3/platform";+import { ConfirmationAlertDialog, PageHeader } from "@app/components/v3/platform";import {TPamDiscoverySource,useDeletePamDiscoverySource,@@ -285,7 +285,7 @@ export const PamDiscoveryPage = () => {}}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteSource.isOpen}onOpenChange={(isOpen) => handlePopUpToggle("deleteSource", isOpen)}title={`Delete ${(popUp.deleteSource.data as TPamDiscoverySource | undefined)?.name ?? "source"}?`}diff --git a/frontend/src/pages/pam/PamSessionsPage/PamSessionsPage.tsx b/frontend/src/pages/pam/PamSessionsPage/PamSessionsPage.tsxindex 0d903c4ebe..92e899e6e0 100644--- a/frontend/src/pages/pam/PamSessionsPage/PamSessionsPage.tsx+++ b/frontend/src/pages/pam/PamSessionsPage/PamSessionsPage.tsx@@ -38,7 +38,7 @@ import {TableHeader,TableRow} from "@app/components/v3";-import { DeleteConfirmDialog, PageHeader } from "@app/components/v3/platform";+import { ConfirmationAlertDialog, PageHeader } from "@app/components/v3/platform";import { useOrganization, useProject } from "@app/context";import {getUserTablePreference,@@ -384,7 +384,7 @@ export const PamSessionsPage = () => {onTerminate={requestTerminate}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={!!sessionToTerminate}onOpenChange={(open) => {if (!open) setSessionToTerminate(null);diff --git a/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupsSection.tsx b/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupsSection.tsxindex 2af82c789c..6a6f9540dc 100644--- a/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupsSection.tsx+++ b/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupsSection.tsx@@ -11,7 +11,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DocumentationLinkBadge} from "@app/components/v3";import {@@ -107,7 +107,7 @@ export const GroupsSection = () => {<GroupTable handlePopUpOpen={handlePopUpOpen} /></CardContent></Card>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteGroup.isOpen}onOpenChange={(isOpen) => {if (!isRemovingGroup) handlePopUpToggle("deleteGroup", isOpen);diff --git a/frontend/src/pages/project/AccessControlPage/components/MembersTab/components/MembersSection.tsx b/frontend/src/pages/project/AccessControlPage/components/MembersTab/components/MembersSection.tsxindex 6c4089e298..2a758a56e6 100644--- a/frontend/src/pages/project/AccessControlPage/components/MembersTab/components/MembersSection.tsx+++ b/frontend/src/pages/project/AccessControlPage/components/MembersTab/components/MembersSection.tsx@@ -13,7 +13,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DocumentationLinkBadge,Tooltip,TooltipContent,@@ -119,7 +119,7 @@ export const MembersSection = () => {</CardContent></Card><AddMemberModal popUp={popUp} handlePopUpToggle={handlePopUpToggle} />- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.removeMember.isOpen}onOpenChange={(isOpen) => {handlePopUpToggle("removeMember", isOpen);diff --git a/frontend/src/pages/project/GroupDetailsByIDPage/GroupDetailsByIDPage.tsx b/frontend/src/pages/project/GroupDetailsByIDPage/GroupDetailsByIDPage.tsxindex f84b3b0073..1df78a814b 100644--- a/frontend/src/pages/project/GroupDetailsByIDPage/GroupDetailsByIDPage.tsx+++ b/frontend/src/pages/project/GroupDetailsByIDPage/GroupDetailsByIDPage.tsx@@ -7,7 +7,7 @@ import { createNotification } from "@app/components/notifications";import { ProjectPermissionCan } from "@app/components/permissions";import {Button,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -201,7 +201,7 @@ const Page = () => {</Empty></div>)}- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteGroup.isOpen}onOpenChange={(isOpen) => {if (!isRemovingGroup) handlePopUpToggle("deleteGroup", isOpen);diff --git a/frontend/src/pages/project/MemberDetailsByIDPage/MemberDetailsByIDPage.tsx b/frontend/src/pages/project/MemberDetailsByIDPage/MemberDetailsByIDPage.tsxindex bf7a2189c2..4e3dbee311 100644--- a/frontend/src/pages/project/MemberDetailsByIDPage/MemberDetailsByIDPage.tsx+++ b/frontend/src/pages/project/MemberDetailsByIDPage/MemberDetailsByIDPage.tsx@@ -22,7 +22,7 @@ import {AlertTitle,Badge,Button,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DropdownMenu,DropdownMenuContent,DropdownMenuItem,@@ -318,7 +318,7 @@ export const Page = () => {)}</div></div>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.removeMember.isOpen}onOpenChange={(isOpen) => {handlePopUpToggle("removeMember", isOpen);diff --git a/frontend/src/pages/project/MemberDetailsByIDPage/components/MemberProjectAdditionalPrivilegeSection/MemberProjectAdditionalPrivilegeSection.tsx b/frontend/src/pages/project/MemberDetailsByIDPage/components/MemberProjectAdditionalPrivilegeSection/MemberProjectAdditionalPrivilegeSection.tsxindex eadca2657f..b2b2469063 100644--- a/frontend/src/pages/project/MemberDetailsByIDPage/components/MemberProjectAdditionalPrivilegeSection/MemberProjectAdditionalPrivilegeSection.tsx+++ b/frontend/src/pages/project/MemberDetailsByIDPage/components/MemberProjectAdditionalPrivilegeSection/MemberProjectAdditionalPrivilegeSection.tsx@@ -26,7 +26,7 @@ import {CardDescription,CardHeader,CardTitle,- DeleteConfirmDialog,+ ConfirmationAlertDialog,DocumentationLinkBadge,DropdownMenu,DropdownMenuContent,@@ -462,7 +462,7 @@ export const MemberProjectAdditionalPrivilegeSection = ({ membershipDetails }: P/></SheetContent></Sheet>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deletePrivilege.isOpen}onOpenChange={(isOpen) => {handlePopUpToggle("deletePrivilege", isOpen);@@ -482,7 +482,7 @@ export const MemberProjectAdditionalPrivilegeSection = ({ membershipDetails }: PisPending={deletePrivilegeMutation.isPending}onConfirm={handlePrivilegeDelete}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.revokeAccess.isOpen}onOpenChange={(isOpen) => {handlePopUpToggle("revokeAccess", isOpen);diff --git a/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/IntegrationsDetailsByIDPage.tsx b/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/IntegrationsDetailsByIDPage.tsxindex 0be34700b5..3940a23c70 100644--- a/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/IntegrationsDetailsByIDPage.tsx+++ b/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/IntegrationsDetailsByIDPage.tsx@@ -18,7 +18,7 @@ import {Field,FieldLabel} from "@app/components/v3";-import { DeleteConfirmDialog, PageHeader } from "@app/components/v3/platform";+import { ConfirmationAlertDialog, PageHeader } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import { OrgPermissionActions, OrgPermissionSubjects, useProject } from "@app/context";import { usePopUp, useToggle } from "@app/hooks";@@ -150,7 +150,7 @@ export const IntegrationDetailsByIDPage = () => {)}</div>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteConfirmation.isOpen}title={`Are you sure you want to remove ${integration?.integration || " "} integration for ${integration?.app || "this project"@@ -190,8 +190,8 @@ export const IntegrationDetailsByIDPage = () => {</FieldLabel></Field>)}- </DeleteConfirmDialog>- <DeleteConfirmDialog+ </ConfirmationAlertDialog>+ <ConfirmationAlertDialogisOpen={popUp.deleteSecretsConfirmation.isOpen}title={`Are you sure you also want to delete secrets on ${integration?.integration}?`}description="By confirming, you acknowledge that all secrets managed by this integration will be removed from the destination. This action is irreversible."diff --git a/frontend/src/pages/secret-manager/IntegrationsListPage/components/NativeIntegrationsTab/NativeIntegrationsTab.tsx b/frontend/src/pages/secret-manager/IntegrationsListPage/components/NativeIntegrationsTab/NativeIntegrationsTab.tsxindex fd6a13d039..10b6a5d0e9 100644--- a/frontend/src/pages/secret-manager/IntegrationsListPage/components/NativeIntegrationsTab/NativeIntegrationsTab.tsx+++ b/frontend/src/pages/secret-manager/IntegrationsListPage/components/NativeIntegrationsTab/NativeIntegrationsTab.tsx@@ -2,7 +2,7 @@ import { PlusIcon } from "lucide-react";import { createNotification } from "@app/components/notifications";import { Button, Checkbox, Field, FieldLabel, Spinner } from "@app/components/v3";-import { DeleteConfirmDialog } from "@app/components/v3/platform";+import { ConfirmationAlertDialog } from "@app/components/v3/platform";import { useProject } from "@app/context";import { usePopUp, useToggle } from "@app/hooks";import {@@ -83,7 +83,7 @@ export const NativeIntegrationsTab = () => {isOpen={popUp.creationBlocked.isOpen}onOpenChange={(isOpen) => handlePopUpToggle("creationBlocked", isOpen)}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteConfirmation.isOpen}title={`Are you sure you want to remove ${(popUp?.deleteConfirmation.data as TIntegration)?.integration || " "@@ -130,8 +130,8 @@ export const NativeIntegrationsTab = () => {</FieldLabel></Field>)}- </DeleteConfirmDialog>- <DeleteConfirmDialog+ </ConfirmationAlertDialog>+ <ConfirmationAlertDialogisOpen={popUp.deleteSecretsConfirmation.isOpen}title={`Are you sure you also want to delete secrets on ${(popUp?.deleteConfirmation.data as TIntegration)?.integrationdiff --git a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsxindex 13531ebd7e..4dff4133ab 100644--- a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx+++ b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx@@ -97,7 +97,7 @@ import {CardContent,CardHeader,Checkbox,- DeleteConfirmDialog,+ ConfirmationAlertDialog,Dialog,DialogBody,DialogContent,@@ -4820,7 +4820,7 @@ const OverviewPageContent = () => {environmentName={singleEnvName}/>)}- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={popUp.deleteEnv.isOpen}onOpenChange={(isOpen) => handlePopUpToggle("deleteEnv", isOpen)}title="Delete Environment"diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsxindex cb455af659..7b1a9f3e42 100644--- a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx+++ b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx@@ -46,7 +46,7 @@ import {AlertDialogMedia,AlertDialogTitle,Badge,- DeleteConfirmDialog,+ ConfirmationAlertDialog,Dialog,DialogContent,DialogDescription,@@ -1220,7 +1220,7 @@ export const SecretEditTableRow = ({const valueContent = (<>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={isModalOpen}onOpenChange={setIsModalOpen}title={`Are you sure you want to delete ${secretName}?`}diff --git a/frontend/src/views/PkiAlertsV2Page/PkiAlertsV2Page.tsx b/frontend/src/views/PkiAlertsV2Page/PkiAlertsV2Page.tsxindex 3217512970..752bf1f579 100644--- a/frontend/src/views/PkiAlertsV2Page/PkiAlertsV2Page.tsx+++ b/frontend/src/views/PkiAlertsV2Page/PkiAlertsV2Page.tsx@@ -15,7 +15,7 @@ import {THead,Tr} from "@app/components/v2";-import { DeleteConfirmDialog } from "@app/components/v3";+import { ConfirmationAlertDialog } from "@app/components/v3";import { useDebounce } from "@app/hooks";import { useDeletePkiAlertV2, useGetPkiAlertsV2 } from "@app/hooks/api/pkiAlertsV2";@@ -189,7 +189,7 @@ export const PkiAlertsV2Page = ({ hideContainer = false }: Props) => {alertId={viewModal.alertId}/>- <DeleteConfirmDialog+ <ConfirmationAlertDialogisOpen={deleteModal.isOpen}description="This action is irreversible."confirmKey="delete"