guardian / frontend

The Guardian DotCom.
https://theguardian.com
Other
5.85k stars 555 forks source link

newsletter id snaps #27608

Open dblatcher opened 1 week ago

dblatcher commented 1 week ago

What is the value of this and can you measure success?

[if it works] - including a snaplink (to the API page for a newsletter) on a front will provide enough data in the DCR page model for DCR to render a sign-up widget to that newsletter in the slot that the snaplink was placed.

Should provide a the basis for a DCR-rendered replacement to newsletter thrashers - in theory, should be possible to drop a snaplink in a thrasher slot in the fronts-tool and have DCR render a new component.

What does this change?

Screenshots

Checklist