Skip to content

[PM-29823] New Organization Upgrade Path#19080

Merged
sbrown-livefront merged 80 commits intomainfrom
billing/pm-29823/new-organization-upgrade-path
Mar 2, 2026
Merged

[PM-29823] New Organization Upgrade Path#19080
sbrown-livefront merged 80 commits intomainfrom
billing/pm-29823/new-organization-upgrade-path

Conversation

@sbrown-livefront
Copy link
Collaborator

@sbrown-livefront sbrown-livefront commented Feb 19, 2026

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-29823

📔 Objective

This PR adds the functionality to upgrade to a new organization from premium similar to https://bitwarden.atlassian.net/browse/PM-29593 but using the New organization button within the vault.

The organization-plans files have been modernized to use signals and place some of the more complex logic into helper function. In addition, tests for this new functionality has been added to the existing test suite to retain base functionality while adding new functionality.

Note:

I updated apps/web/src/app/admin-console/organizations/sponsorships/families-for-enterprise-setup.component.html to use the new signal inputs and outputs instead of interacting with the viewchild directly.

This PR will be dependent on bitwarden/server#7076 being merged.

Question: Do we want the cart summary shown even when user's are not upgrading from premium?

📸 Screenshots

Free User Upgrade to Enterprise

Screen.Recording.2026-02-19.at.1.43.22.PM.mov

Premium User Upgrade to Enterprise

Hides the ability to change storage and seat amount.

Screen.Recording.2026-02-19.at.2.32.10.PM.mov

Free Family Sponsorship

Screen.Recording.2026-02-19.at.3.30.17.PM.mov

Create Organizations Pre-Selected Plan

Screen.Recording.2026-02-27.at.3.32.59.PM.mov

Create Organizations Pre-Selected Product Tier

Screen.Recording.2026-02-27.at.3.34.15.PM.mov

@codecov
Copy link

codecov bot commented Feb 19, 2026

Codecov Report

❌ Patch coverage is 64.17910% with 120 lines in your changes missing coverage. Please review.
✅ Project coverage is 44.23%. Comparing base (7b44917) to head (a265bc1).
⚠️ Report is 4 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ling/organizations/organization-plans.component.ts 64.72% 49 Missing and 60 partials ⚠️
...de-payment/services/premium-org-upgrade.service.ts 75.00% 5 Missing ⚠️
...orships/families-for-enterprise-setup.component.ts 0.00% 4 Missing ⚠️
.../src/app/billing/clients/account-billing.client.ts 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19080      +/-   ##
==========================================
- Coverage   44.24%   44.23%   -0.01%     
==========================================
  Files        3740     3740              
  Lines      111556   111685     +129     
  Branches    16900    16969      +69     
==========================================
+ Hits        49360    49408      +48     
- Misses      60096    60136      +40     
- Partials     2100     2141      +41     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 19, 2026

Logo
Checkmarx One – Scan Summary & Details7a54890e-631c-4c77-86b9-c86d559fadee

Great job! No new security vulnerabilities introduced in this pull request

@sbrown-livefront sbrown-livefront changed the title Billing/pm 29823/new organization upgrade path [PM-29823] New Organization Upgrade Path Feb 19, 2026
@sbrown-livefront sbrown-livefront requested a review from eliykat March 2, 2026 15:33
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 2, 2026

@sbrown-livefront sbrown-livefront merged commit 2facb7e into main Mar 2, 2026
62 checks passed
@sbrown-livefront sbrown-livefront deleted the billing/pm-29823/new-organization-upgrade-path branch March 2, 2026 17:16
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.

5 participants