[PM-32009] feat: Integrate new cipher types into vault listing and search#6830
Conversation
…ew cipher types Add vault integration for bank account, driver's license, and passport cipher types (Phases 8-11): - Vault listing with feature-flag gated type groups and item counts - Search and filtering infrastructure for new types - Item type selection screen replacing dialog when flag is enabled - VaultItemListingType and navigation for new types - Placeholder icons for new cipher types - Rename "Note" to "Secure note" in empty-state strings - Comprehensive test updates for all modified files SDK filter predicates are placeholder (return false) until the SDK adds CipherListViewType variants for the new types (PM-34060, PM-32691, PM-32694).
- I1: Add comment explaining SSH Key exclusion from item type selection (SSH keys can only be imported, not created from the app) - I2: Inject PolicyManager into ItemTypeSelectionViewModel to exclude Card when restrict item types policy is active - I3: Make when-branch formatting consistent across new type branches - I4: Fix import ordering in VaultGraphNavigation.kt - I5: Add trailing newlines to ic_drivers_license.xml and ic_passport.xml
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the third of three stacked PRs integrating Bank Account, Driver's License, and Passport cipher types into the vault listing, search, and new-item-type selection flow. The change is feature-flag gated behind Code Review DetailsNo findings at or above the posting confidence threshold. Notes on intentional design that were reviewed and validated:
|
|
Great job! No new security vulnerabilities introduced in this pull request |

🎟️ Tracking
PM-32009
📔 Objective
Third of three stacked PRs. Wires the Bank Account, Driver's License, and Passport types built in #6829 into the vault listing, search, and new item-type selection flow. After this PR merges (and the
pm-32009-new-item-typesflag is enabled), users can discover, filter, and create the new cipher types end-to-end.Why it looks the way it does
falsefor the new types. The SDK'sCipherListViewTypedoes not yet expose variants for these ciphers, and returningfalseis a safer default than a speculative mapping that might mis-categorize items once the SDK lands. Tracked under PM-34060, PM-32691, and PM-32694.Stacked on: #6829
Follow-up: SDK mapping work tracked under PM-34060 / PM-32691 / PM-32694
📸 Screenshots
To be added before marking ready for review.