Skip to content

[PNP-10212] Remove root site content id from ordered_navigation_items - #4213

Merged
KludgeKML merged 1 commit into
mainfrom
pnp-10212-update-minisite-example
Sep 30, 2026
Merged

KludgeKML merged 1 commit into
mainfrom
pnp-10212-update-minisite-example

Conversation

@KludgeKML

Copy link
Copy Markdown
Contributor
  • The minisite root is treated differently from other navigation items in the service navigation component, so remove it from the ordered items array. The rendering app will find it from the shared links (recognising it by document type), and put it in the correct place in the component.

https://gov-uk.atlassian.net/browse/PNP-10212

This application is owned by the Content APIs team. Please let us know in #govuk-content-apis when you raise any PRs.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

- The minisite root is treated differently from other navigation items in the service navigation component, so remove it from the ordered items array. The rendering app will find it from the shared links (recognising it by document type), and put it in the correct place in the component.
@KludgeKML

Copy link
Copy Markdown
Contributor Author

Test is broken on FE because it has the number of element hardcoded. Will fix after merging this.

@KludgeKML
KludgeKML merged commit 42ee947 into main Sep 30, 2026
38 of 40 checks passed
@KludgeKML
KludgeKML deleted the pnp-10212-update-minisite-example branch September 30, 2026 09:44
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