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

Add username/password fallback option for login #1214

Merged
merged 5 commits into from
Sep 13, 2024

Conversation

charliescheer
Copy link
Contributor

@charliescheer charliescheer commented Sep 11, 2024

Fix
We have received some feedback about the new login flow that some people thought we had dropped the login with password option. We have decided to add a button on the login with email page where users can choose to login with email and password instead. This surfaces this option for users who wants it and doesn't require receiving the login email to before you can enter your password. This also helps in circumstances where GAE might be down and login with email isn't possible.

Login Username/Password

Test

  1. Clean install Simplenote
  2. On the onboarding page, tap on Sign up. Make sure that you see the username field and the terms and conditions info
  3. Go back, tap on Log In.
  • confirm that you see the option We'll email you a code to log in, or you can log in manually
  • Tap on that and confirm you are shown a login page with username and password fields
  • confirm that you can login from that page if you enter both pieces of info

Smoke test the magic links flow and make sure it still looks as expected

Review

(Required) Add instructions for reviewers. For example:

Only one developer is required to review these changes, but anyone can perform the review.

Release

These changes do not require release notes.

@charliescheer charliescheer added the [feature] login Anything relating to login label Sep 11, 2024
@charliescheer charliescheer added this to the Future milestone Sep 11, 2024
@charliescheer charliescheer self-assigned this Sep 11, 2024
Copy link
Contributor

@jleandroperez jleandroperez left a comment

Choose a reason for hiding this comment

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

@charliescheer changes look great!!

Two minor notes:

Header

  1. Launch Simplenote
  2. Click on Log In
  3. Click on Log in manually

The UI displays Email + Password fields, but the header reads Enter the password for the account.

Perhaps in this flow we should display no header?

Preloading

  1. Launch Simplenote
  2. Click on Log In
  3. Enter your email
  4. Click on Log in manually

As a result, the email field will be empty. We should probably preserve whatever you've typed in (3).

@charliescheer
Copy link
Contributor Author

Fixed both. Thanks @jleandroperez

Copy link
Contributor

@jleandroperez jleandroperez left a comment

Choose a reason for hiding this comment

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

Looks great!!

Hope you don't mind, pushed a tiny fix to get tab working between the Username and Password fields.

Thank youuu!!

:shipit:

@charliescheer charliescheer merged commit 0e120d5 into trunk Sep 13, 2024
8 checks passed
@charliescheer charliescheer deleted the charlie/1213/magic-link-password-fallback branch September 13, 2024 03:34
@charliescheer
Copy link
Contributor Author

I don't mind. Thank you @jleandroperez

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[feature] login Anything relating to login
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add label under log in with email with option to sign in with password
2 participants