Skip to content

Remove newsletter preview - #16536

Open
bendudiak-fry wants to merge 3 commits into
mainfrom
remove-newsletter-preview
Open

Remove newsletter preview#16536
bendudiak-fry wants to merge 3 commits into
mainfrom
remove-newsletter-preview

Conversation

@bendudiak-fry

@bendudiak-fry bendudiak-fry commented Aug 10, 2026

Copy link
Copy Markdown

What does this change?

Removes the Newsletter preview button and modal.

Also removes the 'newsletter-in-article-signup-preview' A/B test as well as utility code for sending A/B test events related to the newsletter signup form.

Why?

An AB test has showed the preview modal functionality increases the dropoff rate for newsletter signups.

How has this change been tested?

As this is a removal of previous functional the existing test suites (unit, component, storybook and e2e) have been used.

Additional, the change has been deployed to CODE and reviewed visually on https://m.code.dev-theguardian.com/tv-and-radio/2026/apr/24/i-hope-it-got-disinfected-matthew-rhys-on-bravery-banter-and-wearing-a-prosthetic-penis

Screenshots

Before After
signup-preview signup
signup-preview-desktop signup-desktop

@github-actions

github-actions Bot commented Aug 10, 2026

Copy link
Copy Markdown

@bendudiak-fry bendudiak-fry added the feature Departmental tracking: work on a new feature label Aug 10, 2026
*
* Used by the "Browse more newsletters" link.
*/
export const tertiaryButtonTheme: Partial<ThemeButton> = {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

cssOverrides={tryAgainButtonStyles}
data-ignore="global-link-styling"
>
Browse more newsletters

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The tertiary button theme was used here, and also on the newsletter preview button. Now that the preview button is removed, I've renamed the css vars in the pallete.

@bendudiak-fry
bendudiak-fry force-pushed the remove-newsletter-preview branch from 122de82 to 355af2a Compare August 11, 2026 08:30
@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown

Removes preview button from Newsletter signup cards.

Additionally removes NewsletterPreviewModal and NewsletterPreviewButton as they are no longer used
@bendudiak-fry
bendudiak-fry force-pushed the remove-newsletter-preview branch from 355af2a to 2497570 Compare August 11, 2026 12:46
@bendudiak-fry
bendudiak-fry marked this pull request as ready for review August 11, 2026 14:44
@bendudiak-fry
bendudiak-fry requested a review from a team as a code owner August 11, 2026 14:44
@github-actions

Copy link
Copy Markdown

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.

@georgerichmond georgerichmond left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good nice tidyup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants