Commit Graph

3056 Commits

Author SHA1 Message Date
Stephon Brown
be73dc60e0
refactor: rename PremiumOrgUpgradeComponent to PremiumOrgUpgradePlanSelectionComponent 2026-02-05 20:12:22 -05:00
Stephon Brown
641d2c184a
Merge branch 'main' into billing/pm-29602/build-upgrade-dialogs 2026-02-05 17:30:49 -05:00
Jared
2fd3404c27
Revert "Disable native icon for datetime-local field and use our own icons for stylizing (#18633)" (#18796)
This reverts commit 2d8f74bf70.
2026-02-05 16:44:29 -05:00
Jared
f010d28492
[PM-25365] Enhance layout responsiveness in vault component header (#18679)
* Enhance layout responsiveness in vault components by adding flex properties to improve structure and ensure proper height management.

* Refactor vault component layout to rid of my changes

* Update apps/web/src/app/vault/individual-vault/vault.component.html

Co-authored-by: Jackson Engstrom <jengstrom@bitwarden.com>

---------

Co-authored-by: Jackson Engstrom <jengstrom@bitwarden.com>
2026-02-05 15:02:49 -05:00
Jason Ng
0b8d61a1b8
[PM-31423] updated isAdminConsoleAction check in cipher-report (#18662) 2026-02-05 12:42:22 -05:00
Jared
f34ccf21d8
Fix highlight in left sidebar menu (#18781) 2026-02-05 12:03:01 -05:00
Jared
5c7bba00f3
[PM-16694] ac integration page background fill missing (#18508)
* Fixing some tech debt before implementing actual fix of implementation

* Adding new components to handle the different routes for the integrations page to make use of bit-tab-nav-bar to follow background-fill UI spec

* Implement organization integrations page with routing and state management

- Added routing for organization integrations including device management, event management, single sign-on, and user provisioning.
- Created OrganizationIntegrationsState to manage integrations and organization data.
- Introduced OrganizationIntegrationsResolver for preloading organization and integration data.
- Updated components to utilize the new state management and resolver.
- Refactored integration routes to follow updated naming conventions.

* Refactor organization integrations components to use signals and observables; enhance async handling in templates and add debug logging

* Enhance organization integrations module with routing updates and state management improvements

- Added OrganizationIntegrationsState for better state management.
- Updated routing to redirect to single sign-on by default.
- Integrated OrganizationIntegrationsResolver for preloading data.
- Refactored components to utilize new state management and improved async handling.

* Refactor SingleSignOnComponent to remove OnInit lifecycle and debug logging

- Simplified SingleSignOnComponent by removing the OnInit implementation.
- Eliminated debug logging for integrations in ngOnInit.
- Cleaned up imports for better readability.

* Refactor WebHeaderComponent to simplify background handling

- Removed the useAltBackground input signal from WebHeaderComponent.
- Updated the HTML template to conditionally apply styles based solely on the child element count of the tabs container.

* Refactor organization integrations components for improved readability and performance

- Updated HTML templates to remove optional chaining for organization properties.
- Removed unnecessary debug logging and comments in the OrganizationIntegrationsResolver.
- Simplified DeviceManagementComponent by eliminating the OnInit lifecycle hook.

* Refactor organization integrations components to use direct state properties

- Updated components to access organization and integrations directly from state instead of using observables.
- Simplified HTML templates by removing async pipes and using direct function calls for better readability.
- Ensured consistent naming conventions for organization and integrations variables across components.

* Enhance WebHeaderComponent by adding bitTypography attribute to the title element for improved styling consistency

* Refactor organization state to use 'undefined' instead of 'null' for organization signal and remove OnInit lifecycle hook from UserProvisioningComponent for cleaner code.

* Refactor EventManagementComponent to remove OnInit lifecycle hook for cleaner code and improved readability.

* Update organization state to set organization value to 'undefined' when null is provided, enhancing state management consistency.

* Update WebHeaderComponent to allow optional title and icon inputs, enhancing flexibility in header configuration.

* Update WebHeaderComponent to allow account property to be nullable, improving type safety and handling of user data.
2026-02-05 10:58:42 -05:00
Jared
479273a883
Fix optional chaining for collectionId in vault navigation query parameters (#18652) 2026-02-05 10:39:33 -05:00
Jared
2d8f74bf70
Disable native icon for datetime-local field and use our own icons for stylizing (#18633) 2026-02-05 10:37:35 -05:00
Jared
35773ae9a0
[PM-29771] Make invitation non-plural if only 1 member selected (#18684)
* Make invitation non-plural if only 1 member selected

* Add isSingleInvite as per Jimmy's suggestion
2026-02-05 10:36:44 -05:00
Jared
61763204ea
Update bulk restore/revoke component to conditionally display non-compliant members callout. Adjusted logic to set statuses based on entry errors and isRevoking state. (#18654) 2026-02-05 10:35:39 -05:00
Stephon Brown
76e97ad71b
fix(billing): Ensure early exit for closed premium org upgrade payment 2026-02-05 10:22:13 -05:00
Stephon Brown
bfe181af51
Revert "Fix(billing): Disable tooltip on focus for various billing buttons"
This reverts commit 91f7747df7.
2026-02-05 10:09:11 -05:00
Stephon Brown
5931857bc5
docs(billing): refine JSDoc for PremiumOrgUpgradeDialogParams 2026-02-04 19:12:53 -05:00
Stephon Brown
b8f4292dc4
test(billing): update premium org upgrade payment component tests 2026-02-04 18:42:56 -05:00
Stephon Brown
ac5c73f704
refactor(billing): update premium org upgrade payment to display existing payment method 2026-02-04 18:42:40 -05:00
Stephon Brown
249ac98bd0
feat(payment): add hideHeader input to DisplayPaymentMethodComponent 2026-02-04 18:42:24 -05:00
Stephon Brown
c66876f39f
feat(billing): close premium org upgrade dialog if feature is disabled 2026-02-04 18:42:09 -05:00
Stephon Brown
d48ec4c0ba
refactor(billing): rename premium org upgrade dialog flag 2026-02-04 18:41:53 -05:00
Stephon Brown
960a57027f
refactor(billing): clean up unused dialog data and HTML comment 2026-02-04 18:37:30 -05:00
Stephon Brown
0957a4fd85
feat(billing): add pre-condition checks for premium org upgrade dialog 2026-02-04 18:37:29 -05:00
Stephon Brown
0927153811
refactor(billing): remove unused ApiService and DestroyRef 2026-02-04 15:36:03 -05:00
Stephon Brown
79aa43f2a6
refactor(billing): Remove obsolete unified upgrade change 2026-02-04 15:30:40 -05:00
Stephon Brown
bc5e3c4265
Chore: Remove redundant comment in unified upgrade dialog HTML 2026-02-04 15:27:57 -05:00
Stephon Brown
438feb6d6c
Test: Mock OrganizationService in PremiumOrgUpgradePaymentComponent tests 2026-02-04 15:27:56 -05:00
Stephon Brown
8aab575ff1
Feature: Add 'Back' status to UpgradePaymentStatus 2026-02-04 15:27:56 -05:00
Stephon Brown
3864308c6d
Remove obsolete planSelectionStepTitleOverride tests 2026-02-04 15:27:44 -05:00
Stephon Brown
c73c69705b
Refactor: Make openUpgradeDialog return void 2026-02-04 15:27:41 -05:00
Stephon Brown
ad38efcda7
Merge branch 'main' into billing/pm-29602/build-upgrade-dialogs 2026-02-04 14:57:37 -05:00
Stephon Brown
d717afb30e
feat(billing): Integrate PremiumOrgUpgradeDialog into account subscription 2026-02-04 14:56:06 -05:00
Stephon Brown
6e7ca0683a
refactor(billing): Remove premium to org upgrade logic from UnifiedUpgradeDialog 2026-02-04 14:56:06 -05:00
Stephon Brown
24d374a9cd
refactor(billing): Return organization ID from PremiumOrgUpgradeService 2026-02-04 14:55:53 -05:00
Stephon Brown
cfe7108a31
feat(billing): Add dedicated Premium to Organization upgrade dialog 2026-02-04 14:55:35 -05:00
Vijay Oommen
a2916084ee
[PM-30547] Table empty state message (#18752) 2026-02-04 10:42:13 -06:00
Jackson Engstrom
9fc52cb46e
[PM-21607] Adds bwi-plus-circle and bwi-minus-circle to Link SSO and Unlink SSO menu buttons (#18328)
* adds bwi-plus-circle and bwi-minus-circle to Link SSO and Unlink SSO menu buttons

* fixes spacing for Leave organization option

---------

Co-authored-by: capenapplebw <capple@bitwarden.com>
2026-02-04 08:19:06 -08:00
Vicki League
97c65b3c72
[PM-31384] Prevent dialog header from stealing focus from autofocus inputs (#18657) 2026-02-04 10:26:38 -05:00
Stephon Brown
bb28d05a3a
refactor(billing): Clean up subscription details and type definitions 2026-02-03 17:28:24 -05:00
Stephon Brown
770fedcec2
fix(billing): Ensure encrypted org key is present during upgrade 2026-02-03 17:28:20 -05:00
Stephon Brown
cb6f192b1d
refactor(i18n): Rename 'premiumMembershipDiscount' to 'premiumSubscriptionCredit' 2026-02-03 16:39:32 -05:00
Stephon Brown
422a70dbc0
Merge branch 'main' into billing/pm-29602/build-upgrade-dialogs 2026-02-03 16:25:09 -05:00
Stephon Brown
17b8775e7f
Feat(billing): Add SubscriptionCadence import to account billing client 2026-02-03 16:23:34 -05:00
Stephon Brown
08a4e398db
Refactor(billing): Enhance Premium Org Upgrade Payment logic 2026-02-03 16:23:33 -05:00
Stephon Brown
976e13e8eb
Refactor(billing): Update InvoicePreview with prorated amount details 2026-02-03 16:23:33 -05:00
Stephon Brown
d32b33da3e
Refactor(billing): Standardize subscription cadence display 2026-02-03 16:23:32 -05:00
Stephon Brown
91f7747df7
Fix(billing): Disable tooltip on focus for various billing buttons 2026-02-03 16:23:32 -05:00
Mike Amirault
51a99fecd8 [PM-31429] Add missing helper text for password protected Sends, remove unused one (#18694)
* [PM-31429] Add missing helper text for password protected Sends, remove unused one

* Put one UI change behind feature flag, add back required translations

* Reorder translation

* Add spaces

* Come full circle, remove last couple of committed changes
2026-02-03 15:18:23 -05:00
rr-bw
489308fd75
refactor(input-password-flows): [Auth/PM-27086] Use new KM Data Types in InputPasswordComponent flows - Emergency Access (#18425)
Update the Emergency Access Takeover flow to use new KM data types from `master-password.types.ts` / `MasterPasswordService`:
- `MasterPasswordAuthenticationData`
- `MasterPasswordUnlockData`

This allows us to move away from the deprecated `makeMasterKey()` method (which takes email as salt) as we seek to eventually separate the email from the salt.

Changes are behind feature flag: `pm-27086-update-authentication-apis-for-input-password`
2026-02-03 10:41:25 -08:00
Stephon Brown
cd83d6ae3b
Merge branch 'main' into billing/pm-29602/build-upgrade-dialogs 2026-02-03 12:54:27 -05:00
Stephon Brown
38465c059c
[PM-29602] Update Cart Summary for Upgrade Flow (#18605)
* feat(billing): update cart-summary logic

 Add functionality to hide breakdown and allow translation params

* tests(cart-summary): update tests and stories

* feat(pricing): Add quantity support to discount labels

* feat(pricing): discount quantity story

* Revert "feat(pricing): discount quantity story"

This reverts commit 2c00891f1f.

* Revert "feat(pricing): Add quantity support to discount labels"

This reverts commit 8350fdd90f.

* fix(cart-summary): Adjust discount text styling

* feat(pricing): adds support for hidden discount amounts

Allows hiding the formatted amount for discounts in the cart summary.

This is useful for scenarios where the discount amount is displayed
elsewhere or is not relevant to the user.

Updates the storybook to include a story demonstrating this feature.

* feat(pricing): conditionally format currency amounts to show or hide decimals

* Revert "feat(pricing): adds support for hidden discount amounts"

This reverts commit 076724276c.

* Revert "fix(cart-summary): Adjust discount text styling"

This reverts commit d02c12fc2a.

* Revert "discount translation"

* feat(pricing): add credit type to cart summary

* feat(pricing-card): Add i18n and icon component infrastructure

* feat(pricing-card): Apply i18n pipe to pricing card template

* refactor(pricing-card): Replace `<i>` tags with `<bit-icon>` in template

* test(pricing-card): Update tests for i18n and icon component changes

* docs(pricing-card): Enhance Storybook and documentation for new features

* feat(pricing-card): Adds "per user" translation key

* refactor(pricing-card): use property binding for bit-icon name

* docs(pricing-card): expand price cadence options in MDX

* fix(icon): update exports for icon types

* feat(billing): Use strongly typed BitwardenIcon for pricing card buttons

* refactor(pricing): Remove unused I18nService from PricingCardComponent

* fix(pricing): Improve pricing card button icon template null-safety

* fix(pricing-card): format update

Clarifies the description of the `price` property within the PricingCard component documentation.

No functional code changes are included.

* refactor: Update discount label typography in cart summary

* refactor(stories): Rename account credit translation key to premium subscription credit

* feat(pricing-card): update spacing for card without button
2026-02-03 17:47:58 +00:00
Mike Amirault
1e0b64a55b
[PM-31430] Add specific messages for creating password and email protected Sends (#18692)
* [PM-31430] Add specific messages for creating password and email protected Sends

* [PM-31430] Fix tests, one bug in Send success drawer component
2026-02-03 11:15:46 -05:00