Skip to content

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

Remove sheet info section as it's not useful

Carlos Monastyrskifd192bfb8c31
diff --git a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateImportSheet.tsx b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateImportSheet.tsx
index 7b0b7df664..019e3a5cd5 100644
--- a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateImportSheet.tsx
+++ b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateImportSheet.tsx
@@ -85,40 +85,26 @@ const buildSteps = (hasApplication: boolean): Record<ImportStepKey, WizardStep>
name: "Source",
shortDescription: "PEM or keystore",
title: "Certificate Source",
- subtitle: "Paste the PEM files you hold, or upload a PKCS#12 keystore.",
- rightLabel: "Source",
- rightDescription: hasApplication
- ? "Nothing is issued here. Infisical stores the certificate you already hold so it can be tracked, and renewed later if you attach a profile."
- : "Nothing is issued here. Infisical stores the certificate you already hold so it can be tracked for visibility and expiry alerts."
+ subtitle: "Paste the PEM files you hold, or upload a PKCS#12 keystore."
},
profile: hasApplication
? {
name: "Profile",
shortDescription: "Lifecycle owner",
title: "Certificate Profile",
- subtitle: "Choose the profile that will manage renewal and revocation.",
- rightLabel: "Profile",
- rightDescription:
- "The profile decides which authority signs the replacement at renewal, and the certificate has to satisfy its policy. Leave it empty to track the certificate for visibility and expiry alerts only."
+ subtitle: "Choose the profile that will manage renewal and revocation."
}
: {
name: "Certificates",
shortDescription: "What to import",
title: "Keystore Contents",
- subtitle: "Choose which certificates to import from this keystore.",
- rightLabel: "Certificates",
- rightDescription:
- "A keystore can hold more than one certificate. Only the ones you select are imported."
+ subtitle: "Choose which certificates to import from this keystore."
},
review: {
name: "Review",
shortDescription: "Confirm and import",
title: "Review & Import",
- subtitle: "Check what will be imported before it is stored.",
- rightLabel: "Review",
- rightDescription: hasApplication
- ? "Anything rejected stays here so you can change the profile or the details and try again. Certificates already imported are locked and cannot be imported twice."
- : "Anything rejected stays here so you can change the details and try again. Certificates already imported are locked and cannot be imported twice."
+ subtitle: "Check what will be imported before it is stored."
}
});
diff --git a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateWizardSheet.tsx b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateWizardSheet.tsx
index a391d3e1ef..e7b74d154e 100644
--- a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateWizardSheet.tsx
+++ b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateWizardSheet.tsx
@@ -21,7 +21,7 @@ export type WizardStep = {
title?: string;
subtitle: string;
rightLabel?: string;
- rightDescription: string;
+ rightDescription?: string;
};
type Props = {
@@ -169,18 +169,28 @@ export const CertificateWizardSheet = ({
{children}
</div>
- <aside className="hidden w-80 shrink-0 flex-col gap-4 overflow-y-auto border-l border-border px-6 py-6 lg:flex">
- <div className="mb-auto">
- <div className="flex items-center justify-between gap-2">
- <p className="text-xs font-medium text-muted">
- Step {activeStep + 1} · {step.rightLabel ?? step.name}
- </p>
- {docsHref && <DocumentationLinkBadge href={docsHref} />}
+ {(step.rightDescription || docsHref) && (
+ <aside className="hidden w-80 shrink-0 flex-col gap-4 overflow-y-auto border-l border-border px-6 py-6 lg:flex">
+ <div className="mb-auto">
+ <div className="flex items-center justify-between gap-2">
+ <p className="text-xs font-medium text-muted">
+ Step {activeStep + 1} · {step.rightLabel ?? step.name}
+ </p>
+ {docsHref && <DocumentationLinkBadge href={docsHref} />}
+ </div>
+ {step.rightDescription && (
+ <>
+ <p className="mt-4 text-sm font-semibold text-foreground">
+ What this step does
+ </p>
+ <p className="mt-2 text-sm leading-relaxed text-muted">
+ {step.rightDescription}
+ </p>
+ </>
+ )}
</div>
- <p className="mt-4 text-sm font-semibold text-foreground">What this step does</p>
- <p className="mt-2 text-sm leading-relaxed text-muted">{step.rightDescription}</p>
- </div>
- </aside>
+ </aside>
+ )}
</div>
<SheetFooter className="shrink-0 items-center justify-end border-t px-6">