From d8548aac1ee2f050e0f005479be9121d5549b33e Mon Sep 17 00:00:00 2001 From: Steve Persch Date: Wed, 16 Oct 2024 16:17:04 -0500 Subject: [PATCH] more menu tweaks with Rachel and Chris --- .../content/guides/domains/configure-dns.md | 21 ---------- src/components/omniSidebarNav/getOmniItems.js | 18 ++++----- .../omniSidebarNav/submenus/dnsProviders.js | 39 +++++++++---------- .../omniSidebarNav/submenus/getStarted.js | 1 - .../omniSidebarNav/submenus/pagesToDelete.js | 4 ++ .../omniSidebarNav/submenus/wordpress.js | 9 ++--- 6 files changed, 35 insertions(+), 57 deletions(-) delete mode 100644 source/content/guides/domains/configure-dns.md diff --git a/source/content/guides/domains/configure-dns.md b/source/content/guides/domains/configure-dns.md deleted file mode 100644 index 72f3354ff5..0000000000 --- a/source/content/guides/domains/configure-dns.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -contenttype: [partial] -categories: [domains] -cms: [--] -product: [--] -integration: [--] -tags: [--] -reviewed: "" ---- - -The " /> icon within the Domains / HTTPS page indicates that the domain has not been correctly routed to Pantheon. Complete the steps below before you provision your HTTPS. - -1. Access the ** Live** environment in your Pantheon Site Dashboard. -1. Navigate to the ** Domains / HTTPS** page. -1. Select **Details** next to the `www` domain. -1. Log in to the DNS host for the domain in a separate window. -1. Copy the value provided in the Pantheon Site Dashboard for the required **A** record, then use it to create an **A** record wherever you manage DNS. Repeat this step for both of the AAAA records. -1. Return to the ** Domains / HTTPS** page in the Pantheon Site Dashboard. -1. Click **Details** next to the bare domain. -1. Copy the value provided in the Pantheon Site Dashboard for the required **A** record, then use it to create an A record wherever you manage DNS. Repeat this step for both of the AAAA records. - - Note that if the Platform detects a CNAME record, the **Status** will show `Remove this detected record` on the line with the CNAME. Remove the CNAME from the DNS management service to avoid potential issues or interruptions. diff --git a/src/components/omniSidebarNav/getOmniItems.js b/src/components/omniSidebarNav/getOmniItems.js index 140e0f54b8..5984ce5b9f 100644 --- a/src/components/omniSidebarNav/getOmniItems.js +++ b/src/components/omniSidebarNav/getOmniItems.js @@ -28,28 +28,28 @@ const getOmniItems = () => { pagesToDelete(), unassignedPages(), getStarted(), // assigned to Chris ✅ - wordpress(), // assigned to Chris - // Assigned to Steve - drupal(), - dnsProviders(), + wordpress(), // assigned to Chris ✅ + + drupal(), // Assigned to Steve + dnsProviders(), // ?? do we need this at all? migrateAndUpgrade(), webInfrastructure(), accountManagement(), integrations(), - frontEndSites(), + frontEndSites(), // ✅ terminus(), - // assigned to Rachel - about(), + about(), // assigned to Rachel ✅ workflows(), + // @todo, should we have a separate tutorials section? { link: '/certification', title: 'WebOps Certification', - children: CertificationItems, + children: CertificationItems, // ✅ }, ]; - // console.log('OmniItems: ', OmniItems); + console.log('OmniItems: ', OmniItems); return OmniItems; }; diff --git a/src/components/omniSidebarNav/submenus/dnsProviders.js b/src/components/omniSidebarNav/submenus/dnsProviders.js index ba9da28175..dee989fb1c 100644 --- a/src/components/omniSidebarNav/submenus/dnsProviders.js +++ b/src/components/omniSidebarNav/submenus/dnsProviders.js @@ -1,31 +1,30 @@ import { getGuideDirectory, simpleLink } from './../helpers'; +// @todo, rename this function and file to something like "goingLive" or "golive" const dnsProviders = () => { + return { - link: '/dns-providers', - title: 'DNS Updates', + link: '/go-live', + title: 'Going Live', children: [ - // Should these be the parent, and DNS the child? - simpleLink('/go-live', 'Going live'), + getGuideDirectory('guides/domains', 'Domains'), + simpleLink('/dns-providers', 'DNS Providers', [ + simpleLink('/1-and-1', '1 & 1'), + simpleLink('/route53', 'Amazon Route 53'), + simpleLink('/cloudflare', 'Cloudflare'), + simpleLink('/dreamhost', 'DreamHost'), + simpleLink('/dns-made-easy', 'DNS Made Easy'), + simpleLink('/dyn', 'Dyn'), + simpleLink('/enom', 'eNom'), + simpleLink('/gandi', 'Gandi'), + simpleLink('/godaddy', 'GoDaddy'), + simpleLink('/namecheap', 'Namecheap'), + simpleLink('/network-solutions', 'Network Solutions'), + ]), + getGuideDirectory('guides/launch', 'Launch'), simpleLink('/relaunch', 'Relaunch an existing site'), - // This page doesn't have a title??? - simpleLink('/configure-dns', 'Configure DNS'), - simpleLink('/1-and-1', '1 & 1'), - simpleLink('/route53', 'Amazon Route 53'), - simpleLink('/cloudflare', 'Cloudflare'), - simpleLink('/dns-made-easy', 'DNS Made Easy'), - simpleLink('/dreamhost', 'DreamHost'), - simpleLink('/dyn', 'Dyn'), - simpleLink('/enom', 'eNom'), - simpleLink('/gandi', 'Gandi'), - simpleLink('/godaddy', 'GoDaddy'), - simpleLink('/namecheap', 'Namecheap'), - simpleLink('/network-solutions', 'Network Solutions'), - // Does this still exist? - simpleLink('/google', 'Google Cloud DNS'), ], } - }; export default dnsProviders; diff --git a/src/components/omniSidebarNav/submenus/getStarted.js b/src/components/omniSidebarNav/submenus/getStarted.js index f6ff39f570..14bc2f584e 100644 --- a/src/components/omniSidebarNav/submenus/getStarted.js +++ b/src/components/omniSidebarNav/submenus/getStarted.js @@ -14,7 +14,6 @@ const getStarted = () => { simpleLink('/personal-settings', "Personal Settings"), simpleLink('/add-site-custom-upstream', "Adding a Site with a Custom Upstream"), ]), - getGuideDirectory('guides/launch', 'Launch'), ], } }; diff --git a/src/components/omniSidebarNav/submenus/pagesToDelete.js b/src/components/omniSidebarNav/submenus/pagesToDelete.js index 292e9a6b9c..2d6ec9055a 100644 --- a/src/components/omniSidebarNav/submenus/pagesToDelete.js +++ b/src/components/omniSidebarNav/submenus/pagesToDelete.js @@ -39,7 +39,11 @@ const dnsProviders = () => { simpleLink('/add-site', "Adding a Site"), // Non-dupe content on this page should be moved to /guides/getstarted/addsite simpleLink('/add-site-dashboard', "Add a site"), + // This should be added as a sub-page of guides/mariadb-mysql + simpleLink('/optimize-wp-options-table-autoloaded-data', 'Optimize wp_options Table and Autoloaded Data'), + // This is actually for google domains and that's no longer a service + simpleLink('/google', 'Google Cloud DNS'), // Has unsupported "product" upstreams Panopoly and OpenAtrium simpleLink('/start-state'), diff --git a/src/components/omniSidebarNav/submenus/wordpress.js b/src/components/omniSidebarNav/submenus/wordpress.js index a5adbba008..892e12a966 100644 --- a/src/components/omniSidebarNav/submenus/wordpress.js +++ b/src/components/omniSidebarNav/submenus/wordpress.js @@ -13,14 +13,11 @@ const wordpress = () => { simpleLink('/symlinks-assumed-write-access', 'Symlinks and plugins that assume write access'), getGuideDirectory('guides/multisite', "WordPress Multisite"), getGuideDirectory('guides/woocommerce', "WooCommerce"), - simpleLink('/wordpress-known-issues', 'WordPress Known Issues', [ - // @todo: add installing from third party sources doc here - simpleLink('/plugins-known-issues', 'Plugins and Themes with Known Issues'), - simpleLink('/optimize-wp-options-table-autoloaded-data', 'Optimize wp_options Table and Autoloaded Data'), - ]), + // @todo: add installing from third party sources doc here + simpleLink('/wordpress-known-issues', 'WordPress Known Issues'), + simpleLink('/plugins-known-issues', 'Plugins and Themes with Known Issues'), ] } - }; export default wordpress;