plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Interchange font icons in password visibility

Open divyabaid16 opened this issue 7 years ago • 6 comments

Description It is a small bug. In the password visibility, the font-awesome icons must be interchanged. I.e fa-eye must be shown when the text fields are visible. Selection_140

divyabaid16 avatar Apr 15 '19 09:04 divyabaid16

Hi @divyabaid16, Here are my thoughts for this. So my understanding the font-awesome "eye" is working as logic-like and not showing current state...say if you are not showing the password you have the "eye icon" button(option) which translates to show password. If you are showing the password have the "crossed eye icon"(option) which translates to "hide password". What do you think? Thanks

cesswairimu avatar Apr 17 '19 22:04 cesswairimu

Hey @cesswairimu !! Good to hear from you :smile: Let me give the example of Gmail here, Selection_143

When the "eye" is open, the password is visible. To ease the process we can also add the tooltip that when "open eye" is shown, we can write hide password so that upon clicking that, the password is hidden. It is very much similar to Gmail. Peek 2019-04-18 10-54

divyabaid16 avatar Apr 18 '19 05:04 divyabaid16

Hi @divyabaid16 As I said here earlier https://github.com/publiclab/plots2/pull/5481#issuecomment-483187988

Google has a single login i.e gmail, drive, docs etc all have a same login page. This methodology is only followed by Google and as per design choice the general convention can be the current one which is implemented. We here have a choice to either follow Google or the general convention (implemented as of now) which is also followed by the other websites over the internet. For reference, here is a blog post which is a tutorial for implementing the eye icon based password visibility. http://www.css-jquery-design.com/2017/12/toggle-visibility-password-field-eye-icon/

I guess its good for public lab to have its own and a generic design rather than just following a single organisation implementing it differently as per the approval of the mentors. What do you think about this ? This is one of my opinion but it would be better to hear views from @publiclab/plots2-reviewers

CleverFool77 avatar Apr 18 '19 10:04 CleverFool77

I think we can just add tooltip to the icon and we would be good? Thanks!

grvsachdeva avatar Apr 23 '19 10:04 grvsachdeva

Hey @gauravano @divyabaid16 @IshaGupta18 Is this issue still open?

vaibhavmathur13 avatar Oct 30 '19 18:10 vaibhavmathur13

Duplicate of #7177. The issue has been resolved. Thanks, everyone for working on this.

VladimirMikulic avatar Jan 30 '20 19:01 VladimirMikulic