-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Anthony toggle show password #4746
Anthony toggle show password #4746
Conversation
convert inline styles to utilities
convert inline styles to utilities
…ord' into anthony--toggle-show-password
I have yet to upload all the proof of testing as I have an outstanding implementation question in the PR |
Where is the question? |
@anthony-hull your review is still |
@johnmlee101 can you see my review now? |
Yes! |
I just have to fix what broke in the merge |
I noticed that in the Edge browser Eye icon is already shown to reveal the password. Are you going to disable that? Otherwise, two icons will be shown. IMO, You should create a wrapper component around ExpensiInput for password input. This eye is only going to be used for Password inputs thus this code is useless 90% of the time for ExpensiInput usages. |
I was thinking if we increase the space around the icon horizontally then it will look better. But I tagged you to ask about this #4746 (comment) @shawnborton |
Ah, got it. I like the mockups where there is more space between the 1Pass icon and the eye. Maybe we can just use 8px gap between those two icons and see how it looks? |
Let's go with the top version. |
Just need to test on all platforms but something has come up this evening. I'll be able to carry on tomorrow |
Is this ready for review? |
It works on Web, Mobile Web and Desktop. I can't test on the native apps at the moment as they crash due to another issue. |
The crash is fixed now. You can pull new changes and test. |
oh man tired of fixing breaking changes from merges 😆 |
@parasharrajat testing complete, please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just an overflow issue again and a few tweaks. I think that the current implementation could be improved by using an absolute positioned icon over the input. But as this is working fine, I won't ask you to do that unless you are willing to do that change.
If it were absolute, wouldn't any password manager icons render underneath it? as the input element would fill the space due to the icon being out of flow? |
Good point. Then we are good. |
Hey, @anthony-hull I forgot to mention earlier that you have to sign all of your commits before we can merge the PR. |
@anthony-hull Any update on the requested changes. Let's complete this asap. Let me know if you are facing any challenges. |
I've fixed the overflowing input. I'll sign the commits, re-implement the negative margin and then re-test. should be ready soon! |
d0a9d4f
to
68c45fd
Compare
68c45fd
to
cfad816
Compare
do I have to have all of them to show as verified? I ran a rebase command to sign them all and I was having fix merge issues on all my changes again. git was not happy. it was a nightmare so I aborted.
|
Unfortunately Yes. |
much easier to make a new PR with a new branch :) |
@anthony-hull Please close this PR. Thanks. |
Details
Added a toggle button icon to password fields to change visibility
Fixed Issues
#2734
QA Steps
Web and Desktop:
Android and iOS
Tested On
Screenshots
setpassword screen web:
https://user-images.githubusercontent.com/47184118/129957727-cff28fb8-f9f5-4d6c-9d69-cd469e2e74e7.mp4
Edge
note the lack of vendor specific show password functionality
Mobile Web
Desktop
Screen.Recording.2021-09-15.at.18.57.37.mov
iOS
Android