From ac12f9fc66b470610cc212bc52b5e3bd6a4eddaa Mon Sep 17 00:00:00 2001 From: x Date: Mon, 21 Apr 2025 16:59:37 -0400 Subject: [PATCH] update file and export names to be accurate --- .../AlertingPage/{CertificatesPage.tsx => AlertingPage.tsx} | 4 ++-- frontend/src/pages/cert-manager/AlertingPage/route.tsx | 4 ++-- .../{CertificatesPage.tsx => CertificateAuthoritiesPage.tsx} | 4 ++-- .../pages/cert-manager/CertificateAuthoritiesPage/route.tsx | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) rename frontend/src/pages/cert-manager/AlertingPage/{CertificatesPage.tsx => AlertingPage.tsx} (88%) rename frontend/src/pages/cert-manager/CertificateAuthoritiesPage/{CertificatesPage.tsx => CertificateAuthoritiesPage.tsx} (86%) diff --git a/frontend/src/pages/cert-manager/AlertingPage/CertificatesPage.tsx b/frontend/src/pages/cert-manager/AlertingPage/AlertingPage.tsx similarity index 88% rename from frontend/src/pages/cert-manager/AlertingPage/CertificatesPage.tsx rename to frontend/src/pages/cert-manager/AlertingPage/AlertingPage.tsx index 42db64f65..04b841425 100644 --- a/frontend/src/pages/cert-manager/AlertingPage/CertificatesPage.tsx +++ b/frontend/src/pages/cert-manager/AlertingPage/AlertingPage.tsx @@ -7,12 +7,12 @@ import { ProjectPermissionActions, ProjectPermissionSub } from "@app/context"; import { PkiAlertsSection } from "./components"; -export const CertificatesPage = () => { +export const AlertingPage = () => { const { t } = useTranslation(); return (
- {t("common.head-title", { title: "Certificates" })} + {t("common.head-title", { title: "Alerting" })}
diff --git a/frontend/src/pages/cert-manager/AlertingPage/route.tsx b/frontend/src/pages/cert-manager/AlertingPage/route.tsx index 750786798..d14e64d94 100644 --- a/frontend/src/pages/cert-manager/AlertingPage/route.tsx +++ b/frontend/src/pages/cert-manager/AlertingPage/route.tsx @@ -1,11 +1,11 @@ import { createFileRoute } from "@tanstack/react-router"; -import { CertificatesPage } from "./CertificatesPage"; +import { AlertingPage } from "./AlertingPage"; export const Route = createFileRoute( "/_authenticate/_inject-org-details/_org-layout/cert-manager/$projectId/_cert-manager-layout/alerting" )({ - component: CertificatesPage, + component: AlertingPage, beforeLoad: ({ context }) => { return { breadcrumbs: [ diff --git a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/CertificatesPage.tsx b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/CertificateAuthoritiesPage.tsx similarity index 86% rename from frontend/src/pages/cert-manager/CertificateAuthoritiesPage/CertificatesPage.tsx rename to frontend/src/pages/cert-manager/CertificateAuthoritiesPage/CertificateAuthoritiesPage.tsx index 8aaf063e4..978a27e63 100644 --- a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/CertificatesPage.tsx +++ b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/CertificateAuthoritiesPage.tsx @@ -7,12 +7,12 @@ import { ProjectPermissionActions, ProjectPermissionSub } from "@app/context"; import { CaSection } from "./components"; -export const CertificatesPage = () => { +export const CertificateAuthoritiesPage = () => { const { t } = useTranslation(); return (
- {t("common.head-title", { title: "Certificates" })} + {t("common.head-title", { title: "Certificate Authorities" })}
diff --git a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/route.tsx b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/route.tsx index e4e254205..e11496710 100644 --- a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/route.tsx +++ b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/route.tsx @@ -1,11 +1,11 @@ import { createFileRoute } from "@tanstack/react-router"; -import { CertificatesPage } from "./CertificatesPage"; +import { CertificateAuthoritiesPage } from "./CertificateAuthoritiesPage"; export const Route = createFileRoute( "/_authenticate/_inject-org-details/_org-layout/cert-manager/$projectId/_cert-manager-layout/certificate-authorities" )({ - component: CertificatesPage, + component: CertificateAuthoritiesPage, beforeLoad: ({ context }) => { return { breadcrumbs: [