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

Improve styling of password advice #607

Closed
ryanfeeley opened this issue Aug 13, 2018 · 41 comments · Fixed by #3724
Closed

Improve styling of password advice #607

ryanfeeley opened this issue Aug 13, 2018 · 41 comments · Fixed by #3724

Comments

@ryanfeeley
Copy link
Contributor

ryanfeeley commented Aug 13, 2018

I started my own PR here, but didn’t find an elegant way to fix this, and didn't want to just hack it in. The password advice list items should only be 300 font weight, with 21px margin below the first section (as opposed to 7px). Reads more easily, don't you think @shane-tomlinson ?

Current

screen shot 2018-08-13 at 1 46 34 pm

Proposed

screen shot 2018-08-13 at 1 47 47 pm

┆Issue is synchronized with this Jira Task
┆Issue Number: FXA-743

@ryanfeeley
Copy link
Contributor Author

Note that this extra margin should only apply on desktop (the sideview), not on the mobile view.

@ryanfeeley
Copy link
Contributor Author

@shane-tomlinson Seeing how this disappears so abruptly on blur makes me think this design could be improved. Any opinions?

@shane-tomlinson
Copy link
Contributor

Seeing how this disappears so abruptly on blur makes me think this design could be improved. Any opinions?

Can you post a screencap? The password balloon should only go away if the password doesn't match one of the criterion. Once the password becomes valid, the balloon goes away after I think it's 1.5 seconds.

balloon-stays

shane-tomlinson referenced this issue in mozilla/fxa-content-server Aug 16, 2018
Use a font weight of 300, add a 21px margin between the list items
and the first "lock" item.

fixes #6448
shane-tomlinson referenced this issue in mozilla/fxa-content-server Aug 16, 2018
Use a font weight of 300, add a 21px margin between the list items
and the first "lock" item.

fixes #6448
@ryanfeeley
Copy link
Contributor Author

@shane-tomlinson Did extra padding get added above the top line?
image

@ryanfeeley
Copy link
Contributor Author

@shane-tomlinson I just worry that user will not get a chance to read the 🔒 bullet points as they'll be satisfying the others. What's the URL again? Perhaps I can run this through user testing.

Oh, also are we measuring password strength again? Did you dust off the bloom filter? Would be cool to see if password complexity improved meaningfully.

@shane-tomlinson
Copy link
Contributor

@shane-tomlinson Did extra padding get added above the top line?

That screen cap was taken prematurely, here's a better one:

screen shot 2018-08-16 at 16 08 59

What's the URL again? Perhaps I can run this through user testing.

https://accounts.firefox.com?service=sync&action=email, then use a mozilla.com email

Oh, also are we measuring password strength again? Did you dust off the bloom filter? Would be cool to see if password complexity improved meaningfully.

We are not measuring password strength, logging password strength would enable attackers who have access to our logs to know which accounts would be the easiest to brute force.

@ryanfeeley
Copy link
Contributor Author

@shane-tomlinson How's this? Remove the headline, and put the first 🔒 icon at the top.
screen-shot-2018-01-26-at-4_0000_empty
As items become checked, keep them on the screen. Don't hide them or collapse balloon when password field (on desktop) is focused. Hide it on mobile. Enable the Repeat password field.
Then show this on the repeat screen, and hide it (both desktop and mobile) when the passwords match.
screen-shot-2018-01-26-at-4_0002_repeat-password

@davismtl
Copy link
Contributor

@ryanfeeley
This look good. You mentioned putting a button in the second bubble for aknowledgement. What made you remove it?

You had also proposed to make the "Repeat" field un-editable until the first password met requirements. Did you still want to do that too?

Lastly, do we believe that this copy is relevant for people registering on AMO or Discourse? Should we call out "Sync data"?

@ryanfeeley
Copy link
Contributor Author

This look good. You mentioned putting a button in the second bubble for
aknowledgement. What made you remove it?

We realized that it can automatically go away when both passwords match. Seemed like a better design than requiring an extra step.

You had also proposed to make the "Repeat" field un-editable until the
first password met requirements. Did you still want to do that too?

Yes, my instructions above mention "enabling" the repeat password field, I should have called out that it was disabled to begin with. I forget if we have a disabled field style. Do we @shane-tomlinson ?

Lastly, do we believe that this copy is relevant for people registering on AMO or
Discourse? Should we call out "Sync data"?

It also includes local Lockbox data… maybe I can rewrite more generically following @MeridelW’s copy here: mozilla/fxa-content-server#6213 (comment)

@ryanfeeley
Copy link
Contributor Author

ryanfeeley commented Aug 20, 2018

@shane-tomlinson Great news, Michelle is in town and we had a minute to go over a new design with much more concise copy! Here it is!

screen shot 2018-08-20 at 4 24 05 pm

And then the original second 🔒 point

screen shot 2018-08-16 at 12 59 18 pm

@ryanfeeley
Copy link
Contributor Author

@shane-tomlinson Tiny detail. The ' in don’t should be a curly apostrophe.

@ryanfeeley
Copy link
Contributor Author

ryanfeeley commented Aug 23, 2018

Remember this password — it encrypts your data! If forgotten you will lose access to Sync data.

@vladikoff
Copy link
Contributor

@shane-tomlinson @ryanfeeley what remains to be done for this bug?

@shane-tomlinson
Copy link
Contributor

what remains to be done for this bug?

all of the suggestions from here down.

@vladikoff
Copy link
Contributor

from mtg: @shane-tomlinson should we move this to train-127?

@ryanfeeley
Copy link
Contributor Author

@vladikoff
Copy link
Contributor

Thanks @ryanfeeley for the link!

@shane-tomlinson
Copy link
Contributor

from mtg: @shane-tomlinson should we move this to train-127?

Really, this is blocked until #6572 and #6573 are fixed. 127 might be too ambitious with other things going on. Putting into blocked.

@vladikoff
Copy link
Contributor

from mtg: still blocked on change password

1 similar comment
@vladikoff
Copy link
Contributor

from mtg: still blocked on change password

@ryanfeeley
Copy link
Contributor Author

@shane-tomlinson Can we at least have the updated copy reflected inside the first bubble? A much better use of space, especially on the cramped change password section.

Current:
image

Proposed:
image

@davismtl
Copy link
Contributor

This is a carryover from past quarters. We know it leads to less password resets which is a good thing.

Seems to me that updating both bubbles is low hanging fruit.

@shane-tomlinson
Copy link
Contributor

Seems to me that updating both bubbles is low hanging fruit.

We can update the first bubble, but we don't yet have the 2nd bubble. Now that all of signup/change_password/reset_password all have the password strength advice, we should be able to add the 2nd bubble with relatively minimal fuss.

As an interim step, we could pretty easily update the first bubble to @ryanfeeley's proposal and add the 2nd bubble as a 2nd step.

@davismtl
Copy link
Contributor

My concern with not doing them both at the same time is that we would be removing any mention of why it's important to remember the password.

There would no longer be a mention that a password reset has the potential of losing data.

@shane-tomlinson shane-tomlinson removed their assignment Jan 31, 2019
@lmorchard
Copy link
Contributor

Starting to take a look at this issue as a baby step into FxA. Something I noticed that seems confusing - possibly because I don't have all the UX context yet:

With "email-first" sign-up flow (/signup?action=email)
capture

Sign-up flow without email-first (/signup)
capture2

Should both of these flows use the same bubble - and thus both updated as requested here?

@ryanfeeley
Copy link
Contributor Author

Hi @lmorchard I think it's only an issue of the engineering being incomplete. Feel free to finish it!

In fact, both of those are deprecated. The latest last updated mid-December is here: https://mozilla.invisionapp.com/share/5UM3J3TXWMR#/316338169_Artboard

