Skip to content

Conversation

@nolannbiron
Copy link
Member

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Nov 27, 2025

⚠️ No Changeset found

Latest commit: 5256579

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for filtering out hidden sections and section groups from the site structure. The changes ensure that sections where all site spaces are hidden are excluded from the visible sections list, improving the user experience by not displaying inaccessible content.

  • Introduced filtering logic to exclude sections with only hidden site spaces
  • Added recursive filtering for section groups to handle nested structures
  • Updated parseSiteSectionsAndGroups to apply the new filtering logic

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@argos-ci
Copy link

argos-ci bot commented Nov 27, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2 (Inspect) ✅ No changes detected - Nov 27, 2025, 3:49 PM
v2-cloudflare (Inspect) ⚠️ Changes detected (Review) 14 changed Nov 27, 2025, 3:54 PM
v2-vercel (Inspect) ⚠️ Changes detected (Review) 15 changed, 2 added Nov 27, 2025, 3:54 PM

@nolannbiron nolannbiron marked this pull request as ready for review November 27, 2025 15:52
Copy link
Contributor

@conico974 conico974 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the right place to do that actually ? These sections are hidden in navigation only right ?
The context is used basically everywhere, and I'm wondering if removing stuff from here could actually break other parts like the sitemap for example

@nolannbiron
Copy link
Member Author

nolannbiron commented Nov 27, 2025

@conico974 it's enabled only for one customer and they don't really care about sitemap, it's already working for variants but I'll double check if it breaks anything for sections/groups

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.

3 participants