guardian / frontend

The Guardian DotCom.
https://theguardian.com
Other
5.85k stars 555 forks source link

Replace collections on `europe` front if participating in the Europe beta test #27635

Open cemms1 opened 1 day ago

cemms1 commented 1 day ago

What is the value of this and can you measure success?

Setting up phase 2 of the Europe beta experiment test plan to show the containers on the Europe beta front instead of those on the Europe front for users participating in the test

If a user requests the europe front and is not particpating in the test, the europe collections are returned as usual.

If a user requests any other front and is either participating or not participating in the Europe beta test, the collections configured for that front are unchanged.

Trello ticket link

What does this change?

Adjusts the logic in renderFrontPressResult for fetching the futureFaciaPage to swap the collections returned in the response if a user is participating in the Europe beta test and they are requesting the Europe front.

All other fields remain the same apart from collections which returns those on the hidden europe-beta front instead of the usual collections returned from the europe front.

Screenshots

Checklist

github-actions[bot] commented 1 day ago

Deploy build 3371 of dotcom:frontend-all to CODE

All deployment options - [Deploy build 3371 of `dotcom:frontend-all` to CODE](https://riffraff.gutools.co.uk/deployment/deployAgain?project=dotcom%3Afrontend-all&build=3371&stage=CODE&updateStrategy=MostlyHarmless&action=deploy) - [Deploy parts of build 3371 to CODE by previewing it first](https://riffraff.gutools.co.uk/preview/yaml?project=dotcom%3Afrontend-all&build=3371&stage=CODE&updateStrategy=MostlyHarmless) - [What's on CODE right now?](https://riffraff.gutools.co.uk/deployment/history?projectName=dotcom%3Afrontend-all&stage=CODE)

From guardian/actions-riff-raff.