Feature NPM Resource Changed PBF PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar iteidrm
iteidrm
10 Oct 2022

Summary of Changes

This pull request fixes a bug in the Bootstrap Caraousel implementation of Joomla! (PHP and ES/JS) that causes valid parameters to be removed from the JavaScript options object that is fed to the Carousel instance.

Testing Instructions

I do not know if the Patch Tester extension will do the JavaScript re-build / pre-processing for you, and hope you know best what to do in this regard.

  • Activate the debug mode in the global configuration to better be able to inspect the generated JavaScript option object in the source code (Browser: Ctrl + U).
  • Install, activate and publish the demo module provided with the pull request on a module position of your choice (e.g. Cassiopeia: main-top). Make sure to set the Menu / Module Assignent to "On all pages".
  • Open / refresh the page and change some params in the module manager (e.g. keyboard | wrap to false).

Actual result BEFORE applying this Pull Request

All options set to false are filtered out, causing the carousel to fall back to its default values.

Expected result AFTER applying this Pull Request

Params that can have a false value are recognised and work as expected.

Link to documentations

Please select:

Demo Module

mod_bs_carousel.zip

avatar iteidrm iteidrm - open - 10 Oct 2022
avatar iteidrm iteidrm - change - 10 Oct 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Oct 2022
Category JavaScript Repository NPM Change Libraries
avatar iteidrm iteidrm - change - 10 Oct 2022
Labels Added: NPM Resource Changed ?
avatar HLeithner
HLeithner - comment - 2 May 2023

This pull request has been automatically rebased to 4.3-dev.

avatar ceford ceford - test_item - 15 Sep 2023 - Tested successfully
avatar ceford
ceford - comment - 15 Sep 2023

I have tested this item ✅ successfully on 780d3d8

Quite tricky to test - I had to edit in some of my own image links into the carousel because those supplied are broken. I can turn on each behaviour in turn and see that they work. I actually learned what some of the terms mean!


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

avatar ceford
ceford - comment - 15 Sep 2023

To compile the js:

npm run build:js


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38930.
avatar ceford
ceford - comment - 15 Sep 2023

Ah - I tested this against 5.0.0-beta2-dev


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

avatar HLeithner
HLeithner - comment - 5 Oct 2023

@Fedik @dgrammatiko I relabeled this a feature and moved it to 5.1 is this something we want and need?

avatar Fedik
Fedik - comment - 5 Oct 2023

Looks fine, if it works :)

avatar dgrammatiko
dgrammatiko - comment - 5 Oct 2023

Ditto

avatar HLeithner
HLeithner - comment - 24 Apr 2024

This pull request has been automatically rebased to 5.2-dev.

avatar HLeithner HLeithner - change - 24 Apr 2024
Title
Redesign carousel implementation to reflect documentation - bug fix
[5.2] Redesign carousel implementation to reflect documentation - bug fix
avatar HLeithner HLeithner - edited - 24 Apr 2024
avatar iteidrm iteidrm - change - 25 Apr 2024
Labels Added: Feature PBF PR-5.1-dev PR-5.2-dev
Removed: ?
avatar HLeithner
HLeithner - comment - 2 Sep 2024

This pull request has been automatically rebased to 5.3-dev.

avatar HLeithner HLeithner - change - 2 Sep 2024
Title
[5.2] Redesign carousel implementation to reflect documentation - bug fix
[5.3] Redesign carousel implementation to reflect documentation - bug fix
avatar HLeithner HLeithner - edited - 2 Sep 2024
avatar Quy Quy - change - 15 Nov 2024
Labels Added: PR-5.3-dev
Removed: PR-5.1-dev PR-5.2-dev
84866f6 15 Nov 2024 avatar Quy cs
6dbc92b 15 Nov 2024 avatar Quy cs
31323b0 15 Nov 2024 avatar Quy cs
10dfb2e 15 Nov 2024 avatar Quy cs
3923351 15 Nov 2024 avatar Quy cs
avatar iteidrm iteidrm - change - 19 Nov 2024
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2024-11-19 09:19:59
Closed_By iteidrm
avatar iteidrm iteidrm - close - 19 Nov 2024

Add a Comment

Login with GitHub to post a comment