Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
On specified pages, create a multivariate test showing a new report a problem design.
When the test is finished, we'd ideally like to be able to revert this change wholesale.
This branch has some good improvements to the report-a-problem form that we'd like to keep... is it possible to spin those out into a separate PR, leaving just the stuff that we can remove later?
If a page is being tested (currently set to all pages), then create a standard test named `report-a-problem-redesign-ab-test`, with two variants: the original design and the new design. Refactor tests to ensure that the expected behaviours works in all three variants: no test, control and new design. Move standard tests into a helper that can be called in different contexts.
Add a new design which includes a Yes/No link that when clicked opens a form containing a textarea. Re-uses the existing end point to avoid significant refactoring, which is unnecessary while we are only testing. * Continue to submit to the existing end point * Coerce Yes/No values into a hidden input field previously used for “What you were doing” * Add analytics tracking to Yes/No and original variant toggling