Navigation spike - expanded reverse links [WHIT-3342]#4075
Closed
ChrisBAshton wants to merge 4 commits into
Closed
Navigation spike - expanded reverse links [WHIT-3342]#4075ChrisBAshton wants to merge 4 commits into
ChrisBAshton wants to merge 4 commits into
Conversation
6f41b6e to
ff2c3d5
Compare
ChrisBAshton
commented
May 29, 2026
| # These expand every member of the reciprocal direct link type from | ||
| # the source link set, instead of only mirroring the edition being expanded. | ||
| REVERSE_LINKS_WITH_MEMBER_EXPANSION = { | ||
| document_collections: :documents, |
Contributor
Author
There was a problem hiding this comment.
We'd create a new document type and link type, but you get the idea.
Suggested change
| document_collections: :documents, | |
| shared_navigation: :navigation_items, |
± or shared_navigation, in future. We're just piggy-backing onto document_collections for the spike.
Contributor
Author
|
Moved to #4085 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira: https://gov-uk.atlassian.net/browse/WHIT-3342
This application is owned by the Content APIs team. Please let us know in #govuk-content-apis when you raise any PRs.
Follow these steps if you are doing a Rails upgrade.