Setup Content Pages Taxonomy Navigation AB Test (with services) #983
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.
Trello: https://trello.com/c/X1RaZyOR/46-get-most-popular-services-content
This PR sets up the Content Pages AB test. The B variant will add taxonomy navigation to the bottom of content pages which are tagged to at least one live taxon (excluding HTML publications).
This PR also includes getting the data for the first supergroup section (Services) in that navigation section. Work done to tidy up the frontend rendering of this section will be done in a later commit.
Example tagged to one taxon
Example tagged to multiple taxons
Note: we are currently rendering all results in highlight boxes rather than making use of the document list component. This will be addressed in a later commit.
Examples:
You will need to have an extension like ModHeader installed in your browser to see the B Variant. The values should be:
Request Header Name: GOVUK-ABTest-ContentPagesNav
Request Header Value: B
Component guide for this PR:
https://government-frontend-pr-983.herokuapp.com/component-guide