Skip to content

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

fix: smaller improvements

varonix079d193230c1
diff --git a/backend/src/server/routes/v1/secret-sync-routers/secret-sync-endpoints.ts b/backend/src/server/routes/v1/secret-sync-routers/secret-sync-endpoints.ts
index 64f84f8ebd..da855d529f 100644
--- a/backend/src/server/routes/v1/secret-sync-routers/secret-sync-endpoints.ts
+++ b/backend/src/server/routes/v1/secret-sync-routers/secret-sync-endpoints.ts
@@ -556,7 +556,7 @@ export const registerSyncSecretsEndpoints = <T extends TSecretSync, I extends TS
operationId: `check${destinationNameForOpId}SecretSyncRecursiveConflicts`,
tags: [ApiDocsTags.SecretSyncs],
body: z.object({
- projectId: z.string().uuid(),
+ projectId: z.string(),
environment: slugSchema({ field: "environment", max: 64 }),
secretPath: z
.string()
diff --git a/frontend/src/components/secret-syncs/forms/SecretSyncSourceFields.tsx b/frontend/src/components/secret-syncs/forms/SecretSyncSourceFields.tsx
index 75a74e9edb..de43147070 100644
--- a/frontend/src/components/secret-syncs/forms/SecretSyncSourceFields.tsx
+++ b/frontend/src/components/secret-syncs/forms/SecretSyncSourceFields.tsx
@@ -16,6 +16,7 @@ import {
FieldLabel,
Label,
SecretPathInput,
+ Spinner,
Toggle
} from "@app/components/v3";
import { useProject, useProjectPermission } from "@app/context";
@@ -158,7 +159,7 @@ const DefaultSecretSyncSourceFields = () => {
</Field>
<FieldError errors={[error]} />
{Boolean(value) && syncOption?.canImportSecrets && (
- <Alert variant="info">
+ <Alert variant="warning">
<Info />
<AlertTitle>Initial sync is set to overwrite the destination</AlertTitle>
<AlertDescription>
@@ -168,13 +169,12 @@ const DefaultSecretSyncSourceFields = () => {
</Alert>
)}
{isChecking && (
- <p className="text-sm text-muted">Checking for naming conflicts across folders...</p>
- )}
- {isClear && (
- <p className="flex items-center gap-1.5 text-sm text-success">
- <CheckCircle2 className="size-4" />
- No naming collisions detected
- </p>
+ <div className="flex items-center gap-2">
+ <Spinner size="xs" />
+ <p className="text-xs text-mineshaft-300">
+ Checking for naming conflicts across folders...
+ </p>
+ </div>
)}
{!isChecking && conflicts.length > 0 && (
<Alert variant="danger">