NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar rajputanuj31
rajputanuj31
4 Feb 2023

Pull Request #33637

Summary of Changes
Multi select without using shift key

Testing Instructions

Open Media
Try to Select media manager files.

Actual result BEFORE applying this Pull Request

You can not select multiple items without holding the shift key.

Expected result AFTER applying this Pull Request

You can select multiple items by holding ctrl key & clicking on items.
You can also select all files between two selected files by holding shift key.

Media.-.Demo-.Trim.mp4
avatar joomla-cms-bot joomla-cms-bot - change - 4 Feb 2023
Category JavaScript Administration com_media NPM Change
avatar rajputanuj31 rajputanuj31 - open - 4 Feb 2023
avatar rajputanuj31 rajputanuj31 - change - 4 Feb 2023
Status New Pending
avatar rajputanuj31 rajputanuj31 - change - 4 Feb 2023
Title
Corrected different multi-select behavior in media manage
[4.2]Corrected different multi-select behavior in media manage
avatar rajputanuj31 rajputanuj31 - edited - 4 Feb 2023
avatar dgrammatiko
dgrammatiko - comment - 4 Feb 2023

@rajputanuj31 I think the expected behaviour involves both ctrl and shift keys, I had started fixing it here: #39679 (comment) (it needs the shift key logic as explained in that comment)

avatar richard67
richard67 - comment - 4 Feb 2023

Besides this, the javascript linter at the drone CI tests reports errors here https://ci.joomla.org/joomla/joomla-cms/61584/1/26 :

+ npm run lint:js

> joomla@4.0.0 lint:js
> eslint --config build/.eslintrc --ignore-pattern '/media/' --ext .es6.js,.es6,.vue .

/********/src/administrator/components/com_media/resources/scripts/components/browser/items/item.es6.js
  117:17  error  'event' is defined but never used  no-unused-vars

/********/src/administrator/components/com_media/resources/scripts/components/browser/items/row.vue
  96:13  error  'event' is defined but never used  no-unused-vars

✖ 2 problems (2 errors, 0 warnings)
avatar rajputanuj31
rajputanuj31 - comment - 4 Feb 2023

@rajputanuj31 I think the expected behaviour involves both ctrl and shift keys, I had started fixing it here: #39679 (comment) (it needs the shift key logic as explained in that comment)

@dgrammatiko Is this looks fine??

Media.-Trim-2.mp4
avatar rajputanuj31 rajputanuj31 - change - 5 Feb 2023
Labels Added: NPM Resource Changed ?
avatar rajputanuj31 rajputanuj31 - change - 5 Feb 2023
The description was changed
avatar rajputanuj31 rajputanuj31 - edited - 5 Feb 2023
avatar dgrammatiko
dgrammatiko - comment - 8 Feb 2023

@rajputanuj31 please rebase this pr to 4.3-dev

avatar rajputanuj31 rajputanuj31 - change - 8 Feb 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-02-08 16:45:33
Closed_By rajputanuj31
avatar rajputanuj31 rajputanuj31 - close - 8 Feb 2023
avatar rajputanuj31
rajputanuj31 - comment - 8 Feb 2023

Please Review this PR #39824.
Previously I have forked only 4.2 branch so for rebasing had to fork again ?

Add a Comment

Login with GitHub to post a comment