Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

remove comments from UI

adilson2130b4077fa6
diff --git a/backend/src/ee/services/secret-rotation-v2/openai-admin-api-key/openai-admin-api-key-rotation-fns.ts b/backend/src/ee/services/secret-rotation-v2/openai-admin-api-key/openai-admin-api-key-rotation-fns.ts
index af1ea61a69..f2d752a2cd 100644
--- a/backend/src/ee/services/secret-rotation-v2/openai-admin-api-key/openai-admin-api-key-rotation-fns.ts
+++ b/backend/src/ee/services/secret-rotation-v2/openai-admin-api-key/openai-admin-api-key-rotation-fns.ts
@@ -61,9 +61,6 @@ export const openAIAdminApiKeyRotationFactory: TRotationFactory<
*/
const $createApiKey = async () => {
try {
- // Suffix with a timestamp so the active and retired keys have distinct names on the
- // OpenAI platform during the dual-credential window. Deletion is by key id, so the
- // name itself is only used for identification in the OpenAI dashboard.
const keyName = `${name}-${Date.now()}`;
const { data } = await request.post<TOpenAIAdminApiKeyCreateResponse>(
diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AddAppConnectionModal.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AddAppConnectionModal.tsx
index bee2830af3..d02b648e53 100644
--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AddAppConnectionModal.tsx
+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AddAppConnectionModal.tsx
@@ -132,9 +132,6 @@ export const AddAppConnectionModal = ({
</Sheet>
<AlertDialog open={confirmDiscardOpen} onOpenChange={setConfirmDiscardOpen}>
- {/* z-[80] keeps the discard confirmation above this sheet (z-[70]). Without it, when the
- sheet is opened over a legacy v2 modal (z-[60]) — e.g. the secret rotation modal — the
- confirm dialog would open behind the sheet yet still capture focus, leaving it dead. */}
<AlertDialogContent className="z-[80]" overlayClassName="z-[80]">
<AlertDialogHeader>
<AlertDialogMedia>
diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/GitHubAppSelector.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/GitHubAppSelector.tsx
index a7cdf35db8..1ed66074d3 100644
--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/GitHubAppSelector.tsx
+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/GitHubAppSelector.tsx
@@ -342,7 +342,6 @@ export const GitHubAppSelector = ({
</div>
<Dialog open={isManageOpen} onOpenChange={handleManageOpenChange}>
- {/* z-[80] keeps this above the Add Connection sheet (z-[70]) that hosts this form. */}
<DialogContent
onOpenAutoFocus={(e) => {
e.preventDefault();
diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/shared/PlatformManagedConfirmationModal.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/shared/PlatformManagedConfirmationModal.tsx
index 07a3f180e8..bc61c22e21 100644
--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/shared/PlatformManagedConfirmationModal.tsx
+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/shared/PlatformManagedConfirmationModal.tsx
@@ -21,7 +21,6 @@ type Props = {
export const PlatformManagedConfirmationModal = ({ isOpen, onOpenChange, onConfirm }: Props) => {
return (
<AlertDialog open={isOpen} onOpenChange={onOpenChange}>
- {/* z-[80] keeps this above the Add Connection sheet (z-[70]) that hosts this form. */}
<AlertDialogContent className="z-[80]" overlayClassName="z-[80]">
<AlertDialogHeader>
<AlertDialogMedia>