Skip to content

feat(purchase): mention Warp in Pro modal and suggest an account after purchase - #274

Merged
wizzomafizzo merged 1 commit into
mainfrom
feat/pro-warp-account-nudges
Sep 15, 2026
Merged

wizzomafizzo merged 1 commit into
mainfrom
feat/pro-warp-account-nudges

Conversation

@wizzomafizzo

@wizzomafizzo wizzomafizzo commented Sep 15, 2026

Copy link
Copy Markdown
Member
  • The Pro modal now explains that Zaparoo Warp is a subscription that includes Pro while subscribed, and that Pro bought in the modal is permanent. A "Learn about Warp" link opens Settings > Zaparoo Online. This addresses people buying Pro and then Warp without knowing Warp already includes Pro.
  • After a signed-out Pro purchase, the modal switches to an optional "Protect your purchase" step suggesting a free Zaparoo Online account, which backs up the purchase and lets Pro be used across Android and iOS devices. Signed-in buyers and store-verified local recovery skip it, since the latter has no RevenueCat record to link.
  • The previously unused scan.purchaseAccount* strings are now wired up, with updated copy and new keys translated in all locales.
  • Warp checkout replaces the "Zaparoo Pro access while Warp is active" benefit with the existing "owned separately and remains permanent" copy for lifetime Pro owners.

Summary by CodeRabbit

  • New Features

    • Pro purchases can now be linked to a free online account for purchase backup and use across Android and iOS devices.
    • Added a post-purchase sign-in option, with the ability to continue later.
    • Added clearer Warp information and navigation from the Pro purchase flow.
    • Warp checkout now indicates when Pro access is already owned.
  • Documentation

    • Updated Pro and Warp purchase messaging across supported languages, including account-linking benefits and purchase permanence.

…after purchase

The Pro modal said Pro does not include Warp but not that Warp includes
Pro, so some people bought both. It now describes Warp as a subscription
that includes Pro while subscribed, with a link to Zaparoo Online.

After a signed-out purchase, the modal offers an optional step to link Pro
to a free Zaparoo Online account, which backs up the purchase and makes it
usable across Android and iOS devices. It is skipped for signed-in users
and for store-verified local recovery, where RevenueCat has no record to
link.

Warp checkout no longer lists Pro access as a benefit for people who
already own lifetime Pro.
@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 54921675-30d6-4fd8-b08b-56cb01c2236b

📥 Commits

Reviewing files that changed from the base of the PR and between 32f7f72 and 8823ed9.

📒 Files selected for processing (13)
  • src/__tests__/unit/components/ProPurchase.test.tsx
  • src/__tests__/unit/components/WarpSubscription.test.tsx
  • src/components/ProPurchase.tsx
  • src/components/WarpSubscription.tsx
  • src/translations/de-DE.json
  • src/translations/en-GB.json
  • src/translations/en-US.json
  • src/translations/es-ES.json
  • src/translations/fr-FR.json
  • src/translations/ja-JP.json
  • src/translations/ko-KR.json
  • src/translations/nl-NL.json
  • src/translations/zh-CN.json

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The Pro purchase modal adds post-purchase account linking, Warp information, and router navigation. Purchase recovery and signed-out purchases can show an account step. Warp checkout identifies separately owned lifetime Pro access. Localized purchase text and tests were updated.

Changes

Pro purchase and account linking

Layer / File(s) Summary
Purchase account flow and Warp messaging
src/components/ProPurchase.tsx, src/translations/*.json
The modal adds purchase and account steps, account-linking actions, focus handling, settings navigation, and conditional Warp messaging. Translations describe account linking and Warp subscription behavior.
Purchase flow validation
src/__tests__/unit/components/ProPurchase.test.tsx
Tests cover purchase recovery, signed-out purchases, account navigation, the later action, Warp navigation, disabled states, and hidden Warp messaging.

Warp ownership display

Layer / File(s) Summary
Lifetime Pro ownership in Warp checkout
src/components/WarpSubscription.tsx
Warp checkout receives lifetime Pro ownership and shows the owned-Pro message instead of the standard Pro benefit.
Warp ownership tests
src/__tests__/unit/components/WarpSubscription.test.tsx
Tests verify the owned-Pro message and scope status assertions to the active Warp section.

Priority: ➖ Normal

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  participant Customer
  participant ProPurchaseModal
  participant purchasePackage
  participant Router
  Customer->>ProPurchaseModal: Start Pro purchase
  ProPurchaseModal->>purchasePackage: Submit purchase
  purchasePackage-->>ProPurchaseModal: Return purchase result
  ProPurchaseModal->>Customer: Show account step when signed out
  Customer->>ProPurchaseModal: Select sign in
  ProPurchaseModal->>Router: Navigate to /settings/online
Loading

Merge Risk: ⚪ Minimal · up to 8823e

The updated purchase flow can direct signed-out purchasers to account sign-in, where their purchase identity is linked for cross-device access. No merge-blocking defect was identified.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 4 files. (9 skipped: 9 … Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main changes: updated Warp messaging in the Pro modal and an account suggestion after purchase.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 4 files. (9 skipped: 9 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/pro-warp-account-nudges

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@codecov

codecov Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@wizzomafizzo
wizzomafizzo merged commit 126c711 into main Sep 15, 2026
6 checks passed
@wizzomafizzo
wizzomafizzo deleted the feat/pro-warp-account-nudges branch September 15, 2026 01:38
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