Language Change ? NPM Resource Changed PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar rajputanuj31
rajputanuj31
28 Dec 2022

Pull Request for Issue #31340

Added message for no media files-
If no media files in Media then message no media files will be displayed to user if user clicked on checkbox

Testing Instructions

Create a new folder in Media and open it (No files should be present)

Expected Result Before PR

No message

Expected Result After PR

A message "No Media Found" will be displayed

avatar joomla-cms-bot joomla-cms-bot - change - 28 Dec 2022
Category Administration com_media NPM Change
avatar rajputanuj31 rajputanuj31 - open - 28 Dec 2022
avatar rajputanuj31 rajputanuj31 - change - 28 Dec 2022
Status New Pending
avatar rajputanuj31 rajputanuj31 - change - 28 Dec 2022
Labels Added: NPM Resource Changed ?
avatar rajputanuj31 rajputanuj31 - change - 28 Dec 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-12-28 20:17:09
Closed_By rajputanuj31
avatar rajputanuj31 rajputanuj31 - close - 28 Dec 2022
avatar rajputanuj31 rajputanuj31 - change - 28 Dec 2022
Status Closed New
Closed_Date 2022-12-28 20:17:09
Closed_By rajputanuj31
avatar rajputanuj31 rajputanuj31 - change - 28 Dec 2022
Status New Pending
avatar rajputanuj31 rajputanuj31 - reopen - 28 Dec 2022
avatar brianteeman
brianteeman - comment - 28 Dec 2022

this is only good for english

avatar richard67
richard67 - comment - 28 Dec 2022

@rajputanuj31 Joomla has to work with other languages than English, too, so we can't use a hardcoded English text here.

avatar chmst
chmst - comment - 28 Dec 2022

@rajputanuj31 thanks for your contribution! Skills in vue.js are very appreciated.
Joomla is a huge system and of course you cannot know everything - but you can learn,
If you are interested in GSoC 2023, join us on mattermost https://joomlacommunity.cloud.mattermost.com/main/channels/gsoc2023

avatar dgrammatiko
dgrammatiko - comment - 29 Dec 2022

Please check how to use the if/else conditionals on the html part of the vue file. You don't have to create elements manually as vue has a simpler way for that...

avatar rajputanuj31 rajputanuj31 - change - 12 Jan 2023
Labels Added: ?
avatar fancyFranci
fancyFranci - comment - 16 Jan 2023

Great to see that you worked on the issue and want to contribute your result!
Every pull request needs 2 successful user tests. To have a higher chance to get those tests: Please have a look on the descriptions of other pull requests here and how they are structured. "Summary of Changes", "Testing Instructions", before and after applying the patch etc. Add this structure to your PR description as well and you will make it easier for others to test your changes. Screenshots are very helpful too.

avatar joomla-cms-bot joomla-cms-bot - change - 20 Jan 2023
Category Administration com_media NPM Change Administration com_media NPM Change Language & Strings
avatar rajputanuj31 rajputanuj31 - change - 22 Jan 2023
Labels Added: Language Change
Removed: ?
avatar dgrammatiko
dgrammatiko - comment - 22 Jan 2023

@rajputanuj31 please run npm run lint:js -- --fix to fix the codestyle, nice work!

avatar richard67
richard67 - comment - 22 Jan 2023

@rajputanuj31 please run npm run lint:js -- --fix to fix the codestyle, nice work!

Would be even better if @rajputanuj31 would follow @fancyFranci ' recommendation above and change the title to something meaningful, add some description and finally some testing instructions.

avatar rajputanuj31 rajputanuj31 - change - 22 Jan 2023
The description was changed
avatar rajputanuj31 rajputanuj31 - edited - 22 Jan 2023
avatar richard67 richard67 - change - 22 Jan 2023
Title
GitHub Issue #31340
[4.2] Show message "No Media Found" for empty folder in Media Manager - fix GitHub issue #31340
avatar richard67 richard67 - edited - 22 Jan 2023
avatar richard67
richard67 - comment - 22 Jan 2023

@rajputanuj31 You have to add the new string also to the administrator language file below this line here:

. Otherwise you see "COM_MEDIA_NO_MEDIA_FOUND" instead of "No Media Found" when using the Media Manager in backend (administrator).

avatar fancyFranci fancyFranci - change - 22 Jan 2023
The description was changed
avatar fancyFranci fancyFranci - edited - 22 Jan 2023
avatar fancyFranci fancyFranci - change - 22 Jan 2023
Title
[4.2] Show message "No Media Found" for empty folder in Media Manager - fix GitHub issue #31340
[4.2] Show message "No Media Found" for empty folder in Media Manager
avatar fancyFranci fancyFranci - edited - 22 Jan 2023
avatar richard67 richard67 - test_item - 22 Jan 2023 - Tested successfully
avatar richard67
richard67 - comment - 22 Jan 2023

I have tested this item successfully on ccd8519


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

avatar dgrammatiko dgrammatiko - test_item - 22 Jan 2023 - Tested successfully
avatar dgrammatiko
dgrammatiko - comment - 22 Jan 2023

I have tested this item successfully on ccd8519


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

avatar richard67 richard67 - change - 22 Jan 2023
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 22 Jan 2023

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 26 Jan 2023
Category Administration com_media NPM Change Language & Strings Administration com_admin com_finder com_media NPM Change com_menus Language & Strings JavaScript Repository com_tags Front End Installation Libraries
avatar obuisard obuisard - change - 26 Jan 2023
Title
[4.2] Show message "No Media Found" for empty folder in Media Manager
[4.3] Show message "No Media Found" for empty folder in Media Manager
avatar obuisard obuisard - edited - 26 Jan 2023
avatar dgrammatiko dgrammatiko - test_item - 26 Jan 2023 - Tested unsuccessfully
avatar dgrammatiko
dgrammatiko - comment - 26 Jan 2023

I have tested this item ? unsuccessfully on ccd8519


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

avatar dgrammatiko
dgrammatiko - comment - 26 Jan 2023

@richard67 please remove the RTC flag here. This still needs:

  • better css/presentaion (ie resemble the other empty state pages)
  • be aware of the loading state (ie not display until fetching of the data is complete)
  • tweaks on the list view

For the first 2 the code exists in #39709 the 3rd one needs some tweaks on the relative component

avatar Quy Quy - change - 26 Jan 2023
Status Ready to Commit Pending
avatar rajputanuj31
rajputanuj31 - comment - 27 Jan 2023

@dgrammatiko since the base branch has been changed and there are lot of conflicts. I am unable to understand what should I do. Please guide me a bit.

avatar rajputanuj31
rajputanuj31 - comment - 27 Jan 2023

Created New PR:#39731

avatar rajputanuj31 rajputanuj31 - change - 27 Jan 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-01-27 19:13:30
Closed_By rajputanuj31
Labels Added: ? PR-4.3-dev
Removed: ?
avatar rajputanuj31 rajputanuj31 - close - 27 Jan 2023

Add a Comment

Login with GitHub to post a comment