-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set 'hide support messaging' cookie for one time contributors #6643
Conversation
Size Change: -8 B (0%) Total Size: 2.23 MB ℹ️ View Unchanged
|
Thinking through some scenarios:
Does this all sound right? |
Yes, this is all correct I think. The cookie set by support-frontend will cover the 90 days period which we give one time contributors until they sign in, from that point on the mdapi/user-benefits response takes over and they need to remain signed in to receive the benefit. |
Seen on PROD (merged by @rupertbates 9 minutes and 32 seconds ago)
Sentry Release: support-client-side, support |
What are you doing in this PR?
We want to stop working out user benefits from what products they have and instead delegate that to the user-benefits api.
As part of this work we no longer want to set a cookie to inform dotcom that a user has made a one time contribution, but instead set the 'hide support messaging' cookie which tells DCR & support-dotcom-components to show fewer support asks.
This PR works in combination with: guardian/dotcom-rendering#13037