RTC NPM Resource Changed PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar hans2103
hans2103
7 Aug 2024

Pull Request for Issue #28952 .

Summary of Changes

This PR will add some javascript.
When you click on a dropdown element (data-bs-toggle="dropdown") , all open collapse elements (data-bs-toggle="collapse") will close

Testing Instructions

  • Joomla 4.4-dev with demo data
  • resize viewport to mobile
  • toggle any of the three buttons in the footer to open / close the element
  • see the issue as shown in the first screencapture movie
  • run npm ci to compile both css and js
  • toggle any of the three buttons in the footer to open / close the element
  • see the issue as shown in the second screencapture movie

Actual result BEFORE applying this Pull Request

Screen.Recording.2024-08-07.at.11.10.00.mov

Expected result AFTER applying this Pull Request

Screen.Recording.2024-08-07.at.11.44.36.mov

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar hans2103 hans2103 - open - 7 Aug 2024
avatar hans2103 hans2103 - change - 7 Aug 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Aug 2024
Category JavaScript Repository NPM Change
avatar hans2103 hans2103 - change - 7 Aug 2024
The description was changed
avatar hans2103 hans2103 - edited - 7 Aug 2024
avatar hans2103 hans2103 - change - 7 Aug 2024
The description was changed
avatar hans2103 hans2103 - edited - 7 Aug 2024
avatar hans2103 hans2103 - change - 7 Aug 2024
The description was changed
avatar hans2103 hans2103 - edited - 7 Aug 2024
avatar brianteeman brianteeman - test_item - 7 Aug 2024 - Tested successfully
avatar brianteeman
brianteeman - comment - 7 Aug 2024

I have tested this item ✅ successfully on 3d7b7df


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

avatar richard67
richard67 - comment - 7 Aug 2024

@hans2103 Please fix the javascript cs issues reported here https://ci.joomla.org/joomla/joomla-cms/77860/1/33 :

/drone/src/build/media_source/templates/administrator/atum/js/template.es6.js
  251:25  error  Expected parentheses around arrow function argument  arrow-parens
  252:36  error  Unexpected unnamed function                          func-names
  252:36  error  Unexpected function expression                       prefer-arrow-callback
  253:29  error  Expected parentheses around arrow function argument  arrow-parens
  256:22  error  Missing trailing comma                               comma-dangle
avatar hans2103 hans2103 - change - 7 Aug 2024
Labels Added: NPM Resource Changed PR-4.4-dev
avatar hans2103
hans2103 - comment - 7 Aug 2024

@richard67 lint:js issue have been fixed
@brianteeman please feel free to test again. (same goes for the rest of the world, but you are faster)

avatar brianteeman brianteeman - test_item - 8 Aug 2024 - Tested successfully
avatar brianteeman
brianteeman - comment - 8 Aug 2024

I have tested this item ✅ successfully on c3a925f


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

avatar exlemor exlemor - test_item - 8 Aug 2024 - Tested successfully
avatar exlemor
exlemor - comment - 8 Aug 2024

I have tested this item ✅ successfully on c3a925f

I have tested this successfully... :)

( Thanks for this fix, I sometimes have to use my mobile phone and this will help! )


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

avatar Quy Quy - change - 8 Aug 2024
Status Pending Ready to Commit
avatar Quy
Quy - comment - 8 Aug 2024

RTC


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

avatar laoneo laoneo - change - 9 Aug 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-08-09 06:31:46
Closed_By laoneo
Labels Added: RTC
avatar laoneo laoneo - close - 9 Aug 2024
avatar laoneo laoneo - merge - 9 Aug 2024
avatar laoneo
laoneo - comment - 9 Aug 2024

Thanks!

avatar Radek-Suski
Radek-Suski - comment - 22 Aug 2024

Given that accordions are also using data-bs-toggle="collapse" it also causes all accordions tabs to close.


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

Add a Comment

Login with GitHub to post a comment