mirror of
https://github.com/bitwarden/browser
synced 2025-12-27 13:43:41 +00:00
[PM-24032] - adds a new upgrade plan button to side nav (#16687)
* feat(billing): add required messages * feat(billing): Add upgrade from free account dialog * feat(billing): Add payment dialog for premium upgrade * feat(billing): Add Upgrade Payment Service * feat(billing): Add Upgrade flow service * feat(billing): Add purchase premium subscription method to client * fix(billing): allow for nullable taxId for families organizations * fix(billing): Fix Cart Summary Tests * temp-fix(billing): add currency pipe to pricing card component * fix(billing): Fix NX error This should compile just the library files and not its dependency files which was making it error * [PM-24032] new premium upgrade button in navigation * add missing outline none styles to focus state * update story to use correct background colors. change ring color * fixing broken stories by mocking services * updates requested by design and product * fixing tests * new icon for premium * fix: Update any type of private function * update account dialog * [PM-24032] updates to premium upgrade nav button * add margin bottom to prevent button focus outline from being chopped off * adding missing test * feat(billing): add upgrade error message * fix(billing): remove upgrade-flow service * feat(billing): add account billing client * fix(billing): Remove method from subscriber-billing client * fix(billing): rename and update upgrade payment component * fix(billing): Rename and update upgrade payment service * fix(billing): Rename and upgrade upgrade account component * fix(billing): Add unified upgrade dialog component * fix(billing): Update component and service to use new tax service * fix(billing): Update unified upgrade dialog * feat(billing): Add feature flag * feat(billing): Add vault dialog launch logic * fix(billing): Add stricter validation for payment component * fix(billing): Update custom dialog close button * fix(billing): Fix padding in cart summary component * fix(billing): Update payment method component spacing * fix(billing): Update Upgrade Payment component spacing * fix(billing): Update upgrade account component spacing * fix(billing): Fix accurate typing * hide continue button when coming from nav upgrade button * fixing incorrect conflict resolution * fixing tests * pr feedback * removing duplicate icon definition --------- Co-authored-by: Stephon Brown <sbrown@livefront.com> Co-authored-by: Bryan Cunningham <bryan.cunningham@me.com>
This commit is contained in:
@@ -4,6 +4,22 @@
|
||||
<ng-container bitDialogContent>
|
||||
<section>
|
||||
@if (isFamiliesPlan) {
|
||||
@if (userIsOwnerOfFreeOrg$ | async) {
|
||||
<div class="tw-pb-2">
|
||||
<bit-callout type="info">
|
||||
{{ "formWillCreateNewFamiliesOrgMessage" | i18n }}
|
||||
<a
|
||||
bitLink
|
||||
bitDialogClose
|
||||
linkType="primary"
|
||||
[routerLink]="adminConsoleRouteForOwnedOrganization$ | async"
|
||||
>
|
||||
{{ "upgradeNow" | i18n }}
|
||||
<i slot="end" class="bwi bwi-angle-right" aria-hidden="true"></i>
|
||||
</a>
|
||||
</bit-callout>
|
||||
</div>
|
||||
}
|
||||
<div class="tw-pb-4">
|
||||
<bit-form-field class="!tw-mb-0">
|
||||
<bit-label>{{ "organizationName" | i18n }}</bit-label>
|
||||
|
||||
Reference in New Issue
Block a user