-
Notifications
You must be signed in to change notification settings - Fork 5
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
Allow Email login #412
Allow Email login #412
Conversation
Visit the preview URL for this PR (updated for commit 92bbe5e): https://roar-staging--pr412-enh-email-login-nmgpg136.web.app (expires Fri, 15 Mar 2024 23:10:57 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 2631e9c58fd0104ecbfddd72a62245ddac467460 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review and testing of the PR preview link look good! Could I ask you to add or modify copies tests as well? I realize that the cypress test user will not be able to log in with email link. But maybe we could just write a test that toggles the password box and verifies that it is enabled/disabled.
2 failed tests on run #465 ↗︎
Details:
cypress/e2e/participant/default-tests/playSWR.cy.js • 1 failed test
cypress/e2e/partner-admin/default-tests/viewIndividualReport.cy.js • 1 failed test
Review all test suite changes for PR #412 ↗︎ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good! I was testing on staging and noticed that this error prevented me from authing with email, but pulling down the changes and running the login flow on localhost worked.
I had a small design suggestion: would it be possible to style the disabled password input box to look more like the disabled example in the Primevue docs? The current disabled input box works well in dissuading users from trying to enter a password, but I feel that the visual hinting provided by the darkened input background might help users in quickly identifying what mode they are in (email/pw or email/link). What do you think?
Thanks for the review, Lucas. Yes, I agree with you. I can darken that background right now. |
This PR adds the ability to log in using a password for email users.