[PR #6055] [MERGED] [PM-27001] Skip account selection only one exists on cxp flow #36773

Closed
opened 2026-04-21 03:54:40 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/6055
Author: @aj-rosado
Created: 10/20/2025
Status: Merged
Merged: 10/22/2025
Merged by: @aj-rosado

Base: mainHead: PM-27001/skip-account-selection-only-one-exist-cxp


📝 Commits (5)

  • c6f2211 skipping account selection when only one exists on RootNav
  • a849109 Showing cross instead of a back arrow when user only has one account on VerifyPasswordScreen
  • dfeb64a Fixed and added tests to skip account selection on cxp
  • dc3b952 improve formatting
  • 3d349bb fixed formatting

📊 Changes

8 files changed (+208 additions, -7 deletions)

View changed files

📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/rootnav/RootNavScreen.kt (+12 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/rootnav/RootNavViewModel.kt (+16 -2)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/verifypassword/VerifyPasswordScreen.kt (+23 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/verifypassword/VerifyPasswordViewModel.kt (+20 -2)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/platform/feature/rootnav/RootNavScreenTest.kt (+21 -0)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/platform/feature/rootnav/RootNavViewModelTest.kt (+66 -1)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/verifypassword/VerifyPasswordScreenTest.kt (+1 -0)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/verifypassword/VerifyPasswordViewModelTest.kt (+49 -0)

📄 Description

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-27001

📔 Objective

If the user only has one account, it should skip the account selection screen and go directly to the verify password on the CXP.

When the user has no other accounts, verify password screen should have a on the top left instead of a back arrow and should cancel the operation returning to the original app.

📸 Screenshots

https://github.com/user-attachments/assets/6a3749f8-1e9f-42cf-87c8-6e743bcab5b8

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

🔄 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/6055 **Author:** [@aj-rosado](https://github.com/aj-rosado) **Created:** 10/20/2025 **Status:** ✅ Merged **Merged:** 10/22/2025 **Merged by:** [@aj-rosado](https://github.com/aj-rosado) **Base:** `main` ← **Head:** `PM-27001/skip-account-selection-only-one-exist-cxp` --- ### 📝 Commits (5) - [`c6f2211`](https://github.com/bitwarden/android/commit/c6f2211a4819808524e23929d33724074fd93cb2) skipping account selection when only one exists on RootNav - [`a849109`](https://github.com/bitwarden/android/commit/a849109643fc4756ebcbd100f58710895b2dcf1a) Showing cross instead of a back arrow when user only has one account on VerifyPasswordScreen - [`dfeb64a`](https://github.com/bitwarden/android/commit/dfeb64a49b480a174774ed8995dcb0d370cc6c15) Fixed and added tests to skip account selection on cxp - [`dc3b952`](https://github.com/bitwarden/android/commit/dc3b95271a1a4c0741f881deb3c28729d5b80c0c) improve formatting - [`3d349bb`](https://github.com/bitwarden/android/commit/3d349bbabe554720f6436e5521b83d3fa26b55ca) fixed formatting ### 📊 Changes **8 files changed** (+208 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/rootnav/RootNavScreen.kt` (+12 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/rootnav/RootNavViewModel.kt` (+16 -2) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/verifypassword/VerifyPasswordScreen.kt` (+23 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/verifypassword/VerifyPasswordViewModel.kt` (+20 -2) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/platform/feature/rootnav/RootNavScreenTest.kt` (+21 -0) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/platform/feature/rootnav/RootNavViewModelTest.kt` (+66 -1) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/verifypassword/VerifyPasswordScreenTest.kt` (+1 -0) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/verifypassword/VerifyPasswordViewModelTest.kt` (+49 -0) </details> ### 📄 Description ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-27001 ## 📔 Objective If the user only has one account, it should skip the account selection screen and go directly to the verify password on the CXP. When the user has no other accounts, verify password screen should have a ❌ on the top left instead of a back arrow and should cancel the operation returning to the original app. ## 📸 Screenshots https://github.com/user-attachments/assets/6a3749f8-1e9f-42cf-87c8-6e743bcab5b8 ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Protected functional changes with optionality (feature flags) - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes --- <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-04-21 03:54:40 -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#36773