[PR #4401] [MERGED] [PM-8217] New device notice two factor UI #4920

Closed
opened 2025-11-26 23:51:33 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/4401
Author: @andrebispo5
Created: 12/2/2024
Status: Merged
Merged: 12/20/2024
Merged by: @andrebispo5

Base: mainHead: pm-8217/new-device-notice-ui-twofa


📝 Commits (10+)

  • 5741333 [PM-8217] New device notice email address access screen, viewmodel and navigation.
  • cb26200 [PM-8217] New device notice email address access tests
  • 35c8b1c Merge branch 'main' into pm-8217/new-device-notice-ui
  • 0c74547 [PM-8217] Fix navigation parameter and ui alignment.
  • 9b20ad6 [PM-8217] Add option to include an icon on the right side of the BitwardenButton
  • e784b85 [PM-8217] Add new device notice two factor screen, viewmodel and navigation.
  • 02803c3 [PM-8217] Remove scroll behaviour. Remove suppression for long method. Add modifier parameter for composables.
  • 58ab96f Merge branch 'main' into pm-8217/new-device-notice-ui
  • ee645b5 [PM-8217] Fixed screen layout
  • c711348 Merge branch 'main' into pm-8217/new-device-notice-ui

📊 Changes

9 files changed (+608 additions, -1 deletions)

View changed files

app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeTwoFactorNavigation.kt (+35 -0)
app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeTwoFactorScreen.kt (+180 -0)
app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeTwoFactorViewModel.kt (+101 -0)
app/src/main/res/drawable-night/user_lock.xml (+58 -0)
app/src/main/res/drawable/user_lock.xml (+58 -0)
📝 app/src/main/res/values/strings.xml (+4 -0)
📝 app/src/test/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessViewModelTest.kt (+1 -1)
app/src/test/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeTwoFactorScreenTest.kt (+114 -0)
app/src/test/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeTwoFactorViewModelTest.kt (+57 -0)

📄 Description

🎟️ Tracking

PM-8217 Add notice to users with no 2FA

📔 Objective

Add the second screen for the notice to users with no 2FA

📸 Screenshots

image image

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation 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/4401 **Author:** [@andrebispo5](https://github.com/andrebispo5) **Created:** 12/2/2024 **Status:** ✅ Merged **Merged:** 12/20/2024 **Merged by:** [@andrebispo5](https://github.com/andrebispo5) **Base:** `main` ← **Head:** `pm-8217/new-device-notice-ui-twofa` --- ### 📝 Commits (10+) - [`5741333`](https://github.com/bitwarden/android/commit/57413333fc42ca0cf1cb658030bde4cefbfae0ab) [PM-8217] New device notice email address access screen, viewmodel and navigation. - [`cb26200`](https://github.com/bitwarden/android/commit/cb262005f79e1d4a87278077d10b831115cadb28) [PM-8217] New device notice email address access tests - [`35c8b1c`](https://github.com/bitwarden/android/commit/35c8b1c1ba0bb04107d09a11e92b75af33db9a78) Merge branch 'main' into pm-8217/new-device-notice-ui - [`0c74547`](https://github.com/bitwarden/android/commit/0c74547d962462d6f8debacc354a91ddbd2b4c20) [PM-8217] Fix navigation parameter and ui alignment. - [`9b20ad6`](https://github.com/bitwarden/android/commit/9b20ad61a48da48d0be1a8f81a432f127c46fb2e) [PM-8217] Add option to include an icon on the right side of the BitwardenButton - [`e784b85`](https://github.com/bitwarden/android/commit/e784b85692c2c3bfa02120bc36ffbf5bc818ab67) [PM-8217] Add new device notice two factor screen, viewmodel and navigation. - [`02803c3`](https://github.com/bitwarden/android/commit/02803c3dfd54ea4855148e93745bab0899699b24) [PM-8217] Remove scroll behaviour. Remove suppression for long method. Add modifier parameter for composables. - [`58ab96f`](https://github.com/bitwarden/android/commit/58ab96fe3229287566fd3e995056d5015773de65) Merge branch 'main' into pm-8217/new-device-notice-ui - [`ee645b5`](https://github.com/bitwarden/android/commit/ee645b58ea1c16f87c94b3a1b35161593c54453b) [PM-8217] Fixed screen layout - [`c711348`](https://github.com/bitwarden/android/commit/c711348471e6e57ef0616f743046ee9ae3b3f6bb) Merge branch 'main' into pm-8217/new-device-notice-ui ### 📊 Changes **9 files changed** (+608 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeTwoFactorNavigation.kt` (+35 -0) ➕ `app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeTwoFactorScreen.kt` (+180 -0) ➕ `app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeTwoFactorViewModel.kt` (+101 -0) ➕ `app/src/main/res/drawable-night/user_lock.xml` (+58 -0) ➕ `app/src/main/res/drawable/user_lock.xml` (+58 -0) 📝 `app/src/main/res/values/strings.xml` (+4 -0) 📝 `app/src/test/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessViewModelTest.kt` (+1 -1) ➕ `app/src/test/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeTwoFactorScreenTest.kt` (+114 -0) ➕ `app/src/test/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeTwoFactorViewModelTest.kt` (+57 -0) </details> ### 📄 Description ## 🎟️ Tracking <!-- Paste the link to the Jira or GitHub issue or otherwise describe / point to where this change is coming from. --> [PM-8217 Add notice to users with no 2FA](https://bitwarden.atlassian.net/browse/PM-8217) ## 📔 Objective <!-- Describe what the purpose of this PR is, for example what bug you're fixing or new feature you're adding. --> Add the second screen for the notice to users with no 2FA ## 📸 Screenshots <img width="309" alt="image" src="https://github.com/user-attachments/assets/82509a81-5029-4660-936a-fc869ae09383" /> <img width="305" alt="image" src="https://github.com/user-attachments/assets/613531f7-bbe0-4b54-8cf2-91945561e904" /> ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation 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 2025-11-26 23:51:33 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#4920