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-9693] Refresh - LoginDecryptionOptionsComponent #11782

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

Conversation

rr-bw
Copy link
Contributor

@rr-bw rr-bw commented Oct 29, 2024

🎟️ Tracking

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

📔 Objective

Creates a refreshed and consolidated LoginDecryptionOptionsComponent for use on all visual clients, which will be used when the UnauthenticatedExtensionUIRefresh is on.

Notes

📸 Screenshots

Web - Admin Approval

admin-approval.mov

Web - Approve with MP

approve-with-master-password.mov

Web - Approve from other device

approve-from-other-device.mov

Web - New User

new-user.mov

Desktop - Admin Approval

desktop-admin-approval.mov

Browser - Admin Approval

extension-admin-approval.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

codecov bot commented Oct 29, 2024

Codecov Report

Attention: Patch coverage is 7.09677% with 144 lines in your changes missing coverage. Please review.

Project coverage is 33.43%. Comparing base (3a293bb) to head (df815b1).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...tion-options/login-decryption-options.component.ts 0.00% 122 Missing ⚠️
libs/auth/src/angular/index.ts 0.00% 3 Missing ⚠️
...n-options/login-decryption-options-v1.component.ts 0.00% 2 Missing ⚠️
...n-options/login-decryption-options-v1.component.ts 0.00% 2 Missing ⚠️
...n-options/login-decryption-options-v1.component.ts 0.00% 2 Missing ⚠️
libs/auth/src/angular/icons/devices.icon.ts 0.00% 2 Missing ⚠️
apps/browser/src/popup/app-routing.module.ts 0.00% 1 Missing ⚠️
apps/browser/src/popup/app.module.ts 0.00% 1 Missing ⚠️
apps/desktop/src/app/app-routing.module.ts 0.00% 1 Missing ⚠️
apps/desktop/src/auth/login/login.module.ts 0.00% 1 Missing ⚠️
... and 7 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11782      +/-   ##
==========================================
- Coverage   33.47%   33.43%   -0.04%     
==========================================
  Files        2844     2850       +6     
  Lines       89044    89186     +142     
  Branches    16987    17019      +32     
==========================================
+ Hits        29805    29823      +18     
- Misses      56894    57018     +124     
  Partials     2345     2345              

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

Copy link
Contributor

github-actions bot commented Nov 7, 2024

Logo
Checkmarx One – Scan Summary & Detailsae514b5f-0055-484a-958c-b5e1fcf24c57

New Issues

Severity Issue Source File / Package Checkmarx Insight
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 204 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...
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 283 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...
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 318 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...
LOW Unpinned Actions Full Length Commit SHA /build-browser.yml: 416 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...
LOW Unpinned Actions Full Length Commit SHA /crowdin-pull.yml: 40 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...
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 362 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...
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1391 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...
LOW Unpinned Actions Full Length Commit SHA /build-browser.yml: 372 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...
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 928 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...
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 314 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...
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1342 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...
LOW Unpinned Actions Full Length Commit SHA /build-cli.yml: 421 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
LOW Client_JQuery_Deprecated_Symbols /apps/cli/src/service-container/service-container.ts: 876
LOW Client_JQuery_Deprecated_Symbols /libs/importer/src/services/import.service.ts: 467
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1012
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1456
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 665
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 342
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 133
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1505
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 338
LOW Unpinned Actions Full Length Commit SHA /build-cli.yml: 121
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 357
LOW Unpinned Actions Full Length Commit SHA /build-browser.yml: 184
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 386
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1356
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 307
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 228
LOW Unpinned Actions Full Length Commit SHA /build-browser.yml: 478
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 853
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1101
LOW Unpinned Actions Full Length Commit SHA /build-browser.yml: 379
LOW Unpinned Actions Full Length Commit SHA /build-cli.yml: 276
LOW Unpinned Actions Full Length Commit SHA /crowdin-pull.yml: 47
LOW Unpinned Actions Full Length Commit SHA /build-browser.yml: 434
LOW Unpinned Actions Full Length Commit SHA /build-cli.yml: 465
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 191

@rr-bw rr-bw marked this pull request as ready for review November 7, 2024 23:31
@rr-bw rr-bw requested a review from a team as a code owner November 7, 2024 23:31
@rr-bw rr-bw requested a review from a team as a code owner November 7, 2024 23:31
dani-garcia
dani-garcia previously approved these changes Nov 8, 2024
Copy link
Member

@dani-garcia dani-garcia left a comment

Choose a reason for hiding this comment

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

Platform changes LGTM

ike-kottlowski
ike-kottlowski previously approved these changes Nov 8, 2024
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.

4 participants