? NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar Shubhamverma2796
Shubhamverma2796
26 Jan 2022

Pull Request for Issue #36274 and #35055 .

Summary of Changes

Added disabled state to the "UploadAndInstall" button.

Testing Instructions

1.System-->Update-->Joomla.
2. Click on "Update your site by manually uploading the update package".
3. Button and checkbox are disabled initially.
4. Upload a file greater than 40 MB, checkbox and button are still disabled.
5. upload a file less than 40 MB, the checkbox is enabled. Check in the box, the button gets enabled.
6. again upload a file greater than 40 MB, checkbox and button get disabled again.

Actual result BEFORE applying this Pull Request

1

Expected result AFTER applying this Pull Request

2022-02-01.01-12-47.mp4
avatar Shubhamverma2796 Shubhamverma2796 - open - 26 Jan 2022
avatar Shubhamverma2796 Shubhamverma2796 - change - 26 Jan 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Jan 2022
Category Administration com_joomlaupdate
avatar Shubhamverma2796 Shubhamverma2796 - change - 26 Jan 2022
Labels Added: ?
avatar Shubhamverma2796 Shubhamverma2796 - change - 28 Jan 2022
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 28 Jan 2022
Category Administration com_joomlaupdate Administration com_joomlaupdate JavaScript Repository NPM Change
avatar Shubhamverma2796 Shubhamverma2796 - change - 28 Jan 2022
Labels Added: NPM Resource Changed
avatar pritam825 pritam825 - test_item - 28 Jan 2022 - Tested successfully
avatar pritam825
pritam825 - comment - 28 Jan 2022

I have tested this item successfully on a3ce59d

Working as expected


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

avatar Shubhamverma2796 Shubhamverma2796 - change - 30 Jan 2022
Labels Removed: ?
avatar Quy Quy - test_item - 31 Jan 2022 - Tested successfully
avatar Quy
Quy - comment - 31 Jan 2022

I have tested this item successfully on 3ea1dc7


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

avatar Quy Quy - alter_testresult - 31 Jan 2022 - pritam825: Tested successfully
avatar Quy Quy - change - 31 Jan 2022
Status Pending Ready to Commit
avatar Quy
Quy - comment - 31 Jan 2022

RTC


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

avatar Quy
Quy - comment - 31 Jan 2022

RTC


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

avatar bembelimen
bembelimen - comment - 31 Jan 2022

After discussing with @Shubhamverma2796 we agreed, that the flow should also include the file input field, too. So a un-disable chain: field => checkbox => button

Thanks for the PR @Shubhamverma2796 and thanks for continuing working on it!

avatar bembelimen bembelimen - change - 31 Jan 2022
Status Ready to Commit Pending
avatar bembelimen
bembelimen - comment - 31 Jan 2022

Removed RTC


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

avatar Shubhamverma2796 Shubhamverma2796 - change - 31 Jan 2022
Labels Added: ?
avatar Shubhamverma2796 Shubhamverma2796 - change - 31 Jan 2022
The description was changed
avatar Shubhamverma2796 Shubhamverma2796 - edited - 31 Jan 2022
avatar Shubhamverma2796 Shubhamverma2796 - change - 31 Jan 2022
Labels Removed: ?
avatar Shubhamverma2796 Shubhamverma2796 - change - 31 Jan 2022
The description was changed
avatar Shubhamverma2796 Shubhamverma2796 - edited - 31 Jan 2022
avatar richard67 richard67 - change - 6 Feb 2022
The description was changed
avatar richard67 richard67 - edited - 6 Feb 2022
avatar Aman21591 Aman21591 - test_item - 9 Feb 2022 - Tested successfully
avatar Aman21591
Aman21591 - comment - 9 Feb 2022

I have tested this item successfully on f882b1d


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

avatar ditsuke ditsuke - test_item - 13 Feb 2022 - Tested successfully
avatar ditsuke
ditsuke - comment - 13 Feb 2022

I have tested this item successfully on f882b1d

For any future testers, please note that you'll need to rebuild the JS assets for com_joomlaupdate even if you apply the patch via Joomla! Patch Tester. I had to run npm run build:js -- build/media_source/com_joomlaupdate before I could reproduce the changes successfully.


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

avatar Quy Quy - change - 15 Feb 2022
Status Pending Ready to Commit
avatar Quy
Quy - comment - 15 Feb 2022

RTC


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

avatar bembelimen bembelimen - change - 3 Mar 2022
Title
Enable/disable 'Upload&Install' button on the basis of checkbox value
[4.2] Enable/disable 'Upload&Install' button on the basis of checkbox value
avatar bembelimen bembelimen - edited - 3 Mar 2022
avatar bembelimen bembelimen - change - 3 Mar 2022
Labels Added: ?
avatar bembelimen
bembelimen - comment - 3 Mar 2022

Thanks for this very nice enhancement, I rebased it to 4.2 as it's a new thing.

avatar Quy
Quy - comment - 3 Mar 2022

@Shubhamverma2796 Please consider doing the same in a separate PR for the following. Thanks.

update-joomla

avatar Shubhamverma2796
Shubhamverma2796 - comment - 4 Mar 2022

@Shubhamverma2796 Please consider doing the same in a separate PR for the following. Thanks.

update-joomla

I am not getting this screen.
Screenshot (352)

avatar Shubhamverma2796
Shubhamverma2796 - comment - 4 Mar 2022

@Shubhamverma2796 Please consider doing the same in a separate PR for the following. Thanks.
update-joomla

I am not getting this screen. Screenshot (352)

I got the screen. Should I open a new issue or directly open a pr because #35055 is closed.

avatar Quy
Quy - comment - 7 Mar 2022

@Shubhamverma2796 Please create a new PR to disable the Start update button until the checkbox is checked.

avatar roland-d roland-d - change - 7 Mar 2022
Labels Added: ?
Removed: ?
avatar Shubhamverma2796
Shubhamverma2796 - comment - 8 Mar 2022

@Shubhamverma2796 Please create a new PR to disable the Start update button until the checkbox is checked.

Sure. I will do it ASAP.

avatar roland-d roland-d - change - 9 Mar 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-03-09 18:50:48
Closed_By roland-d
avatar roland-d roland-d - close - 9 Mar 2022
avatar roland-d roland-d - merge - 9 Mar 2022
avatar roland-d
roland-d - comment - 9 Mar 2022

Thank you everybody :)

Add a Comment

Login with GitHub to post a comment