guardian / guardian/dotcom-rendering

How might we: Hide newsletter sign-up form if user has already signed up

Open
#16,493 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

If a user has signed up to an email newsletter, they may still see a form asking them to sign up for it.

This might require [a new endpoint](https://github.com/guardian/frontend/blob/58967e3555caac4181414cd071396a2b6842a28d/applications/conf/routes#L34-L50)

Contributor guide

Open the contributing guide

Research direction

Start by inspecting applications/conf/routes around the linked lines and locating the newsletter sign-up form in the rendering service. Trace how a user's existing newsletter subscription could be checked and determine the behavior for subscribed and unsubscribed users. Done means signed-up users no longer see the form while eligible users still can.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.