Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-8217] New device two factor notice #4508

Open
wants to merge 56 commits into
base: main
Choose a base branch
from

Conversation

andrebispo5
Copy link
Contributor

@andrebispo5 andrebispo5 commented Dec 23, 2024

🎟️ Tracking

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

📔 Objective

Adds navigation to the new device two factor notice pages.
Includes logic to have a display status linked to the current user.
Adds and updates tests.
Remind me later button is hidden by permanent feature flag.

Screenshot

Permanent feature flag on:
image

Permanent feature flag off:
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

# Conflicts:
#	app/src/main/res/values/strings.xml
…otice-ui-twofa

# Conflicts:
#	app/src/main/res/values/strings.xml
# Conflicts:
#	app/src/test/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeEmailAccessViewModelTest.kt
# Conflicts:
#	app/src/main/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeTwoFactorViewModel.kt
#	app/src/test/java/com/x8bit/bitwarden/ui/auth/feature/newdevicenotice/NewDeviceNoticeTwoFactorScreenTest.kt
# Conflicts:
#	app/src/test/java/com/x8bit/bitwarden/data/auth/repository/AuthRepositoryTest.kt
Copy link
Contributor

github-actions bot commented Dec 23, 2024

Logo
Checkmarx One – Scan Summary & Detailscc6af524-61e6-4e5f-ba95-9840a3029d68

No New Or Fixed Issues Found

Copy link

codecov bot commented Dec 24, 2024

Codecov Report

Attention: Patch coverage is 72.11538% with 29 lines in your changes missing coverage. Please review.

Project coverage is 88.84%. Comparing base (ae8db92) to head (b4d757f).

Files with missing lines Patch % Lines
...twarden/data/auth/repository/AuthRepositoryImpl.kt 65.00% 3 Missing and 11 partials ⚠️
...en/data/auth/datasource/disk/AuthDiskSourceImpl.kt 37.50% 3 Missing and 2 partials ⚠️
...ature/debugmenu/components/FeatureFlagListItems.kt 0.00% 4 Missing ⚠️
...evicenotice/NewDeviceNoticeEmailAccessViewModel.kt 85.71% 1 Missing and 1 partial ⚠️
...wdevicenotice/NewDeviceNoticeTwoFactorViewModel.kt 87.50% 2 Missing ⚠️
...ewdevicenotice/NewDeviceNoticeEmailAccessScreen.kt 0.00% 1 Missing ⚠️
...en/ui/platform/feature/rootnav/RootNavViewModel.kt 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4508      +/-   ##
==========================================
- Coverage   88.89%   88.84%   -0.05%     
==========================================
  Files         460      460              
  Lines       39772    39864      +92     
  Branches     5647     5676      +29     
==========================================
+ Hits        35356    35419      +63     
- Misses       2444     2459      +15     
- Partials     1972     1986      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant