From fc69364feba0439c89231a2aace05f0be9e965ea Mon Sep 17 00:00:00 2001 From: Owen Date: Wed, 22 Apr 2026 20:36:00 -0700 Subject: [PATCH] Show cert status --- src/components/InternalResourceForm.tsx | 63 ++++++++++++++++--------- src/components/ResourceInfoBox.tsx | 10 ++-- 2 files changed, 48 insertions(+), 25 deletions(-) diff --git a/src/components/InternalResourceForm.tsx b/src/components/InternalResourceForm.tsx index 3a693d82b..6d7fd1537 100644 --- a/src/components/InternalResourceForm.tsx +++ b/src/components/InternalResourceForm.tsx @@ -54,6 +54,7 @@ import { CaretSortIcon } from "@radix-ui/react-icons"; import { MachinesSelector } from "./machines-selector"; import DomainPicker from "@app/components/DomainPicker"; import { SwitchInput } from "@app/components/SwitchInput"; +import CertificateStatus from "@app/components/CertificateStatus"; // --- Helpers (shared) --- @@ -1072,28 +1073,48 @@ export function InternalResourceForm({ }} /> - ( - - - + ( + + + + + + )} + /> + {variant === "edit" && + resource?.domainId && + httpConfigFullDomain && + form.watch("ssl") && ( +
+ + {t("certificateStatus")}: + + - - - )} - /> +
+ )} + ) : (
diff --git a/src/components/ResourceInfoBox.tsx b/src/components/ResourceInfoBox.tsx index 8006612a9..ad3cb5f34 100644 --- a/src/components/ResourceInfoBox.tsx +++ b/src/components/ResourceInfoBox.tsx @@ -30,7 +30,7 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) { {/* 4 cols because of the certs */} {t("identifier")} @@ -43,7 +43,10 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) { URL - + @@ -133,8 +136,7 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) { {/* Certificate Status Column */} {resource.http && resource.domainId && - resource.fullDomain && - env.flags.usePangolinDns && ( + resource.fullDomain && ( {t("certificateStatus", {