Problem/Motivation

Within #2247049: Redesign password strength indicator so it's less fragile the password field widths were made smaller and testing of all the password strength states was missed.
The password field strength texts print on one line apart from Strong where the "Strong" drops down onto a second line.

Proposed resolution

CSS fix to make the strength text field layouts consistent.

Remaining tasks

Write a patch.
Test patch.
Post patch with screenshots.
Review patch with screenshots and feedback.

User interface changes

Gives the password strength text consistent layout.

API changes

n/a

Comments

ByronNorris’s picture

Updated user.module.css and the password strength text no longer flows to new line (2318679-1-password-strength.patch and example PNG). Tested in Chrome 36, Firefox 30, and Safari 8 on all viewport modes (adjusting the width to verify each responsive layout displays without error). I also noticed the progress bar css triggered between (max-width: 1010px) and (min-width: 48em) shifts the progress bar to 100%. I've included another patch which fixes the original issue and the progress bar issue in the seven theme (2318679-1-password-strength-progress-bar-fix.patch and PNG).

I figured since it was in close proximity it could be included, but let me know if you'd rather I break that out into a separate issue.

emma.maria’s picture

Hi @Bluegriff Would you be able to take the width fix part of the patch and put it in this issue #2227121: The "Default country" dropdown element overflows the installer container at certain widths. where it has already been raised and will be more relevant?

Thanks for working on this you are ace :)

ByronNorris’s picture

Hi @emma.maria will do. Glad to help!

emma.maria’s picture

StatusFileSize
new34.53 KB

Screenshot of before and after applied patch.

In #2247049: Redesign password strength indicator so it's less fragile the password field widths were made smaller and testing of all the password strength states was missed. I couldn't find any reasoning to why this width was picked so I'm happy for this fix to be a small increase in the width.

emma.maria’s picture

Issue summary: View changes
emma.maria’s picture

Status: Needs review » Reviewed & tested by the community

RTBC -> 2318679-1-password-strength.patch

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 1: 2318679-1-password-strength-progress-bar-fix.patch, failed testing.

emma.maria’s picture

emma.maria’s picture

Status: Needs work » Reviewed & tested by the community

Setting this back to RTBC, the patch that we don't want commited failed.

Patch to be considered is ...
2318679-1-password-strength.patch

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 36dd5af and pushed to 8.0.x. Thanks!

  • alexpott committed 36dd5af on 8.0.x
    Issue #2318679 by bluegriff | emma.maria: Fixed "Password strength:...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.