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

Hide Password mismatch incase both the passwords are empty #4607

Merged

Conversation

mananjadhav
Copy link
Collaborator

@mananjadhav mananjadhav commented Aug 12, 2021

@alex-mechler Can you please help review this?

Details

Show Password mismatch error only if New Password is entered.

Regression from #4367

Fixed Issues

$ #4606
$ #4665

Tests

Apart from the test cases mentioned here #4409

  1. Tested by keeping New Password and Confirm Password blank onBlur.

QA Steps

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

change-password-val-web.mp4

Mobile Web

change-password-val-mweb.mp4

Desktop

change-password-val-desktop.mp4

iOS

change-password-val-ios.mp4

Android

change-password-val-android.mp4

@mananjadhav mananjadhav requested a review from a team as a code owner August 12, 2021 16:42
@MelvinBot MelvinBot requested review from AndrewGable and removed request for a team August 12, 2021 16:42
alex-mechler
alex-mechler previously approved these changes Aug 12, 2021
src/pages/settings/PasswordPage.js Outdated Show resolved Hide resolved
@parasharrajat
Copy link
Member

parasharrajat commented Aug 12, 2021

@mananjadhav You can use the Fixes keyword to close that issue. Fixes #4606

@mananjadhav
Copy link
Collaborator Author

@parasharrajat Okay. Is it that for fresh tasks/issues we don't use Fixes and for regression we do? I am told adding Fixes closes the issue when PR is merged.

@parasharrajat
Copy link
Member

parasharrajat commented Aug 12, 2021

No, it's not like that. It is just that there is nothing left to do with that issue after you have merged the fix. So it saves some time. Also, it will create a link between the issue and PR. So anyone can find what fixed it.

@mananjadhav
Copy link
Collaborator Author

Thanks for the tip.

@mananjadhav
Copy link
Collaborator Author

@AndrewGable Can you please review this and probably merge too? #4665 is blocked by this.

@AndrewGable
Copy link
Contributor

Trying to untangle the duplicates before merging this.

@github-actions
Copy link
Contributor

⚠️ ⚠️ Heads up! This pull request has the CP Staging label. ⚠️ ⚠️
Merging it will cause it to be immediately deployed to staging, even if the open StagingDeployCash deploy checklist is locked.

@AndrewGable
Copy link
Contributor

CP-ing to resolve deploy blocker.

@AndrewGable AndrewGable merged commit 10a422a into Expensify:main Aug 16, 2021
github-actions bot pushed a commit that referenced this pull request Aug 16, 2021
…tion

Hide Password mismatch incase both the passwords are empty

(cherry picked from commit 10a422a)
@OSBotify
Copy link
Contributor

🚀 Cherry-picked to staging by @AndrewGable in version: 1.0.85-7 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@botify
Copy link

botify commented Aug 17, 2021

This has been deployed to production and is now subject to a 7-day regression period.
If no regressions arise, payment will be issued on 2021-08-24. 🎊

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @isagoico in version: 1.0.85-9 🚀

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

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @AndrewGable in version: 1.0.85-10 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@botify
Copy link

botify commented Aug 25, 2021

This has been deployed to production and is now subject to a 7-day regression period.
If no regressions arise, payment will be issued on 2021-09-01. 🎊

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @roryabraham in version: 1.0.86-11 🚀

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

@mananjadhav mananjadhav deleted the fix/password-confirm-validation branch August 25, 2021 18:13
@botify
Copy link

botify commented Aug 30, 2021

This has been deployed to production and is now subject to a 7-day regression period.
If no regressions arise, payment will be issued on 2021-09-06. 🎊

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.

6 participants