Skip to content

Show info Panel to inform about downgrade#8219

Open
cmonfortep wants to merge 2 commits intodevelopfrom
feature/cristian/subscriptions/show_info_panel_downgrade
Open

Show info Panel to inform about downgrade#8219
cmonfortep wants to merge 2 commits intodevelopfrom
feature/cristian/subscriptions/show_info_panel_downgrade

Conversation

@cmonfortep
Copy link
Copy Markdown
Contributor

@cmonfortep cmonfortep commented Apr 8, 2026

Task/Issue URL: https://app.asana.com/1/137249556945/project/72649045549333/task/1213983089199776?focus=true

Description

Shows downgrade information at top of subscription settings for more visibility

Also adds an internal setting to perform "cancel downgrade" when available, as a PoC in case we need to revisit.

Steps to test this PR

Feature 1

Feature 2

  • purchase pro
  • downgrade to plus
  • Ensure in subscription settings appears an info panel with downgrade information
  • Go to manage subscription in play store, and cancel subscription
  • go back to subscription settings
  • Ensure downgrade information is gone
  • Wait until subscription expires, ensure the info panel is gone

UI changes

Before After
!(Upload before screenshot) (Upload after screenshot)

Note

Medium Risk
Low-impact UI change for end users, but adds an internal setting that triggers a billing plan switch (WITHOUT_PRORATION), which could affect subscription state if misused or surfaced unintentionally.

Overview
Improves visibility of deferred downgrades in Subscription Settings by adding a top-of-screen InfoPanel that appears only when a pending downgrade is detected, showing the target tier and a short effective date.

Extends SubscriptionSettingsViewModel.Ready with additional pending-plan fields (short date + tier name) and adds new non-translated strings for the panel copy and tier labels.

Adds a new internal dev setting view (CancelPendingPlanChangeView) that attempts to cancel a deferred plan change by re-subscribing to the current plan via switchSubscriptionPlan(..., replacementMode = WITHOUT_PRORATION) and surfaces results via toasts.

Reviewed by Cursor Bugbot for commit 46c6137. Bugbot is set up for automated code reviews on this repo. Configure here.

@cmonfortep
Copy link
Copy Markdown
Contributor Author

cmonfortep commented Apr 8, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@cmonfortep cmonfortep force-pushed the feature/cristian/subscriptions/show_info_panel_downgrade branch from dc3c88b to 46c6137 Compare April 9, 2026 17:31
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.

2 participants