[PR #4400] [MERGED] [PM-8217] New device notice email access UI #4919

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

📋 Pull Request Information

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

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


📝 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.
  • 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
  • 804e3f4 Merge branch 'main' into pm-8217/new-device-notice-ui
  • 00b0680 [PM-8217] Fix layout

📊 Changes

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

View changed files

app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessNavigation.kt (+56 -0)
app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessScreen.kt (+190 -0)
app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessViewModel.kt (+84 -0)
📝 app/src/main/java/com/x8bit/bitwarden/ui/platform/base/util/Text.kt (+4 -1)
app/src/main/res/drawable-night/warning.xml (+93 -0)
app/src/main/res/drawable/warning.xml (+104 -0)
📝 app/src/main/res/values/strings.xml (+4 -0)
app/src/test/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessScreenTest.kt (+85 -0)
app/src/test/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessViewModelTest.kt (+59 -0)

📄 Description

🎟️ Tracking

PM-8217 Add notice to users with no 2FA

📔 Objective

Add first 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/4400 **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` --- ### 📝 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. - [`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 - [`804e3f4`](https://github.com/bitwarden/android/commit/804e3f4a349daba10bb768aa73cdbd133715a034) Merge branch 'main' into pm-8217/new-device-notice-ui - [`00b0680`](https://github.com/bitwarden/android/commit/00b06803244fa98caecc3694b5d21118f4bf5ae1) [PM-8217] Fix layout ### 📊 Changes **9 files changed** (+679 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessNavigation.kt` (+56 -0) ➕ `app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessScreen.kt` (+190 -0) ➕ `app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessViewModel.kt` (+84 -0) 📝 `app/src/main/java/com/x8bit/bitwarden/ui/platform/base/util/Text.kt` (+4 -1) ➕ `app/src/main/res/drawable-night/warning.xml` (+93 -0) ➕ `app/src/main/res/drawable/warning.xml` (+104 -0) 📝 `app/src/main/res/values/strings.xml` (+4 -0) ➕ `app/src/test/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessScreenTest.kt` (+85 -0) ➕ `app/src/test/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessViewModelTest.kt` (+59 -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 first screen for the notice to users with no 2FA ## 📸 Screenshots <img width="308" alt="image" src="https://github.com/user-attachments/assets/9edefe0d-f268-4e1c-b158-738a3259b192" /> <img width="315" alt="image" src="https://github.com/user-attachments/assets/1c5eb37e-df39-432e-9de8-829928ff319a" /> ## ⏰ 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:32 -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#4919