Skip to content

fix(mobile): add member paywall button - #1097

Merged
ocavue merged 5 commits into
masterfrom
paywall-claim-link
Aug 12, 2026
Merged

fix(mobile): add member paywall button#1097
ocavue merged 5 commits into
masterfrom
paywall-claim-link

Conversation

@ocavue

@ocavue ocavue commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

One tap on the member button shows a toast and lets the user into the app for 7 days; the link to reflect.app/claim-reflect-open returns once that page is ready.

Summary by CodeRabbit

  • New Features
    • Added a member-specific paywall experience with a seven-day snooze period.
    • Members receive an on-screen notification during the temporary snooze period.
    • After the deadline, members can open the free-year claim page directly from the paywall.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3f1adb33-e562-4d55-af7f-4e3aab44a3ab

📥 Commits

Reviewing files that changed from the base of the PR and between d28041e and 05d604a.

📒 Files selected for processing (2)
  • apps/desktop/src/mobile/mobile-root.tsx
  • apps/desktop/src/mobile/paywall-screen.tsx

Walkthrough

The mobile app now renders Sonner toasts. Existing Reflect members can snooze the paywall for seven days before the stopgap deadline or open the free-year claim URL after it.

Changes

Member Paywall Continuation

Layer / File(s) Summary
Mobile toast provider
apps/desktop/src/mobile/mobile-root.tsx
The mobile provider tree now includes a top-centered Sonner Toaster.
Member continuation flow
apps/desktop/src/mobile/paywall-screen.tsx
The paywall defines member-specific timing and claim URL constants. The member action shows a toast and snoozes the paywall before the deadline, or opens the claim URL after the deadline.

Estimated code review effort: 2 (Simple) | ~10 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Member
  participant PaywallScreen
  participant SonnerToaster
  participant ClaimPage
  Member->>PaywallScreen: Select member action
  alt Before stopgap deadline
    PaywallScreen->>SonnerToaster: Show snooze toast
    PaywallScreen->>PaywallScreen: Snooze paywall for seven days
  else After stopgap deadline
    PaywallScreen->>ClaimPage: Open free-year claim URL
  end
Loading
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch paywall-claim-link

Comment @coderabbitai help to get the list of available commands.

@ocavue ocavue changed the title feat(mobile): add free-year claim link to paywall feat(mobile): member paywall button grants 7 free days Aug 12, 2026
@ocavue ocavue changed the title feat(mobile): member paywall button grants 7 free days fix(mobile): add member paywall button Aug 12, 2026
@ocavue
ocavue marked this pull request as ready for review August 12, 2026 12:36
@ocavue
ocavue merged commit f7aa0a6 into master Aug 12, 2026
12 of 13 checks passed
@ocavue
ocavue deleted the paywall-claim-link branch August 12, 2026 12:36
This was referenced Aug 12, 2026
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