NPM Resource Changed ? ? Pending

User tests: Successful: Unsuccessful:

avatar C-Lodder
C-Lodder
7 May 2020

Pull Request for Issue # .

Summary of Changes

Summary of Changes

  1. Remove remaining jQuery dependency
  2. Fix Joomla loading icon now showing
  3. Some JS improvements

Testing Instructions

First run node build.js --compile-js from your terminal, then:

  1. Go to administrator/index.php?option=com_installer
  2. Click on the "Install from Web" tab
  3. Ensure the Joomla loading icons shows as per the screenshot below
  4. Ensure you can navigate through the installer

Screenshot

screeny

avatar C-Lodder C-Lodder - open - 7 May 2020
avatar C-Lodder C-Lodder - change - 7 May 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 May 2020
Category Administration com_installer JavaScript Repository NPM Change
avatar C-Lodder C-Lodder - change - 7 May 2020
Labels Added: NPM Resource Changed ?
avatar adj9 adj9 - test_item - 7 May 2020 - Tested successfully
avatar adj9
adj9 - comment - 7 May 2020

I have tested this item successfully on 0bfe005

With and without patch I can JED without any problem after the load. the URLs to the components open


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

avatar richard67
richard67 - comment - 7 May 2020

@C-Lodder Even if it's clear to you and me, but could you next time add a hint in testing instruction if npm has to be used? We still need npm if js or scss is changed as long as Patchtester 4 with CI server doesn't work reliably. And we have many new testers since the "Bugs and Fun at Home" events. For those such a hint could be a help.

avatar richard67
richard67 - comment - 7 May 2020

@adj9 Have you also tested if the Joomla loading logo is shown as described in the testing instructions when the patch for this Pull Request (PR) is applied? And have you run npm after having applied the patch, so the changed javascript was applied?

avatar brianteeman
brianteeman - comment - 7 May 2020

No need for a hint. Github does that for you.

image

avatar richard67
richard67 - comment - 7 May 2020

@brianteeman I know. But I am not really sure if new testers know that, too.

avatar brianteeman
brianteeman - comment - 7 May 2020

@richard67 well they should be reading the github post etc in order to test ;)

avatar C-Lodder
C-Lodder - comment - 7 May 2020

@richard67 ah yes sorry, I keep forgetting.

avatar C-Lodder C-Lodder - change - 7 May 2020
The description was changed
avatar C-Lodder C-Lodder - edited - 7 May 2020
avatar richard67 richard67 - test_item - 7 May 2020 - Tested successfully
avatar richard67
richard67 - comment - 7 May 2020

I have tested this item successfully on 0bfe005


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

avatar 810
810 - comment - 7 May 2020

Can you also fix the modal.

When selecting plugin - install - the modal is on the bottom of the page.

When i click on install again, the installer isn't loaded. Only on "install from url" i see the package url

avatar C-Lodder
C-Lodder - comment - 7 May 2020

@810 Is that issue introduced by this PR?

avatar 810
810 - comment - 7 May 2020

No, same issue as on core.

avatar richard67
richard67 - comment - 7 May 2020

When selecting plugin - install - the modal is on the bottom of the page.

Confirmed. The Install From Web seems to have some issues which are not fixed by this PR. Seems it needs more love.

@810 Do you get an error in browser console when trying to install with the button at the bottom?

avatar 810
810 - comment - 7 May 2020
Uncaught TypeError: Joomla.submitbutton5 is not a function
    at HTMLInputElement.onclick (index.php?option=com_installer&view=install:349)
avatar C-Lodder
C-Lodder - comment - 7 May 2020

@810 in which case can you please raise a separate issue?

avatar richard67
richard67 - comment - 7 May 2020

@C-Lodder In the Install From Web is a green "Install" button at the top area. If you use that button, 2 new buttons are shown at the very bottom, a blue "Install" and a grey "Cancel". If you click the blue "Install" you get that error.

avatar richard67
richard67 - comment - 7 May 2020

@C-Lodder Furthermore, as @810 pointed out, and I can confirm that, it seems that these 2 buttons should belong to a modal, but it is not a modal, it is integrated in the page.

Has all nothing to do with this PR. This PR doesn't change anything to worse. But maybe you can fix that with another PR?

avatar richard67
richard67 - comment - 7 May 2020

I've just found an old meta-issue: #19429 . @C-Lodder you were also involved in it, but it is a bit old.

avatar C-Lodder
C-Lodder - comment - 7 May 2020

I'll start lookng into it now

avatar adj9
adj9 - comment - 7 May 2020

@richard67 The logo loads it correctly. I realized now that the green taste of installazine does not work properly, on click it does nothing (Akeeba page e.g.) with & without PR.
Schermata 2020-05-07 alle 21 29 20

Sorry, I gave a hasty confirmation.

avatar richard67
richard67 - comment - 7 May 2020

@adj9 Problem with install button and others are known, we have an issue for that: #19429 . So this PR here is ok. Thanks for testing.

avatar richard67 richard67 - change - 7 May 2020
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 7 May 2020

RTC


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

avatar infograf768 infograf768 - change - 8 May 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-05-08 07:33:27
Closed_By infograf768
Labels Added: ?
avatar infograf768 infograf768 - close - 8 May 2020
avatar infograf768 infograf768 - merge - 8 May 2020
avatar infograf768
infograf768 - comment - 8 May 2020

Tks.

Add a Comment

Login with GitHub to post a comment