mirror of
https://github.com/bitwarden/android.git
synced 2026-04-10 16:46:01 -05:00
Code review fixes: - Remove duplicate KeyConnectorUrl branch in InitUserCryptoMethodExtensions - Fix CollectionManagerTest createCollection calls to include organizationUserId - Prevent vault sync from overwriting user's in-progress edits in CollectionAddEditViewModel (early return if already in Content state) - Add per-collection canManage permission check before allowing edit navigation, based on collection manage flag and org role - Gitignore .claude/outputs/ to exclude plan documents from commits New tests: - CollectionsViewModelTest: 11 tests covering navigation, state updates, FAB visibility based on permissions, snackbar relay, and error states - CollectionAddEditViewModelTest: 20 tests covering create/edit/delete flows, name validation, dialog states, snackbar relay, and the sync overwrite protection fix Updated test fixtures: - SyncResponseProfileUtil: add organizationUserId, limitCollectionCreation, limitCollectionDeletion fields