hlxsites / prisma-cloud-docs-website

blocks and gdoc authored content for https://docs.prismacloud.io
Apache License 2.0
3 stars 2 forks source link

Incorrect nesting in left nav #163

Closed iansk closed 11 months ago

iansk commented 11 months ago

Description

Subsections in the left nav are infinitely nested when they should, in fact, all be at the same level.

Repro:

  1. In a new browser tab, go to this page:

https://main--prisma-cloud-docs-website--hlxsites.hlx.page/prisma/prisma-cloud/en/enterprise-edition/content-collections/connect/connect-cloud-accounts/connect-cloud-accounts

  1. Expand the section "Onboard AWS"

  2. Scroll down, and expand "Onboard Your Azure Account". Note that that "Onboard Your Azure Account" is nested under "Onboard AWS", i.e.

    Connect Cloud Accounts > Onboard AWS > Onboard Your Azure Account

  3. Scroll down, and expand the "Onboard GCP". Note that it's nested under "Onboard Your Azure Account", i.e.

    Connect Cloud Accounts > Onboard AWS > Onboard Your Azure Account > Onboard GCP

  4. Scroll down, and expand "Onboard Your Oracle Cloud Infrastructure Account". Note that it's nested under "Onboard GCP", i.e.

    Connect Cloud Accounts > Onboard AWS > Onboard Your Azure Account > Onboard GCP > Onboard Your Oracle Cloud Infrastructure Account

  5. Scroll down, and expand "Onboard Your Alibaba Cloud Account". Note that it's nested under "Onboard Your Oracle Cloud Infrastructure Account", i.e.

    Connect Cloud Accounts > Onboard AWS > Onboard Your Azure Account > Onboard GCP > Onboard Your Oracle Cloud Infrastructure Account > Onboard Your Oracle Cloud Infrastructure Account > Onboard Your Alibaba Cloud Account

Issue:

All the "Onboard*" sections are nested under each other.

Expected behaviour:

All the "Onboard*" sections should be at the same level, i.e.

Note that the "Cloud Service Provider Regions on Prisma Cloud" topic file that's currently at this location:

Connect Cloud Accounts > Onboard AWS > Onboard Your Azure Account > Onboard GCP > Onboard Your Oracle Cloud Infrastructure Account > Onboard Your Oracle Cloud Infrastructure Account > Onboard Your Alibaba Cloud Account > Cloud Service Provider Regions on Prisma Cloud

should actually be here:

Connect Cloud Accounts > Cloud Service Provider Regions on Prisma Cloud

Testing/validation notes for iansk:

Test using these use cases from the internal tracking sheet:

iansk commented 11 months ago

This issue can be reproduced on the codebase from before Charlie merged his redesign work.

See this branch:

https://ian-test2--prisma-cloud-docs-website--hlxsites.hlx.page/prisma/prisma-cloud/en/enterprise-edition/content-collections/connect/connect