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-3301] Login - Move incorrect username or password error to inline field error #11443

Conversation

alec-livefront
Copy link
Collaborator

@alec-livefront alec-livefront commented Oct 7, 2024

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-3301?atlOrigin=eyJpIjoiM2Y4Y2ZjYzczOTAwNDZiNWJlZDVkYTcwYzYzYTc2MzYiLCJwIjoiaiJ9

📔 Objective

Move the "incorrect password" error from a toast to an inline error.

📸 Screenshots

Screenshot 2024-10-07 at 2 55 41 PM

Screenshot 2024-10-07 at 2 55 15 PM

⏰ 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 Oct 7, 2024

Logo
Checkmarx One – Scan Summary & Detailsd88f8bd6-5278-442d-b4b3-3d2ad02e76d1

New Issues

Severity Issue Source File / Package Checkmarx Insight
MEDIUM Client_Privacy_Violation /apps/browser/src/vault/popup/components/vault/add-edit.component.ts: 68 Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 781 Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 781 Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 780 Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 839 Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 900 Attack Vector

Fixed Issues

Severity Issue Source File / Package
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 809
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 909
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 820
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 780
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 833
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 68
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 90
MEDIUM Client_Privacy_Violation /libs/tools/generator/components/src/username-generator.component.html: 3
MEDIUM Unpinned Actions Full Length Commit SHA /release-cli.yml: 59
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 515
MEDIUM Unpinned Actions Full Length Commit SHA /build-web.yml: 342
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 891
MEDIUM Unpinned Actions Full Length Commit SHA /deploy-web.yml: 191
MEDIUM Unpinned Actions Full Length Commit SHA /release-desktop-beta.yml: 668
MEDIUM Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 196
MEDIUM Unpinned Actions Full Length Commit SHA /release-browser.yml: 96
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 359
MEDIUM Unpinned Actions Full Length Commit SHA /publish-cli.yml: 181
MEDIUM Unpinned Actions Full Length Commit SHA /build-web.yml: 191
MEDIUM Unpinned Actions Full Length Commit SHA /release-desktop.yml: 71
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 247
MEDIUM Unpinned Actions Full Length Commit SHA /version-auto-bump.yml: 21
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 180
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 507
MEDIUM Unpinned Actions Full Length Commit SHA /release-desktop.yml: 94
MEDIUM Unpinned Actions Full Length Commit SHA /publish-cli.yml: 141
MEDIUM Unpinned Actions Full Length Commit SHA /publish-web.yml: 44
MEDIUM Unpinned Actions Full Length Commit SHA /release-browser.yml: 44
MEDIUM Unpinned Actions Full Length Commit SHA /release-cli.yml: 44
MEDIUM Unpinned Actions Full Length Commit SHA /build-cli.yml: 405
MEDIUM Unpinned Actions Full Length Commit SHA /release-desktop.yml: 44
MEDIUM Unpinned Actions Full Length Commit SHA /deploy-web.yml: 222
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 48
MEDIUM Unpinned Actions Full Length Commit SHA /release-desktop-beta.yml: 51
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 288
MEDIUM Unpinned Actions Full Length Commit SHA /build-browser.yml: 367
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 194
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 499
MEDIUM Unpinned Actions Full Length Commit SHA /brew-bump-desktop.yml: 26
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 187
MEDIUM Unpinned Actions Full Length Commit SHA /staged-rollout-desktop.yml: 29
MEDIUM Unpinned Actions Full Length Commit SHA /build-browser.yml: 408
MEDIUM Unpinned Actions Full Length Commit SHA /deploy-web.yml: 270
MEDIUM Unpinned Actions Full Length Commit SHA /release-web.yml: 57
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1293
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 162
MEDIUM Unpinned Actions Full Length Commit SHA /build-web.yml: 297
MEDIUM Unpinned Actions Full Length Commit SHA /release-desktop-beta.yml: 248
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1339
MEDIUM Unpinned Actions Full Length Commit SHA /crowdin-pull.yml: 41
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 82
MEDIUM Unpinned Actions Full Length Commit SHA /publish-cli.yml: 104
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 297
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 201
MEDIUM Unpinned Actions Full Length Commit SHA /build-web.yml: 267
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 523
MEDIUM Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 122
MEDIUM Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 245
MEDIUM Unpinned Actions Full Length Commit SHA /release-web.yml: 41
MEDIUM Unpinned Actions Full Length Commit SHA /retrieve-current-desktop-rollout.yml: 23
MEDIUM Unpinned Actions Full Length Commit SHA /crowdin-pull.yml: 35

Copy link

codecov bot commented Oct 11, 2024

Codecov Report

Attention: Patch coverage is 20.44146% with 829 lines in your changes missing coverage. Please review.

Project coverage is 33.07%. Comparing base (bdf91e2) to head (a2fa009).
Report is 198 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
libs/auth/src/angular/login/login.component.ts 0.00% 246 Missing ⚠️
...n/src/platform/services/sdk/default-sdk.service.ts 0.00% 49 Missing ⚠️
...pps/web/src/app/vault/org-vault/vault.component.ts 0.00% 46 Missing ⚠️
...c/angular/login/default-login-component.service.ts 0.00% 25 Missing ⚠️
...latform/services/sdk/browser-sdk-client-factory.ts 0.00% 24 Missing ⚠️
...ons/members/components/reset-password.component.ts 0.00% 23 Missing ⚠️
...cess-intelligence/access-intelligence.component.ts 0.00% 21 Missing ⚠️
.../src/auth/login/desktop-login-component.service.ts 42.42% 13 Missing and 6 partials ⚠️
apps/web/src/app/app.component.ts 0.00% 15 Missing ⚠️
apps/browser/src/background/main.background.ts 0.00% 14 Missing ⚠️
... and 96 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11443      +/-   ##
==========================================
- Coverage   33.29%   33.07%   -0.22%     
==========================================
  Files        2731     2790      +59     
  Lines       85549    86634    +1085     
  Branches    16318    16520     +202     
==========================================
+ Hits        28480    28658     +178     
- Misses      54811    55692     +881     
- Partials     2258     2284      +26     

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

@alec-livefront alec-livefront deleted the auth/pm-3301/move-incorrect-username-or-password-error-inline branch October 28, 2024 03:30
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