Skip to content

[V3] Avoid concatenating all tags when grouped by tagGroups - #853

Merged
sserrata merged 1 commit into
PaloAltoNetworks:v3.0.0from
ElliotFriend:v3-792-taggroups-display-wrong
Jun 27, 2024
Merged

sserrata merged 1 commit into
PaloAltoNetworks:v3.0.0from
ElliotFriend:v3-792-taggroups-display-wrong

Conversation

@ElliotFriend

@ElliotFriend ElliotFriend commented Jun 26, 2024 •

Copy link
Copy Markdown
Contributor

Description

Before concatenating the apiTags, operationTags, and schemaTags, the sidebars/index.ts file now checks to make sure that gropuPathsBy is not "tagGroup." This prevents the undesired tag categories from being added to the tagGroup category.

Motivation and Context

As reported in #792, using groupBy: "tagGroups" still leaves the sidebar with extra, undesired tags categories inside each tagGroup category. This PR resolves that, in the v3 branch.

How Has This Been Tested?

Locally, I've inspected the running dev site. I've run yarn test, and everything still passes.

Screenshots (if appropriate)

Screenshot 2024-06-26 at 4 56 48 PM

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

@github-actions

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 38acff3):

https://docusaurus-openapi-36b86--pr853-gn7rvsrm.web.app

(expires Sat, 27 Jul 2024 15:16:09 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

@sserrata
sserrata merged commit 0a8aafc into PaloAltoNetworks:v3.0.0 Jun 27, 2024

This branch was previously deployed

1 inactive deployment
default — 38acff32 Deployed Jun 26, 2024 by ElliotFriend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants