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

[HOLD for payment 2021-08-24] Desktop - Error message for password mismatch not dismissed #4665

Closed
isagoico opened this issue Aug 14, 2021 · 16 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production DeployBlockerCash This issue or pull request should block deployment Engineering Weekly KSv2

Comments

@isagoico
Copy link

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Issue is failing #4409 for destop

Action Performed:

  1. Launch the app and login
  2. Click Settings > Change password
  3. Enter different passwords for the newPassword field and confirmPassword field.
  4. Confirm error is shown
  5. Enter correct password in both field and click away from the text box so focus is lost

Expected Result:

Error should automatically go and the button should be enabled in case the passwords match

Actual Result:

Save button enabled and error message not disappear

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platform:

Where is this issue occurring?

  • Desktop App

Version Number: 1.0.85-6

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos:
On Web, the error message is dismissed and the PR is a pass.

Bug5193944_Recording__1009.mp4

image

Expensify/Expensify Issue URL:

View all open jobs on Upwork

@isagoico isagoico added DeployBlockerCash This issue or pull request should block deployment Engineering Daily KSv2 labels Aug 14, 2021
@MelvinBot
Copy link

Triggered auto assignment to @marcaaron (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@OSBotify
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@github-actions github-actions bot added the Hourly KSv2 label Aug 14, 2021
@parasharrajat
Copy link
Member

cc @mananjadhav .

@mananjadhav
Copy link
Collaborator

This PR #4607 has the fix for it. Waiting on this to get it merged.

@anthony-hull
Copy link
Contributor

in my PR I'm intending to remove the second password field because the user will be able to unhide their password, removing the purpose of password repetition.
#2734

@mananjadhav
Copy link
Collaborator

@anthony-hull I would still recommend keeping "Confirm Password" field. It ensures that the user has double checked the password by typing it twice.

With one field we can't guarantee that the user has clicked on visibility toggle to ensure he has typed it correctly. What do you think?

@anthony-hull
Copy link
Contributor

Very good point, I agree that they might not check. But in that case the user could just reset their password.

My proposed way you reduce the frustration of typing the password out twice for all users who follow the flow.
Keeping the two boxes you help only those who don't bother toggling AND make a mistake. And I think the chance of mistake is doubled when you have to type twice, further making it a frustrating journey as you might have got it right first time, but got it wrong the second time!

I'm also intending to have the password show by default on mobile devices as it's trivial to make sure someone doesn't see your screen when using a mobile. It's not like a desktop where it's on a big monitor for all to see. So many mobile users won't have the toggle issue.

There are trade offs for both options. I personally hate typing my password out twice.

I did a little research and:
https://web.dev/sign-in-form-best-practices/#no-double-inputs

@mananjadhav
Copy link
Collaborator

Good thought. Lets get more eyes to see what they think

@AndrewGable
Copy link
Contributor

Is this a duplicate of #4606 ?

@AndrewGable
Copy link
Contributor

@puneetlath, @shawnborton, and @deetergp - What are your on this comment? It does seem like there might be two parallel conversations and ideas for what the best UX will be for the change password field. I thought we'd just match expensify.com UX, but let's discuss so we aren't duplicating work.

@mananjadhav
Copy link
Collaborator

@AndrewGable I would say, one case was left out and merged in the same issue's PR #4607. If you can review then this will get resolved.

@puneetlath
Copy link
Contributor

I agree with @anthony-hull. I think the ability to show your password and not have to type it twice is the better UX.

@marcaaron
Copy link
Contributor

Not sure what there is left to triage here seems like @AndrewGable is on it. 🎉
Since this is a deploy blocker perhaps we should just fix this regression for now and discuss the ideal UX elsewhere?

@AndrewGable
Copy link
Contributor

Just wrapped discussing this up with @puneetlath - I think our suggestion is to fix the deploy blocker ASAP (merge #4607), then we can implement the proposed UX in #2734

@AndrewGable
Copy link
Contributor

@isagoico - Can you verify this is fixed by #4607 then close? Thanks!

@isagoico
Copy link
Author

Retested and it was a pass 💃 🎉

Recording.101.mp4

@botify botify added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Hourly KSv2 labels Aug 17, 2021
@botify botify changed the title Desktop - Error message for password mismatch not dismissed [HOLD for payment 2021-08-24] Desktop - Error message for password mismatch not dismissed Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production DeployBlockerCash This issue or pull request should block deployment Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

10 participants