Skip to content

BIT-2300: Mask TOTP#624

Merged
jubie-livefront merged 12 commits intomainfrom
jubie/BIT-2300-mask-totp
May 14, 2024
Merged

BIT-2300: Mask TOTP#624
jubie-livefront merged 12 commits intomainfrom
jubie/BIT-2300-mask-totp

Conversation

@jubie-livefront
Copy link
Copy Markdown
Contributor

@jubie-livefront jubie-livefront commented Apr 30, 2024

🎟️ Tracking

BIT-2300 Original ticket
BIT-2341 Verification codes screen

📔 Objective

View item screen

  • Masks a cipher's TOTP code if the item is password protected. Copying the value is password protected.

Add/Edit item screen

  • Masks any cipher's auth key with an added visibility toggle.

Verification codes screen

  • Hides the TOTP code and copy button for password protected items on the verification codes screen.

📸 Screenshots

Simulator Screenshot - iPhone 15 Pro - 2024-05-09 at 15 30 15
Simulator Screenshot - iPhone 15 Pro - 2024-05-09 at 15 29 36
Simulator Screenshot - iPhone 15 Pro - 2024-05-09 at 15 53 17

⏰ 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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2024

1 Warning
⚠️ Ignoring duplicate libraries: '-lbitwarden_uniffi'

Bitwarden code coverage

Total coverage: 86.43%

File Coverage
BitwardenShared/Core/Vault/Repositories/VaultRepository.swift 96.82%
BitwardenShared/UI/Platform/Application/Views/BitwardenField.swift 100.00%
BitwardenShared/UI/Vault/Vault/VaultList/VaultListItem.swift 97.14%
BitwardenShared/UI/Vault/VaultItem/AddEditItem/AddEditItemProcessor.swift 93.17%
BitwardenShared/UI/Vault/VaultItem/AddEditItem/AddEditLoginItem/AddEditLoginItemView.swift 94.20%
BitwardenShared/UI/Vault/VaultItem/CipherItemState.swift 97.49%
BitwardenShared/UI/Vault/VaultItem/LoginItemState.swift 100.00%
BitwardenShared/UI/Vault/VaultItem/ViewItem/ViewItemProcessor.swift 96.11%
BitwardenShared/UI/Vault/VaultItem/ViewItem/ViewItemState.swift 100.00%
BitwardenShared/UI/Vault/VaultItem/ViewItem/ViewLoginItem/Extensions/CipherView+Update.swift 95.72%
BitwardenShared/UI/Vault/VaultItem/ViewItem/ViewLoginItem/ViewLoginItemView.swift 94.66%
BitwardenShared/UI/Vault/Views/VaultListItemRow/VaultListItemRowView.swift 96.82%

Powered by Slather

Generated by 🚫 Danger

Base automatically changed from jubie/BIT-2290-bypass-MP-org to main May 6, 2024 17:44
@bitwarden-bot
Copy link
Copy Markdown

bitwarden-bot commented May 9, 2024

Logo
Checkmarx One – Scan Summary & Details87ca2501-77b2-4bb6-a428-d8fc24ca9eb3

No New Or Fixed Issues Found

Copy link
Copy Markdown
Collaborator

@matt-livefront matt-livefront left a comment

Choose a reason for hiding this comment

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

It's possible I'm missing something, but I have a few questions around unused variables.

Comment thread BitwardenShared/UI/Vault/Vault/VaultGroup/VaultGroupState.swift Outdated
Comment thread BitwardenShared/UI/Vault/Vault/VaultList/VaultListState.swift Outdated
Comment thread BitwardenShared/UI/Vault/VaultItem/ViewItem/ViewItemProcessor.swift Outdated
Comment thread BitwardenShared/UI/Vault/VaultItem/ViewItem/ViewItemProcessor.swift
Comment thread BitwardenShared/UI/Vault/VaultItem/ViewItem/ViewItemState.swift Outdated
Comment thread BitwardenShared/UI/Vault/VaultItem/CipherItemState.swift Outdated
Comment thread BitwardenShared/UI/Vault/VaultItem/CipherItemState.swift Outdated
Copy link
Copy Markdown
Collaborator

@matt-livefront matt-livefront left a comment

Choose a reason for hiding this comment

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

Looks good!

@jubie-livefront jubie-livefront merged commit d0c476a into main May 14, 2024
@jubie-livefront jubie-livefront deleted the jubie/BIT-2300-mask-totp branch May 14, 2024 17:22
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