NPM Resource Changed ? ? Pending

User tests: Successful: Unsuccessful:

avatar thednp
thednp
10 Feb 2021

Summary of Changes

Since the <legend> added to the switch field type is set to use visually-hidden class, with the self explanatory function, all the additional styling is redundant, hence we clean it up.

Pull Request for Issue #32367 (comment) .

Testing Instructions

Simplest way to test:

  • go to System - Site Template Styles - Cassiopeia
  • go to Advanced tab and inspect the <legend> element of the setting called Layout
  • the .switcher__legend class should have no style before merging the #32367 into the 4.0 branch

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

No visual or functional change is expected since the target element uses the .visually-hidden class

Documentation Changes Required

No

avatar thednp thednp - open - 10 Feb 2021
avatar thednp thednp - change - 10 Feb 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Feb 2021
Category Administration Templates (admin) NPM Change
avatar thednp thednp - change - 10 Feb 2021
The description was changed
avatar thednp thednp - edited - 10 Feb 2021
avatar thednp thednp - change - 10 Feb 2021
Title
Update _form.scss
[4.0] Update _form.scss
avatar thednp thednp - edited - 10 Feb 2021
avatar brianteeman
brianteeman - comment - 10 Feb 2021

If you are removing the classes from the template css then you should also remove the reference to them in the php markup.

For reference the class was not invented for fun as it did serve a purpose when the code was originally committed by me at #24463.

The code was made useless by changes in #27684 which was when it should have been removed

avatar thednp thednp - change - 10 Feb 2021
Labels Added: NPM Resource Changed ?
avatar joomla-cms-bot joomla-cms-bot - change - 10 Feb 2021
Category Administration Templates (admin) NPM Change Administration Templates (admin) NPM Change Layout
avatar thednp
thednp - comment - 10 Feb 2021

@brianteeman roger, also updated. Thanks man.

avatar thednp thednp - change - 10 Feb 2021
Title
[4.0] Update _form.scss
[4.0] Updated switcher.php layout and its corresponding _form.scss
avatar thednp thednp - edited - 10 Feb 2021
avatar joomla-cms-bot joomla-cms-bot - change - 10 Feb 2021
Category Administration Templates (admin) NPM Change Layout Administration Templates (admin) NPM Change Repository Layout
avatar thednp thednp - change - 10 Feb 2021
Title
[4.0] Updated switcher.php layout and its corresponding _form.scss
[4.0] Updated switcher.php layout and its corresponding scss files
avatar thednp thednp - edited - 10 Feb 2021
avatar Quy Quy - test_item - 10 Feb 2021 - Tested successfully
avatar Quy
Quy - comment - 10 Feb 2021

I have tested this item successfully on d573b80


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

avatar infograf768 infograf768 - test_item - 11 Feb 2021 - Tested successfully
avatar infograf768
infograf768 - comment - 11 Feb 2021

I have tested this item successfully on d573b80


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

avatar infograf768 infograf768 - change - 11 Feb 2021
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 11 Feb 2021

RTC


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

avatar infograf768 infograf768 - close - 11 Feb 2021
avatar infograf768 infograf768 - merge - 11 Feb 2021
avatar infograf768 infograf768 - change - 11 Feb 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-02-11 07:21:45
Closed_By infograf768
Labels Added: ?
avatar infograf768
infograf768 - comment - 11 Feb 2021

Tks

Add a Comment

Login with GitHub to post a comment