NPM Resource Changed ? ? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
5 Aug 2020

Replaces #28974
Thanks @coolcat-creations for the original PR, here improved
Thanks @Fedik for the suggestions

Summary of Changes

Changed the Header of the message to be next to the message to save space
Decreased paddings
Changed colors

Normalise system.message layout and message.es6 by using div instead of span and p tags

Testing Instructions

Edit or create an article. Let title empty and save.

Install a clean Joomla after patching to test installation errors, see #30294 (comment)

Patch. Run npm.

Test various messages including in the login page.

Actual result BEFORE applying this Pull Request

Screen Shot 2020-08-05 at 18 33 38

Expected result AFTER applying this Pull Request

Screen Shot 2020-08-05 at 18 35 57

avatar infograf768 infograf768 - open - 5 Aug 2020
avatar infograf768 infograf768 - change - 5 Aug 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Aug 2020
Category Administration Templates (admin) NPM Change JavaScript Repository Layout
avatar Quy
Quy - comment - 5 Aug 2020

30294

avatar infograf768
infograf768 - comment - 6 Aug 2020

@Quy
We have to look at that one. Will do but may need some help.

Edit: this message depends on a different layout: /plugins/system/stats/layouts/message.php

avatar infograf768 infograf768 - change - 6 Aug 2020
Labels Added: NPM Resource Changed ?
avatar joomla-cms-bot joomla-cms-bot - change - 6 Aug 2020
Category Administration Templates (admin) NPM Change JavaScript Repository Layout Administration Templates (admin) NPM Change JavaScript Repository Layout Front End Plugins
avatar infograf768
infograf768 - comment - 6 Aug 2020

@Quy
Done. We now get:

Screen Shot 2020-08-06 at 08 45 43

avatar SharkyKZ
SharkyKZ - comment - 6 Aug 2020

Screenshot_2020-08-06 Login

Screenshot_2020-08-06 Joomla - Administration

Screenshot_2020-08-06 Control Panel - Joomla - Administration

avatar Quy
Quy - comment - 6 Aug 2020

I personally like the current styling even though it takes up a little more spacing.

avatar infograf768
infograf768 - comment - 6 Aug 2020

@SharkyKZ
I do get here correctly
Screen Shot 2020-08-06 at 10 11 07

avatar SharkyKZ
SharkyKZ - comment - 6 Aug 2020

My bad, I didn't compile JS. Still looks bad on frontend and on mobile.

avatar infograf768
infograf768 - comment - 6 Aug 2020

My bad, I didn't compile JS. Still looks bad on frontend and on mobile.

Backend:
On mobile I see no specific issue.

Frontend
I had never tested in frontend. ;)
It needs some supplementary work indeed. Looking at it now.

avatar joomla-cms-bot joomla-cms-bot - change - 6 Aug 2020
Category Administration Templates (admin) NPM Change JavaScript Repository Layout Front End Plugins Administration Templates (admin) NPM Change JavaScript Repository Layout Front End Plugins Templates (site)
avatar infograf768 infograf768 - change - 6 Aug 2020
Title
[4.0] Atum Change alerts styling - space saving +
[4.0] Atum and Cassiopea Change alerts styling - space saving +
avatar infograf768 infograf768 - edited - 6 Aug 2020
avatar infograf768
infograf768 - comment - 6 Aug 2020

Adapt alerts in Cassiopea too:
Screen Shot 2020-08-06 at 11 38 23
Screen Shot 2020-08-06 at 11 37 36
Screen Shot 2020-08-06 at 11 36 50

avatar richard67
richard67 - comment - 7 Aug 2020

@infograf768 Drone shows some scss code style errors in its test "scss-cs", see here: https://ci.joomla.org/joomla/joomla-cms/34516/1/24. Could you fix that?

avatar infograf768
infograf768 - comment - 7 Aug 2020

On it

0d6cc9a 7 Aug 2020 avatar infograf768 grrr
avatar infograf768
infograf768 - comment - 7 Aug 2020

@richard67
Completed

avatar infograf768
infograf768 - comment - 7 Aug 2020

Will complete Pr tomorrow with alerts in Installation

avatar chmst
chmst - comment - 7 Aug 2020

@helvecio - maybe relevant in the Frontend Template design


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

avatar joomla-cms-bot joomla-cms-bot - change - 8 Aug 2020
Category Administration Templates (admin) NPM Change JavaScript Repository Layout Front End Plugins Templates (site) Administration Templates (admin) NPM Change JavaScript Repository Installation Layout Front End Plugins Templates (site)
avatar infograf768
infograf768 - comment - 8 Aug 2020

Modifications done for Installation.
We now get:
Screen Shot 2020-08-08 at 07 52 45

Folks, please now test.

avatar infograf768
infograf768 - comment - 8 Aug 2020

I know... have again to correct order in scss. Will do later.

6d287fb 8 Aug 2020 avatar infograf768 grrr
avatar infograf768
infograf768 - comment - 8 Aug 2020

This can also be tested when installing a clean J to test install errors.
For example: enter a wrong db credential or trying to install a language which is not available for j4 (Afrikaans will do).
Prebuilt package can help people not using npm ci
https://ci.joomla.org/artifacts/joomla/joomla-cms/4.0-dev/30294/downloads/34546/

avatar infograf768 infograf768 - change - 8 Aug 2020
The description was changed
avatar infograf768 infograf768 - edited - 8 Aug 2020
avatar richard67
richard67 - comment - 8 Aug 2020

Either I did something wrong (which I always consider as possible), or the installation is missing some (s)css:

j4-pr-30294_01

j4-pr-30294_02

I did an npm run build:css after having applied the PR, and I cleared browser cache, too, and I've verified that the changes in file installation/template/scss/template.scss have been correctly applied by patchtester.

avatar richard67
richard67 - comment - 8 Aug 2020

False alarm. It seems that stuff is really sticky in browser cache. After not having only cleared the cache but also having closed the browser window after that, and having run npm ci instead of compiling the scss only, all looks well:

j4-pr-30294_03

@infograf768 Sorry for false alarm.

avatar richard67 richard67 - test_item - 8 Aug 2020 - Tested successfully
avatar richard67
richard67 - comment - 8 Aug 2020

I have tested this item successfully on 6d287fb

Tested alerts on installation, the statistics alert after installation, alerts in backend and frontend.

The latter (alerts in backend and frontend) I've also tested with RTL language (Persian).

All fine.


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

avatar alikon alikon - test_item - 10 Aug 2020 - Tested successfully
avatar alikon
alikon - comment - 10 Aug 2020

I have tested this item successfully on 6d287fb


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

avatar alikon alikon - change - 10 Aug 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 10 Aug 2020

RTC


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

avatar wilsonge wilsonge - change - 11 Aug 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-08-11 10:33:25
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 11 Aug 2020
avatar wilsonge wilsonge - merge - 11 Aug 2020
avatar wilsonge
wilsonge - comment - 11 Aug 2020

Personally I kinda like the new look. Thanks @coolcat-creations and @infograf768 !

Add a Comment

Login with GitHub to post a comment