NPM Resource Changed ? ? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
17 Aug 2020

Pull Request for Issue #30391

Summary of Changes

Installation Alerts are using the js. The <div> was misplaced.
I added a class but it is not necessary when using default core Installation.

Testing Instructions

Install a clean Joomla using a superuser password shorter than 12 characters

Patch, use NPM CI and install again

EDIT: To test multiple alerts in backend, add in Atum index.php

Factory::getApplication()->enqueueMessage('error message','error');
Factory::getApplication()->enqueueMessage('another long error message','error');
Factory::getApplication()->enqueueMessage('another very long error message','error');
Factory::getApplication()->enqueueMessage('warning message','warning');
Factory::getApplication()->enqueueMessage('warning message','warning');
Factory::getApplication()->enqueueMessage('notice message','notice');

Actual result BEFORE applying this Pull Request

image

Expected result AFTER applying this Pull Request

Screen Shot 2020-08-17 at 15 39 28

@brianteeman @chmst

avatar infograf768 infograf768 - open - 17 Aug 2020
avatar infograf768 infograf768 - change - 17 Aug 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Aug 2020
Category Repository NPM Change
avatar brianteeman
brianteeman - comment - 17 Aug 2020

I am wondering if it is obvious that there are two separate error messages

avatar brianteeman
brianteeman - comment - 17 Aug 2020

Perhaps adding this divider line helps?

.alert-message:not(:first-of-type) {
    border-top: 1px solid var(--alert-accent-color);
}

image

avatar infograf768
infograf768 - comment - 17 Aug 2020

Looks good. Will test tomorrow.

avatar infograf768
infograf768 - comment - 17 Aug 2020

It would look good for long messages in Installation but not really in admin.

Screen Shot 2020-08-17 at 19 05 22

avatar chmst
chmst - comment - 17 Aug 2020

In admin, multiple messages are really rare. And if they occur, it is worth to give them place. So it looks good for me.

avatar infograf768 infograf768 - change - 18 Aug 2020
Labels Added: NPM Resource Changed ?
avatar joomla-cms-bot joomla-cms-bot - change - 18 Aug 2020
Category Repository NPM Change Administration Templates (admin) NPM Change Repository Layout Front End Templates (site)
avatar infograf768 infograf768 - change - 18 Aug 2020
The description was changed
avatar infograf768 infograf768 - edited - 18 Aug 2020
avatar infograf768 infograf768 - change - 18 Aug 2020
Title
[4.0] Fix Alert multiple error display in Installation
[4.0] Fix Alert multiple error display
avatar infograf768 infograf768 - edited - 18 Aug 2020
avatar infograf768
infograf768 - comment - 18 Aug 2020

In fact I succeeded adding the border.
Can be tested during installation as well as in back-end or frontend.
Updated Testing instructions.

Screen Shot 2020-08-18 at 07 36 35

Screen Shot 2020-08-18 at 07 30 20

Please @chmst and @brianteeman test again.

avatar chmst chmst - test_item - 20 Aug 2020 - Tested successfully
avatar chmst
chmst - comment - 20 Aug 2020

I have tested this item successfully on 131d19a


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

avatar chmst
chmst - comment - 20 Aug 2020

I have tested this item successfully on 131d19a


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

avatar Quy Quy - test_item - 20 Aug 2020 - Tested successfully
avatar Quy
Quy - comment - 20 Aug 2020

I have tested this item successfully on 131d19a


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

avatar Quy Quy - change - 20 Aug 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 20 Aug 2020

RTC


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

avatar rdeutz rdeutz - change - 21 Aug 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-08-21 10:01:15
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 21 Aug 2020
avatar rdeutz rdeutz - merge - 21 Aug 2020

Add a Comment

Login with GitHub to post a comment