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
fix: bump validation and forbidden modal z-indexes to not compete with v2 modals
Scott Wilsond736a83eecff
diff --git a/frontend/src/components/v3/generic/Dialog/Dialog.tsx b/frontend/src/components/v3/generic/Dialog/Dialog.tsxindex 94d932b784..b9e5063579 100644--- a/frontend/src/components/v3/generic/Dialog/Dialog.tsx+++ b/frontend/src/components/v3/generic/Dialog/Dialog.tsx@@ -43,13 +43,15 @@ function DialogContent({children,showCloseButton = true,onPointerDownOutside,+ overlayClassName,...props}: React.ComponentProps<typeof DialogPrimitive.Content> & {showCloseButton?: boolean;+ overlayClassName?: string;}) {return (<DialogPortal data-slot="dialog-portal">- <DialogOverlay />+ <DialogOverlay className={overlayClassName} /><DialogPrimitive.Contentdata-slot="dialog-content"className={cn(diff --git a/frontend/src/hooks/api/reactQuery.tsx b/frontend/src/hooks/api/reactQuery.tsxindex 8bf35f3516..b454b870a0 100644--- a/frontend/src/hooks/api/reactQuery.tsx+++ b/frontend/src/hooks/api/reactQuery.tsx@@ -58,7 +58,8 @@ function ValidationErrorModal({}}}>- <DialogContent className="sm:max-w-2xl">+ {/* z-[70] keeps this dialog above v2 Modals (z-[60]) hosting the form that errored */}+ <DialogContent className="z-[70] sm:max-w-2xl" overlayClassName="z-[70]"><DialogHeader><DialogTitle>Validation Error Details</DialogTitle><DialogDescription>These fields did not pass validation.</DialogDescription>@@ -144,7 +145,8 @@ export const onRequestError = (error: unknown) => {Show more</Button></DialogTrigger>- <DialogContent className="sm:max-w-2xl">+ {/* z-[70] keeps this dialog above v2 Modals (z-[60]) hosting the form that errored */}+ <DialogContent className="z-[70] sm:max-w-2xl" overlayClassName="z-[70]"><DialogHeader><DialogTitle>Validation Rules</DialogTitle><DialogDescription>Please review the allowed rules below.</DialogDescription>diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/GenericAppConnectionFields.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/GenericAppConnectionFields.tsxindex 05311260b1..2d3484c10b 100644--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/GenericAppConnectionFields.tsx+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/GenericAppConnectionFields.tsx@@ -16,7 +16,7 @@ export const rotationSchema = z.object({});export const genericAppConnectionFieldsSchema = z.object({- name: slugSchema({ min: 1, max: 64, field: "Name" }),+ name: z.any(),description: z.string().trim().max(256, "Description cannot exceed 256 characters").nullish(),gatewayId: z.string()