8000 BIT-2350: Add empty state when OTP matches no vault items by matt-livefront · Pull Request #691 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

BIT-2350: Add empty state when OTP matches no vault items #691

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

Merged
merged 4 commits into from
Jun 28, 2024

Conversation

matt-livefront
Copy link
Collaborator

🎟️ Tracking

BIT-2350

📔 Objective

Adds the empty state when the OTP issuer doesn't match any items in the user's vault. This also populates the TOTP key field when tapping on either of the add item buttons.

📸 Screenshots

RPReplay_Final1719414384.mov

⏰ 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

Copy link
Contributor
1 Warning
⚠️ Ignoring duplicate libraries: '-lbitwarden_uniffi'
6 Messages
📖 BitwardenActionExtensionTests: Executed 0 tests, with 0 failures (0 expected) in 0 (0.001) seconds
📖 BitwardenAutoFillExtensionTests: Executed 0 tests, with 0 failures (0 expected) in 0 (0.001) seconds
📖 BitwardenShareExtensionTests: Executed 0 tests, with 0 failures (0 expected) in 0 (0.0) seconds
📖 BitwardenSharedTests: Executed 3285 tests, with 12 failures (0 expected) in 61.708 (64.264) seconds
📖 BitwardenTests: Executed 4 tests, with 0 failures (0 expected) in 0.376 (0.403) seconds
📖 NetworkingTests: Executed 26 tests, with 0 failures (0 expected) in 0.041 (0.047) seconds

Bitwarden code coverage

Total coverage: 86.26%

File Coverage
BitwardenShared/UI/Vault/Vault/VaultItemSelection/VaultItemSelectionProcessor.swift 89.31%
BitwardenShared/UI/Vault/Vault/VaultItemSelection/VaultItemSelectionView.swift 87.50%
BitwardenShared/UI/Vault/VaultItem/VaultItemCoordinator.swift 95.45%

Powered by Slather

Generated by 🚫 Danger

Copy link
Contributor
github-actions bot commented Jun 26, 2024

Logo
Checkmarx One – Scan Summary & Details907ace75-bf62-4628-8d5b-f7e3d02772ad

New Issues

Severity Issue Source File / Package Checkmarx Insight
MEDIUM Unpinned Actions Full Length Commit SHA /build.yml: 58 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Fixed Issues

Severity Issue Source File / Package
MEDIUM Unpinned Actions Full Length Commit SHA /build.yml: 64

@matt-livefront matt-livefront requested a review from fedemkr June 27, 2024 15:28
Copy link
codecov bot commented Jun 27, 2024

Codecov Report

Attention: Patch coverage is 94.79167% with 5 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@e695800). Learn more about missing BASE report.

Files Patch % Lines
.../Platform/Application/Views/EmptyContentView.swift 84.00% 4 Missing ⚠️
...lt/VaultItemSelection/VaultItemSelectionView.swift 98.07% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #691   +/-   ##
=======================================
  Coverage        ?   87.79%           
=======================================
  Files           ?      562           
  Lines           ?    27883           
  Branches        ?        0           
=======================================
  Hits            ?    24481           
  Misses          ?     3402           
  Partials        ?        0           

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

@matt-livefront matt-livefront requested a review from fedemkr June 27, 2024 20:24
@matt-livefront matt-livefront merged commit 2eccca2 into main Jun 28, 2024
8 checks passed
@matt-livefront matt-livefront deleted the matt/BIT-2350-scan-totp-empty branch June 28, 2024 13:36
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.

2 participants
0