? ? ? Pending

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
5 Mar 2021

Summary of Changes

Add iframe lazyloading to the core wrapper feature

Testing Instructions

Create an iframe wrapper via the component (example: https://www.youtube.com/embed/tgbNymZ7vqY)
Create an iframe wrapper with the module
Check the html code and make sure the loading attribute is set (loading=lazy)
Disable the lazy loading option
Check the html code and make sure the loading attribute is set (loading=eager)

Actual result BEFORE applying this Pull Request

There is no option to set the lazyloading attribute

Expected result AFTER applying this Pull Request

There is a option to set the lazyloading attribute

image
image

cc @bembelimen

avatar zero-24 zero-24 - open - 5 Mar 2021
avatar zero-24 zero-24 - change - 5 Mar 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Mar 2021
Category Administration Language & Strings Front End com_wrapper Modules
avatar ChristineWk ChristineWk - test_item - 5 Mar 2021 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 5 Mar 2021

I have tested this item successfully on 5308355


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

avatar jwaisner jwaisner - test_item - 9 Mar 2021 - Tested successfully
avatar jwaisner
jwaisner - comment - 9 Mar 2021

I have tested this item successfully on 5308355


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

avatar jwaisner
jwaisner - comment - 9 Mar 2021

@zero-24 can you check @Quy recommended change? If this is not something that needs to be retested this can be RTC.

avatar zero-24 zero-24 - change - 9 Mar 2021
Labels Added: ? ?
avatar zero-24
zero-24 - comment - 9 Mar 2021

@zero-24 can you check @Quy recommended change? If this is not something that needs to be retested this can be RTC.

Done, I dont think that this does need to be retested given that i "just" changed the string to be displayed but I will leave that decision up to you.

avatar Quy Quy - change - 9 Mar 2021
Status Pending Ready to Commit
avatar Quy
Quy - comment - 9 Mar 2021

RTC


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

avatar bembelimen
bembelimen - comment - 10 Mar 2021

Why not using directly "lazy" and "eger" as option values? Then you can skip the ternary operators.

avatar richard67
richard67 - comment - 14 Mar 2021

@Quy Shall I remove RTC since updates are requested?

avatar zero-24
zero-24 - comment - 14 Mar 2021

Why not using directly "lazy" and "eger" as option values? Then you can skip the ternary operators.

Arent that values (0 + 1) bound to the CSS for the switcher?

avatar Quy
Quy - comment - 15 Mar 2021

Arent that values (0 + 1) bound to the CSS for the switcher?

No. It can be any values.

avatar Quy Quy - change - 15 Mar 2021
Status Ready to Commit Pending
avatar Quy Quy - test_item - 16 Mar 2021 - Tested successfully
avatar Quy
Quy - comment - 16 Mar 2021

I have tested this item successfully on 4cd60a4


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

avatar ChristineWk ChristineWk - test_item - 16 Mar 2021 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 16 Mar 2021

I have tested this item successfully on 4cd60a4


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

avatar Quy Quy - change - 16 Mar 2021
Status Pending Ready to Commit
avatar Quy
Quy - comment - 16 Mar 2021

RTC


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

avatar rdeutz rdeutz - close - 17 Mar 2021
avatar rdeutz rdeutz - merge - 17 Mar 2021
avatar rdeutz rdeutz - change - 17 Mar 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-03-17 10:50:08
Closed_By rdeutz
Labels Added: ?

Add a Comment

Login with GitHub to post a comment