? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
6 Dec 2020

When the media manager is in list view it uses css data-type to generate an appropriate icon.

However the current code only matches lowercase file extensions. This PR make it case insensitive.

To test upload an image with an uppercase filetype eg _DSC1234.JPG and go to the lust view and you will see there is no icon.

Apply this pr and run npm ci and refresh and now you have an icon

Before

image

After

image

avatar brianteeman brianteeman - open - 6 Dec 2020
avatar brianteeman brianteeman - change - 6 Dec 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 Dec 2020
Category Administration com_media NPM Change
avatar infograf768 infograf768 - test_item - 7 Dec 2020 - Tested successfully
avatar infograf768
infograf768 - comment - 7 Dec 2020

I have tested this item successfully on 5ec483d

See https://www.w3.org/TR/selectors-4/#attribute-case for explanation of the use of i


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

avatar gostn gostn - test_item - 7 Dec 2020 - Tested successfully
avatar gostn
gostn - comment - 7 Dec 2020

I have tested this item successfully on 5ec483d


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

avatar alikon alikon - change - 7 Dec 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 7 Dec 2020

RTC


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

avatar infograf768 infograf768 - change - 7 Dec 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-12-07 08:23:44
Closed_By infograf768
Labels Added: ?
avatar infograf768 infograf768 - close - 7 Dec 2020
avatar infograf768 infograf768 - merge - 7 Dec 2020
avatar infograf768
infograf768 - comment - 7 Dec 2020

tks

avatar brianteeman
brianteeman - comment - 7 Dec 2020

thanks

Add a Comment

Login with GitHub to post a comment