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

Login form UI redesign #39883

Merged
merged 5 commits into from
Apr 5, 2024
Merged

Login form UI redesign #39883

merged 5 commits into from
Apr 5, 2024

Conversation

bl-nero
Copy link
Contributor

@bl-nero bl-nero commented Mar 27, 2024

Please note: I used a new library in the test (react-select-event), and installing it apparently made Lint explode, pulled in a ton of spurious deps, and triggered a vulnerability check. I'll deal with it once I'm back from vacation next week, but the rest of the code is ready for review.

Closes #36234

Demo: https://www.loom.com/share/93edb868557246afba63d76c2469662c?sid=2e596480-4845-48c8-8869-98d673dd285a

Tested:

  • Passwordless (success and failure; primary and secondary)
  • Local form with passkey (success and failure; secondary)
  • Local form with WebAuthn MFA (secondary)
  • Local form with OTP (success and failure; primary, secondary)
  • SSO (GitHub, success and failure)

Changelog: Redesigned the login UI.

Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Failed Failed Vulnerabilities high 3   medium 1   low 0   info 0 View in Orca
☢️ The following Vulnerabilities (CVEs) have been detected
PACKAGE FILE CVE ID INSTALLED VERSION FIXED VERSION
critical minimist ./yarn.lock CVE-2021-44906 0.0.10 1.2.6, 0.2.4 View in code
high d3-color ./yarn.lock GHSA-36jr-mh4h-2g58 2.0.0 3.1.0 View in code
high trim ./yarn.lock CVE-2020-7753 0.0.1 0.0.3 View in code
high trim-newlines ./yarn.lock CVE-2021-33623 1.0.0 3.0.1, 4.0.1 View in code

@bl-nero bl-nero marked this pull request as ready for review March 27, 2024 17:57
@bl-nero
Copy link
Contributor Author

bl-nero commented Apr 2, 2024

Ok, looks like all that yarn.lock mess was just my local Yarn going crazy and installing stuff all over the place; it's OK now.

@bl-nero bl-nero requested a review from rudream April 4, 2024 14:48
@bl-nero bl-nero added this pull request to the merge queue Apr 5, 2024
@bl-nero
Copy link
Contributor Author

bl-nero commented Apr 5, 2024

Tested:

  • Passwordless (success and failure; primary, secondary, enterprise)
  • Local form with passkey (success and failure; primary, secondary, enterprise)
  • Local form with WebAuthn MFA (success and failure; primary, secondary, enterprise)
  • Local form with OTP (success and failure; secondary)
  • Local form without MFA (success and failure; secondary)
  • SSO (GitHub, success and failure, enterprise)

Merged via the queue into master with commit a70e3ee Apr 5, 2024
35 checks passed
@bl-nero bl-nero deleted the bl-nero/login-dialog branch April 5, 2024 16:38
@public-teleport-github-review-bot

@bl-nero See the table below for backport results.

Branch Result
branch/v15 Create PR

Comment on lines +3490 to 3505
"@testing-library/dom@>=7":
version "9.3.4"
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-9.3.4.tgz#50696ec28376926fec0a1bf87d9dbac5e27f60ce"
integrity sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ==
dependencies:
"@babel/code-frame" "^7.10.4"
"@babel/runtime" "^7.12.5"
"@types/aria-query" "^5.0.1"
aria-query "5.1.3"
chalk "^4.1.0"
dom-accessibility-api "^0.5.9"
lz-string "^1.5.0"
pretty-format "^27.0.2"

"@testing-library/dom@^9.0.0":
version "9.3.3"
Copy link
Member

Choose a reason for hiding this comment

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

This results in the wrong @testing-library/dom being resolved by yarn which then causes a ton of act warnings in tests, see #33356 and a slack thread from the previous time this has happened.

I'll post a PR which fixes that soon.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ravicious Thanks, I wasn't aware of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New login flow
4 participants