? NPM Resource Changed ? Maintainers Checked Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
30 Apr 2022

Pull Request for Issue #37697 .

Summary of Changes

The intention of this functionality is for the description to be hidden by default and its visibility toggled from the button.

The problem is that the default hidden state was added by javascript after the page has loaded and this resulted in a flash of text being displayed.

This PR changes the code so that the d-none class is present by default in the markup

Testing Instructions

This includes a javascript chanage so will need npm run build:js or one of the prebuilt packages

Actual result BEFORE applying this Pull Request

before

Expected result AFTER applying this Pull Request

after

Documentation Changes Required

none

avatar brianteeman brianteeman - open - 30 Apr 2022
avatar brianteeman brianteeman - change - 30 Apr 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Apr 2022
Category JavaScript Repository NPM Change Front End com_config Layout
avatar brianteeman brianteeman - change - 30 Apr 2022
Labels Added: NPM Resource Changed ?
avatar toivo
toivo - comment - 30 Apr 2022

I have tested this item successfully on 4c41479


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

avatar toivo toivo - test_item - 30 Apr 2022 - Tested successfully
avatar Shubhamverma2796
Shubhamverma2796 - comment - 30 Apr 2022

I have tested this item successfully on 4c41479


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

avatar Shubhamverma2796 Shubhamverma2796 - test_item - 30 Apr 2022 - Tested successfully
avatar richard67 richard67 - change - 30 Apr 2022
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 30 Apr 2022

RTC


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

avatar pritam825
pritam825 - comment - 30 Apr 2022

I have tested this item successfully on 4c41479


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

avatar pritam825 pritam825 - test_item - 30 Apr 2022 - Tested successfully
avatar Quy Quy - change - 30 Apr 2022
Labels Added: ? Maintainers Checked
avatar bembelimen bembelimen - close - 1 May 2022
avatar bembelimen bembelimen - merge - 1 May 2022
avatar bembelimen bembelimen - change - 1 May 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-05-01 11:28:48
Closed_By bembelimen
avatar bembelimen
bembelimen - comment - 1 May 2022

Thx

avatar brianteeman
brianteeman - comment - 1 May 2022

thanks

avatar cyrezdev
cyrezdev - comment - 12 May 2022

The PR has broken the display of descriptions everywhere as always hidden by default, and because the toggle button is integrated yet only in com_config and com_content options, can't be set by default on d-none in the markup.
Not only config pages are affected, but all edition and third-party extensions.

So, i would go to revert this PR until we find a better solution to not have the "flash" of description text.

#37772

Add a Comment

Login with GitHub to post a comment