Skip to content

[CP staging] Revert "Introduce free trial countdown pop-up"#96129

Merged
jasperhuangg merged 3 commits into
mainfrom
revert-84049-fix/84022
Jul 14, 2026
Merged

[CP staging] Revert "Introduce free trial countdown pop-up"#96129
jasperhuangg merged 3 commits into
mainfrom
revert-84049-fix/84022

Conversation

@jasperhuangg

@jasperhuangg jasperhuangg commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Reverts #84049

$ #96077
$ #96069

@jasperhuangg
jasperhuangg requested review from a team as code owners July 14, 2026 20:26
@melvin-bot
melvin-bot Bot requested a review from trjExpensify July 14, 2026 20:26
@melvin-bot
melvin-bot Bot requested review from deetergp and removed request for a team July 14, 2026 20:26
@melvin-bot

melvin-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

@deetergp Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@jasperhuangg
jasperhuangg removed request for a team, deetergp and trjExpensify July 14, 2026 20:27
@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.

Files with missing lines Coverage Δ
src/CONST/index.ts 94.81% <ø> (ø)
src/GlobalModals.tsx 100.00% <ø> (ø)
src/ONYXKEYS.ts 100.00% <ø> (ø)
src/components/Icon/chunks/illustrations.chunk.ts 0.00% <ø> (ø)
src/libs/ExportOnyxState/common.ts 80.35% <ø> (ø)
src/libs/SubscriptionUtils.ts 86.31% <ø> (-1.07%) ⬇️
... and 13 files with indirect coverage changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e6a6b575f8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/ONYXKEYS.ts
@@ -299,9 +299,6 @@ const ONYXKEYS = {
/** ID associated with the payment card added by the user. */
NVP_BILLING_FUND_ID: 'nvp_expensify_billingFundID',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Remove the dangling trial-reminder Onyx export key

Removing NVP_DISMISSED_TRIAL_PAYMENT_REMINDER from ONYXKEYS leaves src/libs/ExportOnyxState/common.ts:221 still referencing ONYXKEYS.NVP_DISMISSED_TRIAL_PAYMENT_REMINDER (repo-wide search only finds that remaining use). Any build/typecheck that includes ExportOnyxState now resolves a non-existent ONYXKEYS member, or an undefined entry at runtime if transpiled, so the revert is incomplete; drop that export-state entry too or keep the key until all references are gone.

Useful? React with 👍 / 👎.

@github-actions

Copy link
Copy Markdown
Contributor

🚧 jasperhuangg has triggered a test Expensify/App build. You can view the workflow run here.

@github-actions

This comment has been minimized.

@jasperhuangg jasperhuangg changed the title Revert "Introduce free trial countdown pop-up" [CP staging] Revert "Introduce free trial countdown pop-up" Jul 14, 2026
blimpich
blimpich previously approved these changes Jul 14, 2026
@jasperhuangg
jasperhuangg merged commit e657e05 into main Jul 14, 2026
43 of 45 checks passed
@jasperhuangg
jasperhuangg deleted the revert-84049-fix/84022 branch July 14, 2026 23:44
OSBotify pushed a commit that referenced this pull request Jul 14, 2026
[CP staging] Revert "Introduce free trial countdown pop-up"

(cherry picked from commit e657e05)

(cherry-picked to staging by jasperhuangg)
@OSBotify OSBotify added the CP Staging marks PRs that have been CP'd to staging label Jul 14, 2026
@OSBotify

Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@github-actions

Copy link
Copy Markdown
Contributor

🚧 jasperhuangg has triggered a test Expensify/App build. You can view the workflow run here.

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Cherry-picked to staging by https://github.com/jasperhuangg in version: 9.4.34-7 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

@MelvinBot

Copy link
Copy Markdown
Contributor

🤖 No help site changes required — I did not create a draft docs PR.

This PR reverts the "free trial countdown pop-up" (TrialPaymentReminderModal / useTrialPaymentReminder) introduced in Expensify/App#84049. That feature was a UI-level implementation detail — a modal reminding trial users to add a payment card — and it was reverted before becoming stable behavior.

I reviewed all free-trial and payment-related articles under docs/articles and none document this specific pop-up. The relevant docs only describe the trial and payment behavior generically, and those statements remain accurate after the revert:

Because no article referenced the reverted pop-up and the generic trial/payment-card guidance still holds, there is nothing to update on the help site.

@jasperhuangg, if you believe a help article did describe this countdown pop-up and should be reverted too, let me know which one and I'll open a docs PR.

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/roryabraham in version: 9.4.34-14 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 failure ❌
🍎 iOS 🍎 failure ❌

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/roryabraham in version: 9.4.34-14 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

Bundle Size Analysis (Sentry):

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Cherry-picked to staging by https://github.com/jasperhuangg in version: 9.4.35-1 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

@MelvinBot

Copy link
Copy Markdown
Contributor

🤖 I reviewed the changes in this PR against the help site files under App/docs/articles.

Conclusion: No help site changes are required, so I did not create a draft PR.

This PR reverts Expensify/App#84049 ("Introduce free trial countdown pop-up"). All changes are deletions of a frontend-only UI feature — the TrialPaymentReminderModal component, its useTrialPaymentReminder hook, related SubscriptionUtils logic, and the trialPaymentReminder translation strings (title, subtitle, countdown, buttons).

Why no docs update is needed
  • The reverted feature was an in-app reminder pop-up that showed a trial countdown ("Stay ahead of the deadline") and an Add payment card shortcut. It was never documented as a distinct feature in App/docs/articles.
  • I searched the help site for the removed strings and concepts (countdown, payment reminder, Stay ahead of the deadline, trialPaymentReminder, etc.) — no article references this pop-up.
  • The existing free-trial and billing articles (e.g. Learn-How-Billing-and-Subscriptions-Work.md, Add-or-Update-a-Payment-Card.md) describe the free trial concept and adding a payment card generically. None depend on this pop-up, so removing it doesn't make any documented step inaccurate.

Since the reverted behavior isn't reflected in any help article, there's nothing to update or roll back on the docs side.

Since there's no linked help site PR, there's nothing further to review here. If you believe an article should have documented this pop-up and needs updating, let me know and I'll take another pass.

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.4.35-6 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CP Staging marks PRs that have been CP'd to staging Ready To Build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants