? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
1 Aug 2018

PR for #19408

I know that the modal code is going to be replaced eventually but this "trap" is preventing people from working with patchtester easily and from testing other part of joomla 4

(I am only committing the scss as I assume we no longer commit the compiled assets if that's correct then we need documentation)

avatar brianteeman brianteeman - open - 1 Aug 2018
avatar brianteeman brianteeman - change - 1 Aug 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Aug 2018
Category Administration Templates (admin)
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 1 Aug 2018 - Tested unsuccessfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Aug 2018

I have tested this item ? unsuccessfully on f66c516

Applied Patch but Modal still trapped. Test on "Article > Version" and "Article > Preview".


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

avatar brianteeman
brianteeman - comment - 1 Aug 2018

@franz-wohlkoenig you cannot just use patchtester for this as it is an scss file and i have not committed the css as I wrote in the pr. You will need to run the buildcss script

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 1 Aug 2018 - Not tested
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Aug 2018

I have not tested this item.


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

avatar wojsmol
wojsmol - comment - 1 Aug 2018

@franz-wohlkoenig Please see docs

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Aug 2018

@wojsmol thanks for Link. To be honest: Patchtester is my Limit.

avatar C-Lodder
C-Lodder - comment - 1 Aug 2018

I am only committing the scss as I assume we no longer commit the compiled assets

Rather hard on the testers isn't it?

avatar brianteeman
brianteeman - comment - 1 Aug 2018

As far as I am aware that is the way forward - not that I agree.

avatar wojsmol
wojsmol - comment - 1 Aug 2018

@franz-wohlkoenig do you use brew on your Mac?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Aug 2018

@wojsmol i don't use brew (and i didn't know what it is until i searched after your Question :-).

avatar ciar4n
ciar4n - comment - 1 Aug 2018

Open notifications dropdown

image

avatar ciar4n
ciar4n - comment - 1 Aug 2018

To fix you can remove the z-index from the subhead but I suspect that will just pass the problem else where

avatar brianteeman
brianteeman - comment - 1 Aug 2018

grrrh - well I give up. Increasing the z-index on the modal-backdrop didnt work either

avatar dgrammatiko
dgrammatiko - comment - 1 Aug 2018

@ciar4n patchtester is more important than the dropdown

avatar ciar4n
ciar4n - comment - 1 Aug 2018

@ciar4n patchtester is more important than the dropdown

True. I'm just pointing out that these z-indexs are a house of cards once we start removing them. The modals will rely on them unless we move modal markup outside of the toolbar.

avatar ciar4n
ciar4n - comment - 1 Aug 2018

In other words... by loading the modal markup with the modal trigger (in this case a button in the toolbar), the modal will inherit the z-index of the triggers container (in this case the toolbar). It is for this reason that modal markup is usually moved to the root.

avatar C-Lodder
C-Lodder - comment - 1 Aug 2018

If I rightly remember, we had this discussion regarding modals when starting custom elements and ensured they were injected just before the closing body tag

avatar ciar4n
ciar4n - comment - 1 Aug 2018

Injecting the modal to just before the closing body tag would solve this issue.

avatar brianteeman
brianteeman - comment - 1 Aug 2018

I just want a fix so that testers can use the patch tester. Dimitris has said he is rewriting the modal stuff so the fix will only be temporary until then.

avatar dgrammatiko
dgrammatiko - comment - 1 Aug 2018

The fix is fine for now, at least for me.

PS just comment out the line instead of deleting it and add a // @todo restore when new modals merged

avatar ciar4n ciar4n - test_item - 1 Aug 2018 - Tested successfully
avatar ciar4n
ciar4n - comment - 1 Aug 2018

I have tested this item successfully on f66c516

As a temporary fix this is fine by me.


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

avatar ciar4n
ciar4n - comment - 1 Aug 2018

As the CSS is not been included with the PR, does this mean all style related PRs can not be tested with the patchtester?

avatar laoneo
laoneo - comment - 2 Aug 2018

When you don't have node/npm installed, then not as it needs a recompile 8f the assets. Perhaps parchtester should detect that in the future that a sass or js file has changed and a recompile is needed.

avatar mbabker
mbabker - comment - 2 Aug 2018

Patch tester is borderline unsuitable for the 4.0 environment with all the changes that have been made. If you are not using a git client and command line, there are really only two viable options:

  1. The PR testing platform, if it is ever put online
  2. Building installable packages for every PR (similar to what's done for #20800 but more generic) that can be put through Upload & Install in the update component, there's just no reliable rollback mechanism here (well, in theory you can rollback by re-installing either the tagged release package or nightly build you started from, but if there are database changes, you're out of luck)
avatar wojsmol
wojsmol - comment - 2 Aug 2018

@mbabker +1 for number 2 until number 1 is ready at let for PR's with js or scss changes.

avatar wilsonge wilsonge - change - 19 Aug 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-08-19 13:47:09
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 19 Aug 2018
avatar wilsonge wilsonge - merge - 19 Aug 2018

Add a Comment

Login with GitHub to post a comment