From 416fd914cb32271520a6dc9512a88e5278addf33 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Thu, 18 Dec 2025 10:26:13 -0500 Subject: [PATCH] visual enhacements --- messages/en-US.json | 4 +-- .../settings/(private)/idp/create/page.tsx | 23 ------------- .../remote-exit-nodes/create/page.tsx | 13 ------- .../settings/clients/machine/create/page.tsx | 12 ------- .../[orgId]/settings/sites/create/page.tsx | 23 ------------- src/app/globals.css | 4 +-- src/app/navigation.tsx | 12 +++---- src/components/DNSRecordsDataTable.tsx | 1 + src/components/HorizontalTabs.tsx | 6 ++-- src/components/ResourceInfoBox.tsx | 15 ++++---- src/components/SettingsSectionTitle.tsx | 2 +- src/components/ShareLinksTable.tsx | 34 +++++++++---------- 12 files changed, 38 insertions(+), 111 deletions(-) diff --git a/messages/en-US.json b/messages/en-US.json index a01d8b61..704ad880 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -1196,7 +1196,7 @@ "sidebarUserDevices": "Users", "sidebarMachineClients": "Machines", "sidebarDomains": "Domains", - "sidebarGeneral": "General", + "sidebarGeneral": "Manage", "sidebarLogAndAnalytics": "Log & Analytics", "sidebarBluePrints": "Blueprints", "sidebarOrganization": "Organization", @@ -2146,7 +2146,7 @@ "unverified": "Unverified", "domainSetting": "Domain Settings", "domainSettingDescription": "Configure settings for the domain", - "preferWildcardCertDescription": "Attempt to generate a wildcard certificate (require a properly configured certificate resolver).", + "preferWildcardCertDescription": "Attempt to generate a wildcard certificate (requires a properly configured certificate resolver).", "recordName": "Record Name", "auto": "Auto", "TTL": "TTL", diff --git a/src/app/[orgId]/settings/(private)/idp/create/page.tsx b/src/app/[orgId]/settings/(private)/idp/create/page.tsx index 682b23f1..c8dba38c 100644 --- a/src/app/[orgId]/settings/(private)/idp/create/page.tsx +++ b/src/app/[orgId]/settings/(private)/idp/create/page.tsx @@ -700,29 +700,6 @@ export default function Page() { id="create-idp-form" onSubmit={form.handleSubmit(onSubmit)} > - - - - {t("idpJmespathAbout")} - - - {t( - "idpJmespathAboutDescription" - )}{" "} - - {t( - "idpJmespathAboutDescriptionLink" - )}{" "} - - - - - - - - - {t( - "remoteExitNodeCreate.generate.saveCredentialsTitle" - )} - - - {t( - "remoteExitNodeCreate.generate.saveCredentialsDescription" - )} - - )} diff --git a/src/app/[orgId]/settings/clients/machine/create/page.tsx b/src/app/[orgId]/settings/clients/machine/create/page.tsx index 05ace912..42dfe0d5 100644 --- a/src/app/[orgId]/settings/clients/machine/create/page.tsx +++ b/src/app/[orgId]/settings/clients/machine/create/page.tsx @@ -523,18 +523,6 @@ export default function Page() { - - - - - {t("clientCredentialsSave")} - - - {t( - "clientCredentialsSaveDescription" - )} - - diff --git a/src/app/[orgId]/settings/sites/create/page.tsx b/src/app/[orgId]/settings/sites/create/page.tsx index 6395c265..63c73b8c 100644 --- a/src/app/[orgId]/settings/sites/create/page.tsx +++ b/src/app/[orgId]/settings/sites/create/page.tsx @@ -820,18 +820,6 @@ WantedBy=default.target` - - - - {t("siteCredentialsSave")} - - - {t( - "siteCredentialsSaveDescription" - )} - - - {/*
*/} {/* - - - - {t("siteCredentialsSave")} - - - {t( - "siteCredentialsSaveDescription" - )} - - )} diff --git a/src/app/globals.css b/src/app/globals.css index 10a9764e..bd5860a6 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -40,7 +40,7 @@ } .dark { - --background: oklch(0.17 0.006 285.885); + --background: oklch(0.19 0.006 285.885); --foreground: oklch(0.985 0 0); --card: oklch(0.21 0.006 285.885); --card-foreground: oklch(0.985 0 0); @@ -56,7 +56,7 @@ --accent-foreground: oklch(0.985 0 0); --destructive: oklch(0.5382 0.1949 22.216); --border: oklch(1 0 0 / 13%); - --input: oklch(1 0 0 / 15%); + --input: oklch(1 0 0 / 18%); --ring: oklch(0.646 0.222 41.116); --chart-1: oklch(0.488 0.243 264.376); --chart-2: oklch(0.696 0.17 162.48); diff --git a/src/app/navigation.tsx b/src/app/navigation.tsx index 80e13ff2..54576c0c 100644 --- a/src/app/navigation.tsx +++ b/src/app/navigation.tsx @@ -82,6 +82,11 @@ export const orgNavSections = (): SidebarNavSection[] => [ } ] }, + { + title: "sidebarDomains", + href: "/{orgId}/settings/domains", + icon: + }, ...(build == "saas" ? [ { @@ -91,12 +96,7 @@ export const orgNavSections = (): SidebarNavSection[] => [ showEE: true } ] - : []), - { - title: "sidebarDomains", - href: "/{orgId}/settings/domains", - icon: - } + : []) ] }, { diff --git a/src/components/DNSRecordsDataTable.tsx b/src/components/DNSRecordsDataTable.tsx index 786b2d71..0a9eaa7d 100644 --- a/src/components/DNSRecordsDataTable.tsx +++ b/src/components/DNSRecordsDataTable.tsx @@ -114,6 +114,7 @@ export function DNSRecordsDataTable({ href="https://docs.pangolin.net/manage/domains" target="_blank" rel="noopener noreferrer" + className="hidden sm:block" > + ); + } + }, { accessorKey: "resourceName", enableHiding: false, @@ -135,23 +152,6 @@ export default function ShareLinksTable({ ); } }, - { - accessorKey: "title", - friendlyName: t("title"), - header: ({ column }) => { - return ( - - ); - } - }, // { // accessorKey: "domain", // header: "Link",