? NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
25 Nov 2021

Pull Request for Issue # .

Summary of Changes

  • Tweaked the modal window size
  • Moved files to ES6 so they can be linted
  • Removed the document.write

Testing Instructions

Check that the source code is still working as expected

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Documentation Changes Required

NO

@Fedik mainly this PR is an alternative to your commit for the removal of the document.write which I reverted as it wasn't working. Can you review this one?

ping @brianteeman @woluweb @bembelimen

avatar dgrammatiko dgrammatiko - open - 25 Nov 2021
avatar dgrammatiko dgrammatiko - change - 25 Nov 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Nov 2021
Category JavaScript Repository NPM Change Front End Plugins
avatar dgrammatiko dgrammatiko - change - 25 Nov 2021
Labels Added: NPM Resource Changed ?
avatar Fedik
Fedik - comment - 25 Nov 2021

Looks good to me :)

avatar brianteeman brianteeman - test_item - 25 Nov 2021 - Tested successfully
avatar brianteeman
brianteeman - comment - 25 Nov 2021

I have tested this item successfully on 746488c


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

avatar brianteeman
brianteeman - comment - 25 Nov 2021

Depending on the size of the screen this is miscaclulating the height of the codemirror window and as a result you cannot get to the top or the bottom

tiny

avatar brianteeman
brianteeman - comment - 25 Nov 2021

Before this pr the window could be closed with the escape key. Now it has to be done from the button

avatar dgrammatiko
dgrammatiko - comment - 25 Nov 2021

Before this pr the window could be closed with the escape key. Now it has to be done from the button

Which browser? Works fine in Chrome here

avatar brianteeman
brianteeman - comment - 25 Nov 2021

I found out why/when the escape key didnt work. If you click outside of the window then the escape doesnt work. Not sure if it should or shouldnt

avatar dgrammatiko
dgrammatiko - comment - 25 Nov 2021

I found out why/when the escape key didnt work. If you click outside of the window then the escape doesnt work. Not sure if it should or shouldnt

Ah, that's expected (code wise) as the listener is added in the iframe document and when you click outside of the modal you change scope to the parent document (which doesn't have any code to handle the modal). Let me check something...

avatar dgrammatiko
dgrammatiko - comment - 25 Nov 2021

@brianteeman I restored the original sizing for the time. We could tackle this in another PR

avatar khu5h1 khu5h1 - test_item - 26 Nov 2021 - Tested successfully
avatar khu5h1
khu5h1 - comment - 26 Nov 2021

I have tested this item successfully on 60bb109


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

4f25ce7 6 Jan 2022 avatar dgrammatiko ES6+
ecade33 6 Jan 2022 avatar dgrammatiko meh
ac8f7dc 6 Jan 2022 avatar dgrammatiko meh
e0419f5 6 Jan 2022 avatar dgrammatiko CS
avatar joomla-cms-bot joomla-cms-bot - change - 6 Jan 2022
Category JavaScript Repository NPM Change Front End Plugins JavaScript Repository NPM Change
15a0ade 6 Jan 2022 avatar dgrammatiko path
avatar joomla-cms-bot joomla-cms-bot - change - 6 Jan 2022
Category JavaScript Repository NPM Change JavaScript Repository NPM Change Front End Plugins
avatar laoneo
laoneo - comment - 10 Jan 2022

I have tested this item successfully on 1153eea


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

avatar laoneo
laoneo - comment - 10 Jan 2022

I have tested this item successfully on 1153eea


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

avatar laoneo laoneo - test_item - 10 Jan 2022 - Tested successfully
avatar jwaisner
jwaisner - comment - 14 Jan 2022

I have tested this item successfully on 1153eea


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

avatar jwaisner jwaisner - test_item - 14 Jan 2022 - Tested successfully
avatar jwaisner jwaisner - change - 14 Jan 2022
Status Pending Ready to Commit
avatar jwaisner
jwaisner - comment - 14 Jan 2022

RTC


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

avatar bembelimen bembelimen - change - 14 Jan 2022
Labels Added: ?
avatar bembelimen bembelimen - close - 15 Jan 2022
avatar bembelimen bembelimen - merge - 15 Jan 2022
avatar bembelimen bembelimen - change - 15 Jan 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-01-15 00:26:34
Closed_By bembelimen
avatar bembelimen
bembelimen - comment - 15 Jan 2022

Thx

Add a Comment

Login with GitHub to post a comment