[PR #6053] [CLOSED] [PM-27001] Skip account selection only one exists on cxp flow #54487

Closed
opened 2026-05-01 20:02:11 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/6053
Author: @aj-rosado
Created: 10/20/2025
Status: Closed

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


📝 Commits (7)

  • 80eef3a hide select other account button if user has no other account
  • f0ffbc8 fixed review export model test
  • 4ff2f81 little clean up on ReviewExportViewModel
  • 855c54d skipping account selection when only one exists on RootNav
  • b2716cd Showing cross instead of a back arrow when user only has one account on VerifyPasswordScreen
  • 44a784f Fixed and added tests to skip account selection on cxp
  • ddb654f Merge branch 'main' into PM-27001/skip-account-selection-only-one-exists-cxp

📊 Changes

12 files changed (+238 additions, -16 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 (+13 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/reviewexport/ReviewExportScreen.kt (+9 -5)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/reviewexport/ReviewExportViewModel.kt (+2 -0)
📝 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 (+25 -7)
📝 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/reviewexport/ReviewExportScreenTest.kt (+14 -0)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/reviewexport/ReviewExportViewModelTest.kt (+3 -0)
📝 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/6053 **Author:** [@aj-rosado](https://github.com/aj-rosado) **Created:** 10/20/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `PM-27001/skip-account-selection-only-one-exists-cxp` --- ### 📝 Commits (7) - [`80eef3a`](https://github.com/bitwarden/android/commit/80eef3af133b02bdc303ce6c67bc84555718bd37) hide select other account button if user has no other account - [`f0ffbc8`](https://github.com/bitwarden/android/commit/f0ffbc8556192a035800a8599ca5d5c2321552e6) fixed review export model test - [`4ff2f81`](https://github.com/bitwarden/android/commit/4ff2f8163a1f55e86f11bbed9394d3dd713bdad9) little clean up on ReviewExportViewModel - [`855c54d`](https://github.com/bitwarden/android/commit/855c54daa009737638947661d78ffa24a166a9b2) skipping account selection when only one exists on RootNav - [`b2716cd`](https://github.com/bitwarden/android/commit/b2716cd7d2402a97d3a383081438a5f301fe742e) Showing cross instead of a back arrow when user only has one account on VerifyPasswordScreen - [`44a784f`](https://github.com/bitwarden/android/commit/44a784fbd5e256b1b336f6a964fa3a324a229e3f) Fixed and added tests to skip account selection on cxp - [`ddb654f`](https://github.com/bitwarden/android/commit/ddb654ff7c0cc42dfddfd868446be22efa711056) Merge branch 'main' into PM-27001/skip-account-selection-only-one-exists-cxp ### 📊 Changes **12 files changed** (+238 additions, -16 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` (+13 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/reviewexport/ReviewExportScreen.kt` (+9 -5) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/reviewexport/ReviewExportViewModel.kt` (+2 -0) 📝 `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` (+25 -7) 📝 `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/reviewexport/ReviewExportScreenTest.kt` (+14 -0) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/exportitems/reviewexport/ReviewExportViewModelTest.kt` (+3 -0) 📝 `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-05-01 20:02:11 -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#54487