NPM Resource Changed ? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
31 Jan 2020

Pull Request for Issue #24312.

Summary of Changes

Corrects password toggler markup and styling to have a visible focus outline.
Converts to FA icons, adds fa-fw class to keep same width when toggling.

Testing Instructions

Run node build.js --compile-js.
Go to a form with password field.
Inspect styling.
Click on toggle button a few times.
Check that the icon and the screenreader text changes correctly.

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 31 Jan 2020
avatar SharkyKZ SharkyKZ - change - 31 Jan 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jan 2020
Category Modules Administration JavaScript Repository NPM Change Layout Front End
avatar SharkyKZ SharkyKZ - change - 31 Jan 2020
Labels Added: NPM Resource Changed ?
avatar SharkyKZ SharkyKZ - change - 31 Jan 2020
The description was changed
avatar SharkyKZ SharkyKZ - edited - 31 Jan 2020
avatar brianteeman
brianteeman - comment - 31 Jan 2020

it was pointed out to me before that the code should not be dependant on using fontawesome especially for the frontend

avatar Quy
Quy - comment - 31 Jan 2020

See #22680

avatar brianteeman
brianteeman - comment - 31 Jan 2020

The width issue is resolved by this

BUT (sorry there is always a but)

The hover/active (?) colour is now different - almost black

before

before

after

after

avatar SharkyKZ
SharkyKZ - comment - 1 Feb 2020

That's just how btn-secondary is styled in Atum. There's still the width issue, icon is clearly off-center.

avatar brianteeman
brianteeman - comment - 1 Feb 2020

So why did you change it to that button. It's not consistent with similar functions

avatar SharkyKZ
SharkyKZ - comment - 1 Feb 2020

To use them same class everywhere.

avatar brianteeman
brianteeman - comment - 1 Feb 2020

My apologies - we are actually using a mix already :(

image

The first is btn-primary and the second btn-secondary

avatar joomla-cms-bot joomla-cms-bot - change - 4 Feb 2020
Category Modules Administration JavaScript Repository NPM Change Layout Front End Administration com_postinstall Modules Templates (admin) JavaScript Repository NPM Change Layout Front End
avatar brianteeman
brianteeman - comment - 4 Feb 2020

Was it intentional to change the styling on the front end login module?

Before

image

After

image

avatar SharkyKZ
SharkyKZ - comment - 4 Feb 2020

Yes, the button is now styled like a button.

avatar brianteeman brianteeman - test_item - 4 Feb 2020 - Tested successfully
avatar brianteeman
brianteeman - comment - 4 Feb 2020

I have tested this item successfully on 2e10620


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27733.

avatar Quy
Quy - comment - 4 Feb 2020

Eye is not centered so there is a slight shift when toggling between icons.

eye

password

avatar SharkyKZ
SharkyKZ - comment - 4 Feb 2020

@Quy similar issue before patch, except whole button changes width. Related issue #24853.

avatar Quy Quy - test_item - 4 Feb 2020 - Tested successfully
avatar Quy
Quy - comment - 4 Feb 2020

I have tested this item successfully on cb0ee08


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27733.

avatar Quy Quy - change - 4 Feb 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 4 Feb 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27733.

avatar rdeutz rdeutz - change - 5 Feb 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-02-05 17:53:06
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 5 Feb 2020
avatar rdeutz rdeutz - merge - 5 Feb 2020

Add a Comment

Login with GitHub to post a comment