Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add related links A/B test #1223

Merged
merged 4 commits into from
Feb 12, 2019
Merged

Add related links A/B test #1223

merged 4 commits into from
Feb 12, 2019

Conversation

karlbaker02
Copy link
Contributor

@karlbaker02 karlbaker02 commented Jan 25, 2019

This PR adds support for the Related Links A/B test, showing a different set of related links on the B variant from the content item's suggested_ordered_related_items, where it exists. It also updates the current RelatedLinksAATest to be RelatedLinksABTest.

Trello: https://trello.com/c/byNrHEMw


Visual regression results:
https://government-frontend-pr-1223.surge.sh/gallery.html

Component guide for this PR:
https://government-frontend-pr-1223.herokuapp.com/component-guide

@benthorner benthorner temporarily deployed to government-frontend-pr-1223 January 25, 2019 14:29 Inactive
@karlbaker02 karlbaker02 requested review from sihugh and bilbof January 28, 2019 10:41
bilbof
bilbof previously approved these changes Jan 29, 2019
@karlbaker02 karlbaker02 force-pushed the add-related-links-a-b-test branch from 29fe405 to f93580b Compare January 29, 2019 16:19
@karlbaker02 karlbaker02 changed the title [DO NOT MERGE] Add related links A/B test Add related links A/B test Feb 12, 2019
Karl Baker added 4 commits February 12, 2019 09:45
…hey exist and when running the B variant of the test
… related links do not exist.

Previously, a user on the B variant would have seen related links of the control variant if the test variant contained no related links, as `ordered_related_items` would not have been overridden on the content item. This commit fixes that problem, to ensure a fair test.

This commit also renames `RelatedLinksABTest` to `RelatedLinksABTest1` in anticipation of multiple test iterations.

Solo: @karlbaker02
@karlbaker02 karlbaker02 merged commit da643f4 into master Feb 12, 2019
@karlbaker02 karlbaker02 deleted the add-related-links-a-b-test branch February 12, 2019 11:57
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.

4 participants