NPM Resource Changed ? ? Pending

User tests: Successful: Unsuccessful:

avatar sksuryan
sksuryan
12 Mar 2021

Pull Request for Issue #31351 .

Summary of Changes

This PR adds a alert message for when a module is not found in search while selecting a new module in Administrator or Site section.

It adds a div for alert in administrator/components/com_modules/tmpl/select/default.php and adds the code to count the number of modules that are currently shown in build/media_source/com_modules/js/admin-module-search.es6.js. If the count turns to zero or less than that, an alert is shown.

Testing Instructions

  • Login to admin panel
  • Go to Site/administrator modules
  • Click on New module
  • Search the module name which is not present

Actual result BEFORE applying this Pull Request

image

Expected result AFTER applying this Pull Request

image

avatar sksuryan sksuryan - open - 12 Mar 2021
avatar sksuryan sksuryan - change - 12 Mar 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Mar 2021
Category Administration com_modules JavaScript Repository NPM Change
avatar sksuryan sksuryan - change - 12 Mar 2021
Labels Added: NPM Resource Changed ?
avatar brianteeman brianteeman - test_item - 12 Mar 2021 - Tested successfully
avatar brianteeman
brianteeman - comment - 12 Mar 2021

I have tested this item successfully on fc4e050


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

avatar joomdonation joomdonation - test_item - 13 Mar 2021 - Tested successfully
avatar joomdonation
joomdonation - comment - 13 Mar 2021

I have tested this item successfully on fc4e050


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

avatar alikon alikon - change - 13 Mar 2021
Status Pending Ready to Commit
avatar alikon
alikon - comment - 13 Mar 2021

RTC


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

avatar richard67 richard67 - close - 13 Mar 2021
avatar richard67 richard67 - merge - 13 Mar 2021
avatar richard67 richard67 - change - 13 Mar 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-03-13 10:15:31
Closed_By richard67
Labels Added: ?
avatar richard67
richard67 - comment - 13 Mar 2021

Thanks!

avatar richard67
richard67 - comment - 13 Mar 2021

@sksuryan Congratulations. 2nd PR merged. Thanks for your contribution.

avatar sksuryan
sksuryan - comment - 13 Mar 2021

Thank you @richard67! I'm really loving the community. More contributions coming soon!?

Add a Comment

Login with GitHub to post a comment