Skip to content

feat: add contextual referral and review prompts#6027

Open
tsahimatsliah wants to merge 7 commits into
mainfrom
feat/referral-review-growth-pr
Open

feat: add contextual referral and review prompts#6027
tsahimatsliah wants to merge 7 commits into
mainfrom
feat/referral-review-growth-pr

Conversation

@tsahimatsliah
Copy link
Copy Markdown
Member

@tsahimatsliah tsahimatsliah commented May 11, 2026

Summary

  • Adds contextual referral prompts for DevCard, streak milestones, top-reader badges, post upvote shares, brief sharing, and Squad invite surfaces.
  • Adds referral growth surface/event definitions plus impression/click instrumentation for funnel tracking.
  • Adds an extension-only, one-time Chrome Web Store review prompt with a two-step sentiment gate and no incentives.

Policy and rollout notes

  • Store review flow is non-incentivized, does not ask for a specific rating, and permanently records dismissal/completion through ActionType.ChromeStoreReviewPrompt.
  • Referral loops are gated by referral_growth_loops; review prompt is gated by extension_store_review_prompt.
  • Rollback: disable the GrowthBook flags to hide the new referral surfaces and review prompt.

Test plan

  • node ./scripts/typecheck-strict-changed.js
  • pnpm --filter shared lint
  • pnpm --filter webapp lint

Made with Cursor

Preview domain

https://feat-referral-review-growth-pr.preview.app.daily.dev

tsahimatsliah and others added 2 commits May 11, 2026 15:17
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview May 11, 2026 1:24pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored May 11, 2026 1:24pm

Request Review

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…nline widgets

The previous panel embedded ContextualReferralLink directly inside the
panel box, which is a raw sub-component, not the real user experience.
Now the panel:
- Forces GrowthBook feature flags (referral_growth_loops, extension_store_review_prompt)
  so invite sections appear inside the real modals
- Opens the actual NewStreakModal (7-day / new record variants) via useLazyModal
- Renders the real Chrome Web Store review banner full-width at the top of the
  viewport using fixed positioning — exactly as extension users see it
- Provides navigation links to DevCard settings, Squad, Brief, Invite pages

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant