-
Notifications
You must be signed in to change notification settings - Fork 517
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
enhance(ad-free): hide top-banner completely #11412
enhance(ad-free): hide top-banner completely #11412
Conversation
That shouldn't have been there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me the advantage is that we don't need the change in user-context
and have this bit of information only once in the system. Not having it taking effect instant avoids the layout shift (I'd rather then have the banner blank in that case).
Less changes, less code, sameish user experience.
But if you strongly feel about this I'll approve.
Just please first get it out on stage.
When paying MDN Plus subscribers enable the "Ad-free experience", we now hide the top banner completely, rather than showing it with a fallback message. The top banner is hidden immediately, avoiding a layout shift.
Summary
(MP-1059)
Problem
We’re showing the “Get real-time assistance with your coding queries. Try AI Help now!” top-banner fallback, even if paying subscribers have enabled the Ad-Free Experience.
Solution
Hide the top-banner fallback if the Ad-Free Experience is enabled.
Screenshots
Before
After
How did you test this change?
Ran
yarn dev
locally with local Rumba and changed the "Ad-free Experience" setting.