From 540aee3fe2d2dc879eb6653f7ab7341b66a3a0f4 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Wed, 10 Jun 2026 17:52:33 -0700 Subject: [PATCH] update docs links --- messages/en-US.json | 1 + src/app/[orgId]/settings/general/page.tsx | 2 +- .../resources/public/[niceId]/rdp/page.tsx | 2 +- .../resources/public/[niceId]/ssh/page.tsx | 6 +++--- .../settings/resources/public/create/page.tsx | 10 ++++----- .../settings/sites/[niceId]/general/page.tsx | 2 +- src/app/ssh/SshClient.tsx | 2 +- src/components/BrowserGatewayTargetForm.tsx | 2 +- src/components/PrivateResourceForm.tsx | 2 +- src/components/ResourcePoliciesBanner.tsx | 21 +++++++++++++++++-- 10 files changed, 34 insertions(+), 16 deletions(-) diff --git a/messages/en-US.json b/messages/en-US.json index 48ad74542..f033e96f4 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -214,6 +214,7 @@ "resourceErrorDelte": "Error deleting resource", "resourcePoliciesBannerTitle": "Re-use Authentication and Access Rules", "resourcePoliciesBannerDescription": "Shared resource policies let you define authentication methods and access rules once, then attach them to multiple public resources. When you update a policy, every linked resource inherits the change automatically.", + "resourcePoliciesBannerButtonText": "Learn More", "resourcePoliciesTitle": "Manage Public Resource Policies", "resourcePoliciesAttachedResourcesColumnTitle": "Resources", "resourcePoliciesAttachedResources": "{count} resource(s)", diff --git a/src/app/[orgId]/settings/general/page.tsx b/src/app/[orgId]/settings/general/page.tsx index 0ebfae651..e20523250 100644 --- a/src/app/[orgId]/settings/general/page.tsx +++ b/src/app/[orgId]/settings/general/page.tsx @@ -282,7 +282,7 @@ function GeneralSectionForm({ org }: SectionFormProps) { {t("newtAutoUpdateDescription")}{" "} diff --git a/src/app/[orgId]/settings/resources/public/[niceId]/ssh/page.tsx b/src/app/[orgId]/settings/resources/public/[niceId]/ssh/page.tsx index 3629ed7cd..8696e1967 100644 --- a/src/app/[orgId]/settings/resources/public/[niceId]/ssh/page.tsx +++ b/src/app/[orgId]/settings/resources/public/[niceId]/ssh/page.tsx @@ -467,7 +467,7 @@ function SshServerForm({

{t("sshDaemonDisclaimer")}{" "} @@ -602,7 +602,7 @@ function SshServerForm({ siteField="selectedSite" destinationField="destination" destinationPortField="destinationPort" - learnMoreHref="https://docs.pangolin.net/manage/resources/public/ssh" + learnMoreHref="https://docs.pangolin.net/manage/resources/public/ssh#site-and-host-configuration" defaultPort={22} /> diff --git a/src/app/[orgId]/settings/resources/public/create/page.tsx b/src/app/[orgId]/settings/resources/public/create/page.tsx index 08c2093d7..b3810c562 100644 --- a/src/app/[orgId]/settings/resources/public/create/page.tsx +++ b/src/app/[orgId]/settings/resources/public/create/page.tsx @@ -1097,7 +1097,7 @@ export default function Page() { "sshDaemonDisclaimer" )}{" "} @@ -1256,7 +1256,7 @@ export default function Page() { siteField="selectedSite" destinationField="destination" destinationPortField="destinationPort" - learnMoreHref="https://docs.pangolin.net/manage/resources/public/ssh" + learnMoreHref="https://docs.pangolin.net/manage/resources/public/ssh#site-and-host-configuration" defaultPort={22} /> @@ -1306,7 +1306,7 @@ export default function Page() { sitesField="selectedSites" destinationField="destination" destinationPortField="destinationPort" - learnMoreHref="https://docs.pangolin.net/manage/resources/public/rdp" + learnMoreHref="https://docs.pangolin.net/manage/resources/public/rdp#site-and-host-configuration" defaultPort={3389} /> @@ -1353,7 +1353,7 @@ export default function Page() { sitesField="selectedSites" destinationField="destination" destinationPortField="destinationPort" - learnMoreHref="https://docs.pangolin.net/manage/resources/public/vnc" + learnMoreHref="https://docs.pangolin.net/manage/resources/public/vnc#site-and-host-configuration" defaultPort={5900} /> diff --git a/src/app/[orgId]/settings/sites/[niceId]/general/page.tsx b/src/app/[orgId]/settings/sites/[niceId]/general/page.tsx index 4f1b8035f..8d5a654c9 100644 --- a/src/app/[orgId]/settings/sites/[niceId]/general/page.tsx +++ b/src/app/[orgId]/settings/sites/[niceId]/general/page.tsx @@ -317,7 +317,7 @@ export default function GeneralPage() { "siteAutoUpdateDescription" )}{" "} {t("sshPrivateKeyDisclaimer")}{" "} ( {t("sshDaemonDisclaimer")}{" "} { @@ -14,7 +16,22 @@ export const ResourcePoliciesBanner = () => { title={t("resourcePoliciesBannerTitle")} titleIcon={} description={t("resourcePoliciesBannerDescription")} - /> + > + + + + ); };