Conversation
- Bump versions of `@bitwarden/commercial-sdk-internal` and `@bitwarden/sdk-internal` to `0.2.0-main.715` in package.json and package-lock.json. - Refactor `vault.component.ts` to utilize Angular's inject and Signal features, improving dependency injection and state management. - Enhance the `DefaultCollectionEncryptionService` to augment the `@bitwarden/sdk-internal` module for better type definitions related to collection encryption.
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR removes the Code Review DetailsNo new findings. Previously raised threads have been resolved:
The |
- Introduced `DefaultVaultCollectionService` and `VaultCipherActionsService` to manage vault collections and cipher actions, enhancing organization and user interaction. - Implemented unit tests for both services to ensure functionality and reliability. - Added `VaultCollectionActionsService` for managing collection actions, including adding, editing, and deleting collections. - Created specifications for `VaultCollectionActionsService` to validate its behavior and interactions with the dialog components. - Established a base `VaultCollectionService` for shared collection functionalities across services.
- Updated variable names for clarity, changing `refreshingSubject$` to `isRefreshing$`. - Modified the way `activeFilter` is accessed, ensuring it is called as a function. - Adjusted conditions for `showAddAccessToggle` and `activeFilter.isDeleted` to use function calls for consistency. - Enhanced data binding for `addAccessStatus` to utilize `collectionService` directly.
- Removed the initialization of collection actions in ngOnInit for cleaner code structure. - Added subscription to collectionActions.refresh$ to ensure the component refreshes appropriately when collection actions are triggered.
- Added `jest-environment-jsdom` version 30.3.0 to both package.json and package-lock.json for enhanced testing capabilities. - Updated `dev` properties to `devOptional` for better clarity in package-lock.json. - Introduced new modules `@egjs/hammerjs` and `@electron/windows-sign` with their respective dependencies and configurations.
…efresh logic - Removed the `allCollectionsWithoutUnassigned$` observable to streamline the component's state management. - Added a call to `collectionService.reload()` in the refresh method to ensure data is reloaded appropriately during refresh actions.
…ackage-lock.json - Downgraded `jest-environment-jsdom` from version 30.3.0 to 29.7.0 for compatibility reasons. - Added new modules including `@tootallnate/once`, `abab`, `acorn-globals`, `cssom`, and `domexception` with their respective versions and metadata. - Updated dependencies for existing modules to ensure proper functionality and maintainability.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #20472 +/- ##
==========================================
+ Coverage 47.09% 47.33% +0.24%
==========================================
Files 3949 3953 +4
Lines 119741 119886 +145
Branches 18344 18343 -1
==========================================
+ Hits 56390 56748 +358
+ Misses 59115 58891 -224
- Partials 4236 4247 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…; update dev properties for several modules to true. Clean up package-lock.json by removing unused dependencies including @egjs/hammerjs and @electron/windows-sign.
… versions to 0.2.0-main.712 in package.json and package-lock.json; adjust dev properties for clarity and add new dependencies including @egjs/hammerjs and @electron/windows-sign.
|
There was a problem hiding this comment.
This has a few sets of changes in it. The encrypt method is covered by the reversion in #20477. The actions service changes seem unrelated and maybe belong to another branch? I suggest we close this PR and you can open a new one for those changes if needed.



🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-34918
📔 Objective
Gets rid of as any for encrypt function.