[PR #6852] [PM-32808] feat: View Driver's License item type #64168

Open
opened 2026-05-12 03:40:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/6852
Author: @SaintPatrck
Created: 4/29/2026
Status: 🔄 Open

Base: mainHead: new-item-types/PM-32808_drivers-license


📝 Commits (1)

📊 Changes

9 files changed (+910 additions, -19 deletions)

View changed files

app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/VaultItemDriversLicenseContent.kt (+418 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/VaultItemScreen.kt (+20 -7)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/VaultItemViewModel.kt (+146 -1)
app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/handlers/VaultDriversLicenseItemTypeHandlers.kt (+55 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/util/CipherViewExtensions.kt (+11 -8)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/VaultItemViewModelTest.kt (+105 -0)
app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/handlers/VaultDriversLicenseItemTypeHandlersTest.kt (+56 -0)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/util/CipherViewExtensionsTest.kt (+92 -0)
📝 ui/src/main/res/values/strings.xml (+7 -3)

📄 Description

🎟️ Tracking

  • PM-32808 — Driver's License item type
  • Parent epic: PM-32009 — New Item Types
  • Child PR: #6908 — Driver's License Add/Edit support

📔 Objective

Adds the read-only View screen for the Driver's License cipher type so users can open an existing license and review its fields. Renders first / middle / last name with copy affordances, license number as a sensitive field with show/hide and copy, date of birth, issuing country, issuing state / province, issuing authority, issue date, expiration date, and license class.

📸 Screenshots

Figma Actual

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/6852 **Author:** [@SaintPatrck](https://github.com/SaintPatrck) **Created:** 4/29/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `new-item-types/PM-32808_drivers-license` --- ### 📝 Commits (1) - [`1bc6a61`](https://github.com/bitwarden/android/commit/1bc6a6148ae01f0b7be0602d73b5f411f67e6c2f) [PM-32808] feat: Add Driver's License item type ### 📊 Changes **9 files changed** (+910 additions, -19 deletions) <details> <summary>View changed files</summary> ➕ `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/VaultItemDriversLicenseContent.kt` (+418 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/VaultItemScreen.kt` (+20 -7) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/VaultItemViewModel.kt` (+146 -1) ➕ `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/handlers/VaultDriversLicenseItemTypeHandlers.kt` (+55 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/util/CipherViewExtensions.kt` (+11 -8) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/VaultItemViewModelTest.kt` (+105 -0) ➕ `app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/handlers/VaultDriversLicenseItemTypeHandlersTest.kt` (+56 -0) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/util/CipherViewExtensionsTest.kt` (+92 -0) 📝 `ui/src/main/res/values/strings.xml` (+7 -3) </details> ### 📄 Description ## 🎟️ Tracking - [PM-32808](https://bitwarden.atlassian.net/browse/PM-32808) — Driver's License item type - Parent epic: [PM-32009](https://bitwarden.atlassian.net/browse/PM-32009) — New Item Types - Child PR: #6908 — Driver's License Add/Edit support ## 📔 Objective Adds the read-only View screen for the Driver's License cipher type so users can open an existing license and review its fields. Renders first / middle / last name with copy affordances, license number as a sensitive field with show/hide and copy, date of birth, issuing country, issuing state / province, issuing authority, issue date, expiration date, and license class. ## 📸 Screenshots | Figma | Actual | |--------|--------| | <img width="365" src="https://github.com/user-attachments/assets/cd5993ce-5531-4612-8350-57be002ae9ad" /> | <img width="365" src="https://github.com/user-attachments/assets/d73f8ef6-40e4-49a4-8a22-72f1e427cbe8" /> | | <img width="365" src="https://github.com/user-attachments/assets/1812b478-b2d7-422d-9b1a-e0061d9198bb" /> | <img width="365" src="https://github.com/user-attachments/assets/1fc16ad8-f52e-4910-ba3c-e770e49bf649" /> | [PM-32808]: https://bitwarden.atlassian.net/browse/PM-32808?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [PM-32009]: https://bitwarden.atlassian.net/browse/PM-32009?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-12 03:40:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#64168