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-4816] Create shared LoginApprovalComponent #11982

Merged
merged 22 commits into from
Nov 22, 2024

Conversation

alec-livefront
Copy link
Collaborator

@alec-livefront alec-livefront commented Nov 13, 2024

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-4816?atlOrigin=eyJpIjoiMzE0Yjg5YjFhYTViNGY0M2E4M2YyY2MyNjg3YTFhMWYiLCJwIjoiaiJ9

📔 Objective

Moves the LoginApprovalComponent to libs/auth and moves desktop-specific logic to a service.

📸 Screenshots

GMT20241115-200832_Clip_Alec.Rippberger.s.Clip.11_15_2024.mp4

⏰ 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

github-actions bot commented Nov 13, 2024

Logo
Checkmarx One – Scan Summary & Detailsdc3bb372-8902-4b6f-8cb2-935613a23851

Fixed Issues

Severity Issue Source File / Package
LOW Client_JQuery_Deprecated_Symbols /libs/importer/src/services/import.service.ts: 467

Copy link

codecov bot commented Nov 13, 2024

Codecov Report

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

Project coverage is 33.55%. Comparing base (0308e6e) to head (9735ee6).
Report is 59 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
libs/auth/src/angular/index.ts 0.00% 2 Missing ⚠️
apps/desktop/src/app/app.component.ts 0.00% 1 Missing ⚠️
apps/desktop/src/app/services/services.module.ts 0.00% 1 Missing ⚠️
.../login/desktop-login-approval-component.service.ts 88.88% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11982      +/-   ##
==========================================
+ Coverage   33.48%   33.55%   +0.06%     
==========================================
  Files        2846     2849       +3     
  Lines       89196    89210      +14     
  Branches    17002    17003       +1     
==========================================
+ Hits        29867    29930      +63     
+ Misses      56976    56913      -63     
- Partials     2353     2367      +14     

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


🚨 Try these New Features:

@trmartin4 trmartin4 added the needs-qa Marks a PR as requiring QA approval label Nov 13, 2024
Copy link
Contributor

@JaredSnider-Bitwarden JaredSnider-Bitwarden left a comment

Choose a reason for hiding this comment

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

Great start on this! Some feedback below:

@micahblut
Copy link
Member

@alec-livefront I notice this doesn't show the environment the request is coming from like the design does. It also looks like the spacing between "login attempt by" and "fingerprint phrase" is off. Finally, could you send me a screenshot with the updated styles?

Copy link
Contributor

@JaredSnider-Bitwarden JaredSnider-Bitwarden left a comment

Choose a reason for hiding this comment

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

LGTM! Nice testing work as well!

@alec-livefront
Copy link
Collaborator Author

@micahblut the original screenshot didn't have the correct spacing - I've updated with a screen recording which should show the correct spacing now. Could you elaborate on the environment? I'm not sure I see that in the screenshot attached to the ticket/

@rr-bw rr-bw removed their request for review November 15, 2024 23:39
@alec-livefront alec-livefront removed the needs-qa Marks a PR as requiring QA approval label Nov 22, 2024
@alec-livefront alec-livefront merged commit 02ea368 into main Nov 22, 2024
71 of 72 checks passed
@alec-livefront alec-livefront deleted the auth/pm-4816/create-shared-LoginApprovalComponent branch November 22, 2024 18:55
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.

5 participants