Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@KatherineInCode
Copy link
Contributor

🎟️ Tracking

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

📔 Objective

This updates how we handle "Unlock with" strings under the hood to explicitly specify them, rather than having a variable.

There is broader work that could be done to consolidate the BiometricsService and BiometricsRepository into BitwardenKit and unify how those work, but that is captured in another ticket.

⏰ 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

@KatherineInCode KatherineInCode marked this pull request as ready for review October 16, 2025 16:14
.toggleStyle(.bitwarden)
}

private func biometricsToggleText(_ biometryType: BiometricAuthenticationType) -> String {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 This doesn't have all of the methods that PM does; in practice, all of the biometrics service code should be consolidated in BitwardenKit, and I've created PM-27047 for that.

@github-actions
Copy link
Contributor

Logo
Checkmarx One – Scan Summary & Details45a52f0f-3735-48e3-a32c-625246be1b42

Great job! No new security vulnerabilities introduced in this pull request

@codecov
Copy link

codecov bot commented Oct 16, 2025

Codecov Report

❌ Patch coverage is 53.84615% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.94%. Comparing base (39b11f1) to head (5acb2a9).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
.../Auth/VaultUnlockSetup/VaultUnlockSetupState.swift 25.00% 3 Missing ⚠️
...Settings/AccountSecurity/AccountSecurityView.swift 50.00% 2 Missing ⚠️
...d/UI/Platform/Settings/Settings/SettingsView.swift 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2047      +/-   ##
==========================================
- Coverage   85.28%   82.94%   -2.35%     
==========================================
  Files        1690     1991     +301     
  Lines      144061   160991   +16930     
==========================================
+ Hits       122862   133532   +10670     
- Misses      21199    27459    +6260     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@KatherineInCode KatherineInCode enabled auto-merge (squash) October 16, 2025 18:00
@KatherineInCode KatherineInCode merged commit 6c9d2e9 into main Oct 16, 2025
14 of 16 checks passed
@KatherineInCode KatherineInCode deleted the pm-27045/lock-method-strings branch October 16, 2025 20:54
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.

3 participants