Skip to content

Conversation

@dcrawbuck
Copy link
Collaborator

@dcrawbuck dcrawbuck commented Jan 16, 2026

Add a note to the 'Referral flows' documentation clarifying custom UI support for paywalls.


Open in Cursor Open in Web


Note

Introduces Mermaid diagrams and refines the referral/promo code documentation.

  • New Mermaid client component (src/components/Mermaid.tsx) with themed init, render on mount, and graceful fallback; wired into MDX via src/mdx-components.tsx
  • Styling for responsive diagrams added in src/app/global.css
  • Dependency mermaid added to package.json; lockfile updated
  • Referral guide (content/docs/using-referral-or-promo-codes-with-superwall.mdx) now uses <Mermaid> instead of code fences and includes a note that overlaying custom UI on paywalls is supported only on native iOS/Android SDKs
  • next-env.d.ts removed and added to .gitignore

Written by Cursor Bugbot for commit accdd38. This will update automatically on new commits. Configure here.

@cursor
Copy link

cursor bot commented Jan 16, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Co-authored-by: duncan <duncan@superwall.com>
@dcrawbuck dcrawbuck force-pushed the cursor/paywall-custom-ui-note-1c7b branch from b63778d to 0587e2f Compare January 17, 2026 00:42
@dcrawbuck dcrawbuck marked this pull request as ready for review January 17, 2026 00:42
@dcrawbuck dcrawbuck changed the title Paywall custom UI note feat: update promo/referral code doc Jan 20, 2026
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

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.

3 participants