Skip to content

Conversation

calvin-codecov
Copy link
Contributor

Closes https://linear.app/getsentry/issue/CCMRG-1654/add-pending-changes-display-on-plan-page-for-better-cancellation

Motivation

Once a user has canceled the current plan for an org, they get a quick banner confirmation and it disappears afterwards for them. No one else accessing the org will ever see the confirmation.

Change

Show the exist confirmation banner that tells the current user they successfully just canceled to all users while the subscriptionDetail info is still populated and cancelAtPeriodEnd is true. Subscription detail info will be empty once the subscription is removed at the end of the period.

Screenshot 2025-10-15 at 2 12 09 PM

Copy link

linear bot commented Oct 15, 2025

Copy link

sentry-io bot commented Oct 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.61%. Comparing base (97cc92a) to head (0e1db6e).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3949      +/-   ##
==========================================
- Coverage   98.63%   98.61%   -0.02%     
==========================================
  Files         828      828              
  Lines       15125    15127       +2     
  Branches     4338     4348      +10     
==========================================
  Hits        14918    14918              
- Misses        199      201       +2     
  Partials        8        8              
Files with missing lines Coverage Δ
...anPage/subRoutes/CurrentOrgPlan/CurrentOrgPlan.tsx 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.14% <100.00%> (+<0.01%) ⬆️
Services 99.32% <ø> (ø)
Shared 99.06% <ø> (ø)
UI 99.01% <ø> (-0.15%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97cc92a...0e1db6e. Read the comment docs.

Copy link

sentry-io bot commented Oct 15, 2025

Bundle Report

Changes will increase total bundle size by 115 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-system 6.23MB 42 bytes (0.0%) ⬆️
gazebo-production-esm 6.32MB 73 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-production-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js 42 bytes 29.52kB 0.14%

Files in assets/index-legacy.*.js:

  • ./src/pages/PlanPage/subRoutes/CurrentOrgPlan/CurrentOrgPlan.tsx → Total Size: 5.23kB
view changes for bundle: gazebo-production-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js 73 bytes 31.28kB 0.23%

Files in assets/index.*.js:

  • ./src/pages/PlanPage/subRoutes/CurrentOrgPlan/CurrentOrgPlan.tsx → Total Size: 5.23kB

@codecov-staging
Copy link

codecov-staging bot commented Oct 15, 2025

Bundle Report

Changes will increase total bundle size by 115 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-staging-system 6.23MB 42 bytes (0.0%) ⬆️
gazebo-staging-esm 6.32MB 73 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-staging-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js 42 bytes 29.52kB 0.14%

Files in assets/index-legacy.*.js:

  • ./src/pages/PlanPage/subRoutes/CurrentOrgPlan/CurrentOrgPlan.tsx → Total Size: 5.23kB
view changes for bundle: gazebo-staging-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js 73 bytes 31.28kB 0.23%

Files in assets/index.*.js:

  • ./src/pages/PlanPage/subRoutes/CurrentOrgPlan/CurrentOrgPlan.tsx → Total Size: 5.23kB

Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.61%. Comparing base (97cc92a) to head (0e1db6e).

✅ All tests successful. No failed tests found.

@@            Coverage Diff             @@
##             main    #3949      +/-   ##
==========================================
- Coverage   98.63%   98.61%   -0.02%     
==========================================
  Files         828      828              
  Lines       15125    15127       +2     
  Branches     4338     4340       +2     
==========================================
  Hits        14918    14918              
- Misses        199      201       +2     
  Partials        8        8              
Files with missing lines Coverage Δ
...anPage/subRoutes/CurrentOrgPlan/CurrentOrgPlan.tsx 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.14% <100.00%> (+<0.01%) ⬆️
Services 99.32% <ø> (ø)
Shared 99.06% <ø> (ø)
UI 99.01% <ø> (-0.15%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97cc92a...0e1db6e. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codecov-releaser
Copy link
Contributor

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
0e1db6e Wed, 15 Oct 2025 22:16:29 GMT Cloud Enterprise

@codecov-notifications
Copy link

codecov-notifications bot commented Oct 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

@@            Coverage Diff             @@
##             main    #3949      +/-   ##
==========================================
- Coverage   98.63%   98.61%   -0.02%     
==========================================
  Files         828      828              
  Lines       15125    15127       +2     
  Branches     4346     4340       -6     
==========================================
  Hits        14918    14918              
- Misses        199      201       +2     
  Partials        8        8              
Files with missing lines Coverage Δ
...anPage/subRoutes/CurrentOrgPlan/CurrentOrgPlan.tsx 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.14% <100.00%> (+<0.01%) ⬆️
Services 99.32% <ø> (ø)
Shared 99.06% <ø> (ø)
UI 99.01% <ø> (-0.15%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97cc92a...0e1db6e. Read the comment docs.

@codecov-qa
Copy link

codecov-qa bot commented Oct 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.61%. Comparing base (97cc92a) to head (0e1db6e).

@@            Coverage Diff             @@
##             main    #3949      +/-   ##
==========================================
+ Coverage   95.24%   98.61%   +3.37%     
==========================================
  Files         828      828              
  Lines       15125    15127       +2     
  Branches     4338     4340       +2     
==========================================
+ Hits        14406    14918     +512     
+ Misses        639      201     -438     
+ Partials       80        8      -72     
Files with missing lines Coverage Δ
...anPage/subRoutes/CurrentOrgPlan/CurrentOrgPlan.tsx 100.00% <100.00%> (ø)

... and 56 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.14% <100.00%> (+<0.01%) ⬆️
Services 99.32% <ø> (+0.12%) ⬆️
Shared 99.06% <ø> (+33.95%) ⬆️
UI 99.01% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97cc92a...0e1db6e. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

3 participants