feat: experiment hiding non-Plus clickbait warning shield on feed#5912
feat: experiment hiding non-Plus clickbait warning shield on feed#5912
Conversation
Adds feed_clickbait_shield_warning GrowthBook boolean feature (default true) and gates the non-Plus warning state of ClickbaitShield behind it. When the flag is false, non-Plus users no longer see the yellow/red warning badge on feed cards. The green proof-of-value shield (after a free try), the Plus experience, post-detail PostClickbaitShield, and the feed header toggle are all unchanged. Made-with: Cursor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@claude please reivew this pr |
|
Claude finished @nimrodkra's task in 1m 31s —— View job PR Review
Overall the change is minimal, correct, and well-scoped. One process concern and a few minor notes below.
|
Addresses review: only evaluate feed_clickbait_shield_warning when the user is non-Plus, per CLAUDE.md guidance. Made-with: Cursor
|
Addressed the review: switched to |
Summary
Runs a GrowthBook experiment to hide the yellow/red warning
ClickbaitShieldbadge from non-Plus users on feed cards, without touching the rest of the feature.feed_clickbait_shield_warning(defaulttrue) inpackages/shared/src/lib/featureManagement.ts.packages/shared/src/components/cards/common/ClickbaitShield.tsx, when non-Plus and the user has not fetched the smart title for this post, returnsnullif the flag isfalse.Behavior
ShieldIcon/ShieldCheckIcon).fetchedSmartTitle = true): unchanged — still shows the greenShieldCheckIconas proof of value.fetchedSmartTitle = false): hidden when the flag isfalse; unchanged whentrue(default/control).PostClickbaitShield: unchanged.ToggleClickbaitShield: unchanged.Rollout
true(no user impact).Test plan
ShieldCheckIconstill renders on that card.ToggleClickbaitShieldare unaffected under both variants.Made with Cursor
Preview domain
https://feat-clickbait-shield-warning-ex.preview.app.daily.dev