1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 14:34:02 +00:00
Commit Graph

1855 Commits

Author SHA1 Message Date
Jimmy Vo
82b1a00faa Merge branch 'ac/pm-13755/refactor-dialog-to-separate-edit-and-invite-flow' into PM-13755-revoked-members-counted-as-seat 2024-12-12 15:41:47 -05:00
Jimmy Vo
d9d4b251a8 Addressing code review 3 2024-12-12 11:44:47 -05:00
Jimmy Vo
4cdea19d4d Merge branch 'main' into ac/pm-13755/refactor-dialog-to-separate-edit-and-invite-flow 2024-12-12 11:34:40 -05:00
Alec Rippberger
0df7b53bb4 feat(sso): [PM-8114] implement SSO component UI refresh
Consolidates existing SSO components into a single unified component in
libs/auth, matching the new design system. This implementation:

- Creates a new shared SsoComponent with extracted business logic
- Adds feature flag support for unauth-ui-refresh
- Updates page styling including new icons and typography
- Preserves web client claimed domain logic
- Maintains backwards compatibility with legacy views

PM-8114

---------

Co-authored-by: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com>
Co-authored-by: Jared Snider <jsnider@bitwarden.com>
2024-12-12 10:28:30 -06:00
cyprain-okeke
bfa9cf3623 [PM-15545][Defect] Update trial initiation UI for new flow via trial/send-verification-email endpoint (#12256)
* Add the on trial payment option on new UI

* Rename variables correctly

* Resolve the isTrialPaymentOptional and use observable

* use firstValueFrom and remove subscribe

* Resolve the selected plantype

* Changes for free Org
2024-12-12 17:17:24 +01:00
Alex Morask
5c345c9ee4 [PM-15094] Update remove sponsorship modal content (#12319)
* Update remove sponsorship modal content

* PM-15915
2024-12-12 07:07:50 -05:00
Jimmy Vo
ddcc8613ed merge in refactor branch 2024-12-11 16:01:51 -05:00
Jimmy Vo
f61b488ce8 Merge branch 'main' into ac/pm-13755/refactor-dialog-to-separate-edit-and-invite-flow 2024-12-11 15:20:12 -05:00
Jimmy Vo
49553ec14a Address code review feebacks. 2024-12-11 14:24:48 -05:00
Rui Tomé
b502e2bc25 [PM-15154] Domain verification copy update (#12217)
* refactor: update domain verification terminology to claimed domains

* feat: add description for claimed domains in domain verification

* Add informational link to claimed domains description in domain verification component

* Update domain verification references to claimed domains in organization layout and SSO component

* Add validation message for invalid domain name format in domain verification

* Add domain claim messages and descriptions to localization files

* Update domain verification navigation text based on feature flag

* Update domain verification dialog to support account deprovisioning feature flag

* Update domain verification component to support account deprovisioning feature flag

* Refactor domain verification dialog to use synchronous feature flag for account deprovisioning

* Refactor domain verification routing to resolve title based on account deprovisioning feature flag

* Update SSO component to conditionally display domain verification link based on account deprovisioning feature flag

* Update event service to conditionally display domain verification messages based on account deprovisioning feature flag

* Update domain verification warning message

* Refactor domain verification navigation text handling based on account deprovisioning feature flag

* Refactor domain verification dialog to use observable for account deprovisioning feature flag

* Refactor domain verification component to use observable for account deprovisioning feature flag
2024-12-11 14:47:49 +00:00
Jonas Hendrickx
7abdc7a423 [PM-15139] [Defect] Upgrade dialog - Percentage discount not aligned with the Annually/Monthly toggle (#12314) 2024-12-11 10:34:25 +01:00
cyprain-okeke
84dfa3ab05 prevent access to freefamilies page (#12335) 2024-12-10 21:52:54 +01:00
Jordan Aasen
4003d30b46 [PM-15180] - update copy for free trial banner (#12151)
* update copy for free trial banner

* add v2 translation keys

* remove old keys. don't use V2 in new key name

* re-add removed keys

* fix copy and examples

* fix i18n key
2024-12-10 09:43:13 -08:00
Jimmy Vo
932129b501 Fix minor test setup to account for trim 2024-12-10 11:26:27 -05:00
Jimmy Vo
4df84ff3d2 Address code review feedback. 2024-12-10 11:18:34 -05:00
Victoria League
4daba832a2 [CL-351] Prevent tw-group styling conflicts by namespacing (#12261) 2024-12-09 15:13:42 -05:00
Matt Gibson
9c1e2ebd67 Typescript-strict-plugin (#12235)
* Use typescript-strict-plugin to iteratively turn on strict

* Add strict testing to pipeline

Can be executed locally through either `npm run test:types` for full type checking including spec files, or `npx tsc-strict` for only tsconfig.json included files.

* turn on strict for scripts directory

* Use plugin for all tsconfigs in monorepo

vscode is capable of executing tsc with plugins, but uses the most relevant tsconfig to do so. If the plugin is not a part of that config, it is skipped and developers get no feedback of strict compile time issues. These updates remedy that at the cost of slightly more complex removal of the plugin when the time comes.

* remove plugin from configs that extend one that already has it

* Update workspace settings to honor strict plugin

* Apply strict-plugin to native message test runner

* Update vscode workspace to use root tsc version

* `./node_modules/.bin/update-strict-comments` 🤖

This is a one-time operation. All future files should adhere to strict type checking.

* Add fixme to `ts-strict-ignore` comments

* `update-strict-comments` 🤖

repeated for new merge files
2024-12-09 20:58:50 +01:00
Bernd Schoolmann
e8976556d8 Fix missing title for ssh key dialog (#12317) 2024-12-09 09:40:58 -05:00
Jimmy Vo
5b3c1fcd01 [PM-13755] Decouple Invite and Edit User Flows 2024-12-06 15:51:54 -05:00
Jordan Aasen
d295825ff1 [CL-511] - add variant to links within banners (#12090)
* add variant to links within banners

* add fix prop
2024-12-06 11:29:35 -08:00
rr-bw
597e385561 update height of iframe on web (#12265) 2024-12-06 10:48:58 -08:00
cyprain-okeke
f95cc7b82c Resolve the Unauthorized issue (#12262) 2024-12-06 15:17:48 +01:00
Jimmy Vo
69eef992c5 Refactor existing tests and add new tests. 2024-12-05 18:06:05 -05:00
Jimmy Vo
49b6f880a5 Undo message update and will do it the right way. 2024-12-05 17:10:05 -05:00
Jimmy Vo
79e8a4e658 Refactor submit method to decouple edit and invite user flow. 2024-12-05 12:58:36 -05:00
Jimmy Vo
6238a5dce6 Remove numConfirmedMembers 2024-12-05 12:41:43 -05:00
Vijay Oommen
d6e1fe70ca PM-15091 Remove client side featureflag.AccessIntelligence and use DB feature flag (#12247)
* PM-15091 remove featureflag.AccessIntelligence

* removed unwanted lines of code

* fixed merge conflict
2024-12-05 17:24:51 +00:00
Jimmy Vo
933fb36a93 Remove unreachable toast logic. 2024-12-05 12:23:04 -05:00
Brandon Treston
c11f429ddb [PM-12273] Admin Console Integration Page (#11883)
* Integration page initial implementation

* replace placeholder integrations

* fix linting and tests

* fix locales

* update locale

* Change logos, add link to SCIM page

* refactor to standalone components, add integration filtering pipe

* refactor modules and imports. Remove hyperlink text from integration card template

* refactor i18n usage to be more generic

* Add storybooks

* fix tests

* minify svgs, include spec files in TS config, fix stories

* Update apps/web/src/locales/en/messages.json

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>

* fix imports, add static dir for stories

* Add darkmode svgs for integrations

* hide nav link for non enterprise orgs

* add router guard

* change rxjs selector

* Remove tailwind class causing style issues

---------

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2024-12-05 10:09:40 -05:00
Shane Melton
773aba4fef [PM-15559] Fix hide passwords in AC for users that have view, except password (#12252)
* [PM-15559] Update admin dialog flows to first try the local state before using the API when not required

* [PM-15559] Clear initial values after creating a new cipher so that they do not override the newly created cipher for subsequent edits
2024-12-04 15:30:15 -08:00
Jimmy Vo
f980b2b57e Remove debugging logs and comments 2024-12-04 16:51:34 -05:00
Jimmy Vo
561d10364c Update variable name 2024-12-04 16:50:20 -05:00
Jimmy Vo
9b215727af Update variable name 2024-12-04 16:48:49 -05:00
Jimmy Vo
a5d9062420 Separate dialog events into invite and edit dialogs to eliminate the need for nullable fields. 2024-12-04 16:46:25 -05:00
Conner Turnbull
0bc63517bd If user can't view subscription, don't show upgrade modal (#12248) 2024-12-04 12:25:15 -05:00
Bernd Schoolmann
811b97cef5 [PM-15541] Hide ssh key filter behind feature flag (#12239)
* Hide ssh key filter behind feature flag

* Hide ssh keys in web client by featureflag

* Fix build
2024-12-04 17:04:08 +01:00
Jonas Hendrickx
b25dc6300c Revert "[PM-13999] Show estimated tax for taxable countries (#12145)" (#12244)
This reverts commit 1dce7f5ba0.
2024-12-04 14:40:57 +00:00
Jonas Hendrickx
1dce7f5ba0 [PM-13999] Show estimated tax for taxable countries (#12145) 2024-12-04 11:45:44 +01:00
Thomas Rittson
853db233d9 Remove AddPolicyDefinitions feature flag (#12172) 2024-12-04 11:50:39 +10:00
Jimmy Vo
03f0c0f2ca Implement solution and fix tests 2024-12-03 16:55:35 -05:00
Jimmy Vo
ea6b64dcdb [PM-13755] Use active user count for seat validation instead of total users. 2024-12-03 15:18:38 -05:00
Alec Rippberger
c073e91f17 feat(auth): [PM-13659] implement 2FA timeout handling across clients
Add timeout state management for two-factor authentication flows in web, desktop,
and browser extension clients. Includes:

- New timeout screen component with 5-minute session limit
- Updated UI elements and styling
- Comprehensive test coverage

Refs: PM-13659
2024-12-03 13:55:40 -06:00
Shane Melton
2e53a645c9 [PM-15520] Move organizationPaymentStatus$ out of page setup flow and tweak it to avoid hanging when user is not an owner (#12224) 2024-12-03 11:25:02 -08:00
Brandon Treston
694f2c7da2 add policy component form validation to policy edit component (#12150) 2024-12-03 12:55:42 -05:00
Brandon Treston
8a459b3427 [PM-14551] Update copy for revoke dialog (#12089)
* update copy for revoke dialog

* Update bulk restore copy

* update copy in dialog

* remove unused copy

* Check run earlier during setup (#11958)

(cherry picked from commit 80c71c191b)

* Check run earlier during setup (#11958)

(cherry picked from commit 80c71c191b)

* add copy

* update button copy

* add feature flag logic

* restore copy, fix build error

* fix copy

* remove unused copy

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2024-12-03 09:58:32 -05:00
Rui Tomé
9c03cffe30 [PM-15156] Copy update on Organization member Delete modals (#12182)
* Rename 'Remove users' to 'Remove members' in bulk remove dialog

* Update warning messages for bulk delete dialog and single member deletion
2024-12-03 12:58:26 +00:00
Daniel James Smith
19663d9587 [PM-15418] Remove bitItem and use plain bitLink button for opening generator history (#12208)
* Remove bitItem and use plain bitLink button for opening generator history

* Revert desktop back to use bitItem

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-02 20:26:13 +01:00
Alex Morask
0544100e83 Make payment optional trial banner work with Stripe sources API deprecation (#12146) 2024-12-02 09:12:49 -05:00
Github Actions
3fe11b7e5a Bumped client version(s) 2024-12-02 11:32:22 +00:00
bw-ghapp[bot]
2ef0956afe Autosync the updated translations (#12204)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-12-02 11:20:31 +00:00