Skip to content

Conversation

@i-hardy
Copy link
Contributor

@i-hardy i-hardy commented Dec 3, 2025

What does this change?

This adds target="_blank" to make the links for opting into an A/B test variant open in a new tab.

Why?

Attempting to open the link in the current page causes an error as the page is loaded via an iframe; opening in a new tab avoids this.

@i-hardy i-hardy requested a review from a team as a code owner December 3, 2025 12:12
@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@i-hardy i-hardy added the run_chromatic Runs chromatic when label is applied label Dec 3, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Dec 3, 2025
Copy link
Contributor

@dskamiotis dskamiotis left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@i-hardy i-hardy merged commit 2bf21d0 into main Dec 3, 2025
35 checks passed
@i-hardy i-hardy deleted the ih/ab-test-opt-in-link branch December 3, 2025 12:31
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