@shane-tomlinson
Copy link
Contributor

Note, any implementation will need to take mobile into account where the vpassword bubble will display above or below the vpassword field, ensuring we do not obscure the submit button.

@ryanfeeley
Copy link
Contributor Author

As designed, the message on the password field disappears when the requirements are met, and the message on the repeat password field disappears once the passwords match. https://mozilla.invisionapp.com/share/5UM3J3TXWMR#/316338169_Artboard

@shane-tomlinson
Copy link
Contributor

@dannycoates - Can this be closed with the merge of #2404?

@LZoog
Copy link
Contributor

LZoog commented Oct 4, 2019

@ryanfeeley

With Danny's PR mentioned above, will you comment back here with any remaining changes? This issue is quite old and seeing as we've standardized Trailhead styles/flow, I'm not sure any work remains here.

@ryanfeeley
Copy link
Contributor Author

@LZoog the desired design is here https://mozilla.invisionapp.com/share/5UM3J3TXWMR#/screens/316338169_Artboard

Would love your eyes on making this this is durable (can survive switching between fields).

@LZoog
Copy link
Contributor

LZoog commented Oct 7, 2019

@ryanfeeley it looks like all we lack here is updated copy + the key image for the "repeat password" popup in desktop, and then to make the "repeat password" popup occur in mobile.

But I'll need you to elaborate on making the pop up persist between switching fields - we hide the first password input popup after all of the stipulations are met, and then hide the "repeat password" pop up after the user places focus on something else...

signup

Which one are you suggesting should stay when switching fields?

@davismtl
Copy link
Contributor

Related?
#3192

@ryanfeeley
Copy link
Contributor Author

@LZoog Thinking out loud (in the worst possible place) … Simply because the user has satisfied the minimum requirements, it doesn't mean they are done creating their password.

Once the requirements are met, we could do a few things:

A1. Disappear the first bubble as we do today
A2. Keep the bubble until blur (this might be the least jarring thing we can do while they are typing)
A3. Disappear the first bubble and appear the second bubble (most jarring)

In terms of the Repeat password field, we could:

B1. Keep it enable always like today
B2. Keep it disabled and/or hidden until the first field has met minimum requirement (I'm leaning towards this).

The tricky part is that removing characters from the first field could prevent the user from meeting the minimum requirements, so that has to work as well.

@LZoog How do you feel about A2 +B2?

@davismtl
Copy link
Contributor

davismtl commented Nov 6, 2019

B2. Keep it disabled and/or hidden until the first field has met minimum requirement (I'm leaning towards this).

We are certainly considering that
#3051

@LZoog
Copy link
Contributor

LZoog commented Nov 7, 2019

@ryanfeeley I like A2 as well. It looks like @shane-tomlinson grabbed #3051, I'll make a comment over there regarding B2.

@ryanfeeley
Copy link
Contributor Author

@LZoog Realizing that keeping the bubble until blur on mobile is a bad idea, because it prevents you from blurring. I'm not averse to treating mobile differently.

@ryanfeeley
Copy link
Contributor Author

@LZoog Note from meeting to return focus to last focused password field after 👁 is toggled on.

@LZoog
Copy link
Contributor

LZoog commented Nov 13, 2019

Sounds like the fix for this issue should include:

  1. Update copy + key image for “repeat password" taken care of in fix(pw-strength): Update the text of the vpassword bubble, add icon #3235
  2. Make “repeat password” popup occur in mobile (blocked by (sign-up) Repeat password balloon no longer shows #3489)
  3. Persist first password tooltip until onblur
  4. Return focus to last focused password field after 👁 is toggled on

@LZoog LZoog assigned LZoog and unassigned lmorchard Nov 19, 2019
@LZoog LZoog added this to the Train 153: FxA milestone Dec 9, 2019
LZoog pushed a commit that referenced this issue Dec 20, 2019
feat(content-server): Improve password advice functionality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants