Skip to content

Fix Sign In tabbed A/B variant after LGDS 7#8354

Merged
aduth merged 1 commit intomainfrom
aduth-fix-button-group
May 8, 2023
Merged

Fix Sign In tabbed A/B variant after LGDS 7#8354
aduth merged 1 commit intomainfrom
aduth-fix-button-group

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented May 8, 2023

🛠 Summary of changes

Fixes a visual regression introduced in #8093, affecting one of the 3 Sign-In page A/B test variants ("Tabbed"). Fortunately, the design system upgrade has not shipped yet in production, so the bug is not live.

#8093 takes advantage of USWDS' new per-component stylesheet optimization feature, opting in to only the components currently in use. Because of overlapping timeframe of #8093 and #8112 and the fact that the A/B test is not shown in all cases, the "Button Group" component was not included.

I also made another pass at trying to find components potentially in use that are not included, and did not find others.

📜 Testing Plan

Easier to test when forcing Tabbed variant 100% of the time, adding this to config/application.yml:

sign_in_a_b_testing: '{"tabbed":100}'

👀 Screenshots

Before After
Screen Shot 2023-05-08 at 9 15 16 AM Screen Shot 2023-05-08 at 9 14 59 AM

@aduth aduth requested a review from a team May 8, 2023 13:20
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aduth aduth merged commit ea4ea5e into main May 8, 2023
@aduth aduth deleted the aduth-fix-button-group branch May 8, 2023 14:25
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.

2 participants