alphagov / govuk-browser-extension

Chrome and Firefox extension for developers working on GOV.UK.
25 stars 5 forks source link

Display active A/B tests, with current variant highlighted #45

Closed suzannehamilton closed 7 years ago

suzannehamilton commented 7 years ago

Determine any A/B tests which are currently active, using the meta-tag which has been added to the page. Display this in the extension popup, making it clear which version of the page the user is seeing.

The A/B tests are added to the bottom of the extension's popup window:

screen shot 2017-01-20 at 17 23 37

If there are no active A/B tests, this section doesn't appear at all.

Note that this currently just displays the current A/B bucket. The next thing to do is add code to allow the user to change the bucket. I'm also planning to add a "Clear" button to remove the cookie or header, so the user can be reassigned to a random bucket.

Trello: https://trello.com/c/jra1OClm/320-make-it-easy-to-test-experiments-in-non-prod-environments

tijmenb commented 7 years ago

💯 great!