Skip to content

NewsletterSignupCard — feature flag + swap in EmailSignUpWrapper #15680

@georgerichmond

Description

@georgerichmond

Summary

Wire NewsletterSignupCard.island.tsx into the existing EmailSignUpWrapper.island.tsx behind a feature flag. The old component remains untouched and is the default. This ticket makes the new component visible in production for the first time.

Parent epic: guardian/newsletters-nx#583


Tasks

  • Add a feature flag for the new component
  • Update EmailSignUpWrapper.island.tsx to conditionally render NewsletterSignupCard.island.tsx when the flag is enabled
  • Verify the old component still renders correctly when the flag is off
  • Smoke test both paths in CODE

Out of scope

  • No already-subscribed state
  • No preview modal
  • No frequency logic changes
  • No deletion of EmailSignup.tsx or SecureSignup.island.tsx — these stay until the flag is fully rolled out

Design reference

https://www.figma.com/design/ucERNBXZ9CAObsjnVWqgEi/Newsletter-Sign-Up-Component?node-id=1492-7289&t=9vObuzDe6UjYnHbv-11


After this one we have frequency logic, preview modal and already-subscribed still to cover — which would you like next?

Metadata

Metadata

Labels

NEWSLETTERSNewsletters related work.featureDepartmental tracking: work on a new feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions