-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Feature Suggestion: show password toggle on password fields #2734
Comments
Holding until #1517 is closed then I'll start a review. |
Was about to suggest this feature and found an open issue for it 😃 cc'ing @mallenexpensify since the PR you mentioned is closed now. |
Ahh yes. I forgot this one was open :)
Thank you Rafael
|
@anthony-hull can you provide more detail on what you're recommending, and possibly include a screenshot or vid? Any chance this has been discussed in Slack, #expensify-open-source yet? If so, can you drop in a link? Thanks |
Yes we had a discussion on slack |
I think it's best to show the password by default on mobile devices. You can trivially move your screen in a way to obscure the password as you type. Additionally as you type there is a large on screen keyboard that people can watch you enter it on. I'm not sure there is much of a security gain from it vs the loss of UX. On desktop, mask passwords by default, but add a “Show” option so that people can remember the password and check their work. Ironically now I think of it, I just added the confirm password field in the set password form. If you allow the user to check their work or show by default you can remove the need for repetition. We could have just one entry box and make it easier. I think behaviour of showing and hiding that mailchip implemented is a nice way to go: Or how Edge does it with the icon inside the input: We could hide the password again when the box loses focus. |
Thanks @anthony-hull , I'm double checking to make sure this isn't something that's already being worked on internally. I'll followup tomorrow |
Thanks for holding, nobody mentioned this is something that's currently be worked on. I agree this is feature that would be useful. First, can you take a peek at this issue to see if any work being done there would help on mobile for this issue? #3108 (I have no idea, just searched 'show password' in the repo to ensure something wasn't already being worked on). Then, can you submit a proposal for how you want to implement this and I'll assign an engineer to review? |
It would make sense to use the new input component in that issue. I'm happy to hold until it's merged. Implement the show/hide icon as a background image svg with onClick handlers to change the visibility of the text input. |
Triggered auto assignment to @deetergp ( |
Triggered auto assignment to @puneetlath ( |
I used @puneetlath , I unassigned myself then added |
The feature @anthony-hull proposes sounds good, but we're going to need a more detailed description about how he is going to do it before moving forward. |
The exact UX isn't agreed. The following props are set for TextInputs are used for passwords:
When
|
Your proposal makes sense and sounds good, @anthony-hull. Thanks! @puneetlath I am unsure of the next step, since this has not been posted on Upwork. |
Created the Upwork job and invited @anthony-hull to it: https://www.upwork.com/jobs/~01f52f49fe3707fca2 |
@Expensify/design anyone able to help with icons for this? |
There's some discussion going on in the draft PR, but this is continuing to move forward. |
Hi @anthony-hull. Just checking in again to see how this is going 😄. |
Yeah sorry I'm on holiday until Monday :)
I have the code ready just still need to test on Android and Desktop
|
Heya, @anthony-hull, have you made any progress with this issue? |
Yes I'm waiting for a PR review. |
Do we think that this should also be on hold due to |
Yes, I think we should hold merging it until n6 is released. We can still approve it, but I think we should hold merging. And we'll provide @anthony-hull with the bonus as compensation for the delay. |
Please refer to this post for updated information on the |
This issue has not been updated in over 15 days. @deetergp, @puneetlath, @anthony-hull eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Keep your shirt on, Melvin — it's still a weekly. |
I will be reviewing the PR and I will let you know @puneetlath when this is ready for final review and possibly for merge. See More |
This issue has not been updated in over 15 days. @deetergp, @puneetlath, @anthony-hull eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@anthony-hull @johnmlee101 how's this one going? |
Sorry notification got missed by me. PR is ready hopefully for final review. Just need to test on all platforms again |
Paid with n6 bonus. Thanks! |
View password feature on password fields
Motivation
Improve accessibility for users.
Implementation
I think it would be good to replicate the UX of Edge browser where when you type it shows an icon button inside the field to toggle show password.
You should also be able to tab to the icon on desktop to maintain keyboard nav.
Edge cases:
Hiding native view password icon in Edge
Password managers tamper with the DOM in this location
Upwork job: https://www.upwork.com/jobs/~01f52f49fe3707fca2
The text was updated successfully, but these errors were encountered: