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

Make the current password field also submittable via Enter #6904

Merged
merged 2 commits into from
Dec 30, 2021

Conversation

mountiny
Copy link
Contributor

@mountiny mountiny commented Dec 26, 2021

Details

A very small UI change which makes the Current password field actionable via Enter.

On the form to change password, this change would enable user to submit the form using Enter key also when the Current password field would be focused. This is for scenario, when user enters both, current and new password, but realizes they entered the current password wrong, then they can submit the form while focusing the current password too.

If the New password is not filled in, validation does not pass.

Fixed Issues

$ #6823

Tests

  • Go to the Change password page
  • Type in your Current password
  • Type in your New Password
  • Focus back to the Current password field and hit enter.
  • Make sure the form has been submitted

QA Steps

  • Go to the Change password page
  • Type in your Current password
  • Type in your New Password
  • Focus back to the Current password field and hit enter.
  • Make sure the form has been submitted

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Mobile Web

Desktop

image

iOS

Android

@mountiny mountiny self-assigned this Dec 26, 2021
@mountiny mountiny requested a review from a team as a code owner December 26, 2021 20:18
@MelvinBot MelvinBot requested review from nickmurray47 and removed request for a team December 26, 2021 20:18
@mountiny
Copy link
Contributor Author

Sorry @nickmurray47, this should have been draft PR at this point.

@mountiny mountiny marked this pull request as draft December 26, 2021 20:20
@mountiny mountiny marked this pull request as ready for review December 30, 2021 20:37
@mountiny mountiny changed the title [WIP] Make the current password field also submittable via Enter Make the current password field also submittable via Enter Dec 30, 2021
@mountiny
Copy link
Contributor Author

@nickmurray47 This is ready for a review. It is a simple change and it is same as on the other password field in the form: https://github.com/Expensify/App/pull/6904/files#diff-b4474bebdf5744f78c9eded74e6bd3e4d2723040f750e573f4ef4bddfe00481bL189. I have tested it the other day, but unfortunately I did not make screenshots or video, but I believe this is such a simple change it is not required.

Copy link
Contributor

@nickmurray47 nickmurray47 left a comment

Choose a reason for hiding this comment

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

👍

@nickmurray47 nickmurray47 merged commit 98d50cb into main Dec 30, 2021
@nickmurray47 nickmurray47 deleted the vit-enterOnCurrentPassword branch December 30, 2021 21:57
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

OSBotify commented Jan 4, 2022

🚀 Deployed to staging by @nickmurray47 in version: 1.1.24-19 🚀

platform result
🤖 android 🤖 failure ❌
🖥 desktop 🖥 failure ❌
🍎 iOS 🍎 failure ❌
🕸 web 🕸 failure ❌

@OSBotify
Copy link
Contributor

OSBotify commented Jan 4, 2022

🚀 Deployed to production by @francoisl in version: 1.1.24-19 🚀

platform result
🤖 android 🤖 failure ❌
🖥 desktop 🖥 failure ❌
🍎 iOS 🍎 failure ❌
🕸 web 🕸 failure ❌

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