Skip to content

NewsletterSignupCard — preview modal #15682

@georgerichmond

Description

@georgerichmond

Summary

Implement the preview modal triggered by the "Preview latest" CTA in NewsletterSignupCard.island.tsx. Details of the modal content and data source TBC.


Tasks

  • Implement modal trigger from "Preview latest" CTA
  • Reuse existing DCR modal pattern if one exists, otherwise create new
  • Wire in preview content — source TBC
  • Close behaviour — click outside, escape key, explicit close button
  • Storybook story for modal open state

Open questions

  • What does the modal content look like? (iframe, summary, excerpt?)
  • Where does the preview content come from? (existing API endpoint or new?)
  • Is there an existing modal component in DCR to reuse?

Out of scope

  • No changes to the feature flag or rollout

Design reference

  • Ensure correct designs in both light and dark mode

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


Want to do the already-subscribed ticket next, or the frequency one?

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