? ? Pending

User tests: Successful: Unsuccessful:

avatar YatharthVyas
YatharthVyas
25 May 2021

Pull Request for Issue #34187

Summary of Changes

Removes fieldset from 'Steps' and the parent fieldset now only encloses the authentication method dropdown and the security code field. ie. Everything except for One time emergency passwords

Changed

<fieldset>
    <legend> LEGEND_TEXT </legend>
    ...
</fieldset>

to

<hr>
<h3> 
    LEGEND_TEXT 
</h3>
...

Testing Instructions

  1. Make sure the Yubikey and Google Two Factor Authentication Plugins are Enabled
  2. Backend -> Users -> Manage -> Select any User to Edit -> Visit the Two Factor Authentication Tab\
  3. Try all options for the Authentication Method Dropdown and ensure that the headings are corrected formatted.

Actual result BEFORE applying this Pull Request

The Steps displayed on selecting each 2FA method are displayed as fieldsets. See #34187 (comment)

image

Expected result AFTER applying this Pull Request

The Steps look similar to how they did in Joomla 3

image

Documentation Changes Required

None

avatar YatharthVyas YatharthVyas - open - 25 May 2021
avatar YatharthVyas YatharthVyas - change - 25 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 May 2021
Category Administration com_users Front End Plugins
avatar sandramay0905 sandramay0905 - test_item - 25 May 2021 - Tested successfully
avatar sandramay0905
sandramay0905 - comment - 25 May 2021

I have tested this item successfully on 2141a01


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

avatar Kostelano Kostelano - test_item - 25 May 2021 - Tested successfully
avatar Kostelano
Kostelano - comment - 25 May 2021

I have tested this item successfully on 2141a01

Thank you!


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

avatar Quy Quy - change - 25 May 2021
Status Pending Ready to Commit
Labels Added: ?
avatar Quy
Quy - comment - 25 May 2021

RTC


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

avatar Fedik
Fedik - comment - 26 May 2021

the fix does not looks right,
I think, you better check the styling, instead of removing fieldsets

avatar richard67
richard67 - comment - 26 May 2021

@Fedik I think it was done here in this way due to @brianteeman comment here: #34187 (comment) .

avatar Fedik
Fedik - comment - 26 May 2021

@richard67 then I hide my comment ;)

avatar chmst
chmst - comment - 26 May 2021

Sorry, but the changes in user/edit.php in the two-factor tab are not correct.
Fieldsets are not there for decoration - they group input fields (a11y). The input fields authentication method and security code belong together.
But I think we could remove the fieldset completely, as the form has only one selection and one input field but surely a fieldset around the first field makes no sense. If it is for the layout and decorative, then use css.

avatar YatharthVyas YatharthVyas - change - 26 May 2021
Labels Added: ?
avatar YatharthVyas YatharthVyas - change - 26 May 2021
The description was changed
avatar YatharthVyas YatharthVyas - edited - 26 May 2021
avatar richard67
richard67 - comment - 26 May 2021

@YatharthVyas Don't forget to adapt the summary of changes in the description to the latest change. Thanks in advance.

avatar YatharthVyas
YatharthVyas - comment - 26 May 2021

@richard67 Done ?

avatar richard67 richard67 - change - 26 May 2021
Status Ready to Commit Pending
avatar richard67
richard67 - comment - 26 May 2021

Back to pending due to changes. @sandramay0905 @Kostelano I'd be happy if you could test again. Thanks in advance.


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

avatar chmst
chmst - comment - 26 May 2021

Just checked the whole user edit again, and sorry for confusion.
Could you please revert the changes and make the fieldset as it was before, around the two input fields? The different tabs in user edit schould be consitent.

avatar YatharthVyas YatharthVyas - change - 26 May 2021
Labels Removed: ?
avatar YatharthVyas YatharthVyas - change - 26 May 2021
The description was changed
avatar YatharthVyas YatharthVyas - edited - 26 May 2021
avatar YatharthVyas
YatharthVyas - comment - 26 May 2021

The fieldset now only surrounds the Dropdown and all the steps that include the security code input. I have also updated the PR description and the 'Expected result AFTER applying this Pull Request'.

avatar YatharthVyas YatharthVyas - change - 26 May 2021
The description was changed
avatar YatharthVyas YatharthVyas - edited - 26 May 2021
avatar YatharthVyas YatharthVyas - change - 26 May 2021
The description was changed
avatar YatharthVyas YatharthVyas - edited - 26 May 2021
avatar YatharthVyas YatharthVyas - change - 26 May 2021
The description was changed
avatar YatharthVyas YatharthVyas - edited - 26 May 2021
avatar Quy Quy - test_item - 26 May 2021 - Tested successfully
avatar Quy
Quy - comment - 26 May 2021

I have tested this item successfully on f5e6e15


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

avatar Kostelano Kostelano - test_item - 26 May 2021 - Tested successfully
avatar Kostelano
Kostelano - comment - 26 May 2021

I have tested this item successfully on f5e6e15


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

avatar richard67 richard67 - change - 26 May 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 26 May 2021

RTC


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

avatar chmst chmst - change - 26 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-26 18:12:26
Closed_By chmst
Labels Added: ?
avatar chmst chmst - close - 26 May 2021
avatar chmst chmst - merge - 26 May 2021
avatar chmst
chmst - comment - 26 May 2021

Thank you!

avatar YatharthVyas
YatharthVyas - comment - 26 May 2021

Thanks all

Add a Comment

Login with GitHub to post a comment