Repository navigation
feat(app): occasional plans reminder on app open (flag paywall-reask, off by default) - #21754
Open
YinkaAdepoju wants to merge 3 commits into
Open
YinkaAdepoju wants to merge 3 commits into
YinkaAdepoju wants to merge 3 commits into
Conversation
…reask) Free readers get the plans again on app open 2, 3, 5 and then every 7 days after the last paywall they saw anywhere, behind PostHog flag paywall-reask (control exposed on the same schedule, shows nothing). Queued in PromptQueue, opened through PaywallRouter so paywall-variant still picks the design. Pre-registration: app/lib/services/experiments/paywall_reask.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
YinkaAdepoju
marked this pull request as ready for review
October 15, 2026 18:35
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
|
Thanks @YinkaAdepoju — this is a well-scoped, well-documented experiment PR. I went through each changed file:
Before this moves forward, a few things for a maintainer:
No security, dependency, or workflow concerns found. Leaving the product call to a human maintainer. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
kodjima33
approved these changes
Oct 16, 2026
kodjima33
left a comment
Collaborator
There was a problem hiding this comment.
feat(app) new paywall-reask experiment, flag off by default - feature, approve-only.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
Free users only see the plans today when they hit a limit or open Settings. This adds an experiment that, on app open, occasionally shows the existing plans screen to free users. It is off by default.
PromptQueuebehind recordings, calls and other prompts, and is skipped for paid users or if the user upgraded in the meantime.paywall-reask, with acontrolgroup that sees no change. The flag is off, so nothing changes for anyone until it is turned on. If the flag can't be read or anything fails, nothing is shown.PaywallRouter.openVariant, falling back to the plans sheet). No new screen or copy. New analytics source:app_open_reask.Details:
app/lib/services/experiments/paywall_reask.md. Flag registered inconfig/feature-flags.yamlandbackend/docs/feature-flag-registry.md.Split out of #21711 to keep that PR focused.
Try it (debug builds)
OMI_PAYWALL_REASK=test|controlpicks the group;OMI_PAYWALL_REASK_NOW=truemakes it show on every launch / resume. Both overrides only work in debug builds.Product invariants affected
none
How it was verified
flutter analyzeon all touched Dart files: no issues.scripts/check_event_registry.py(regeneratedevents.g.dart) andscripts/check_feature_flag_registry.py: OK.make preflight: passes.Tests
app/test/unit/paywall_reask_test.dart(new): timing, the once-a-day limit, never on the first visit, other paywalls reset the timer, the control group sees nothing, an unread flag or a signed-out user does nothing.paywall_router_test.dart,paywall_experiment_test.dart,outline_paywall_page_test.dartstill pass.UI evidence
UI-Evidence: none -- no new screen, it reuses the existing paywall
Failure class (fixes)
Failure-Class: none
🤖 Generated with Claude Code