Skip to content

Comments

[4.0] Atum and Cassiopea Change alerts styling - space saving +#30294

Merged
wilsonge merged 11 commits intojoomla:4.0-devfrom
infograf768:4_0_atum_alerts
Aug 11, 2020
Merged

[4.0] Atum and Cassiopea Change alerts styling - space saving +#30294
wilsonge merged 11 commits intojoomla:4.0-devfrom
infograf768:4_0_atum_alerts

Conversation

@infograf768
Copy link
Member

@infograf768 infograf768 commented Aug 5, 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

@Quy
Copy link
Contributor

Quy commented Aug 5, 2020

30294

@infograf768
Copy link
Member Author

infograf768 commented Aug 6, 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

@infograf768
Copy link
Member Author

@Quy
Done. We now get:

Screen Shot 2020-08-06 at 08 45 43

@SharkyKZ
Copy link
Contributor

SharkyKZ commented Aug 6, 2020

Screenshot_2020-08-06 Login

Screenshot_2020-08-06 Joomla - Administration

Screenshot_2020-08-06 Control Panel - Joomla - Administration

@Quy
Copy link
Contributor

Quy commented Aug 6, 2020

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

@infograf768
Copy link
Member Author

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

@SharkyKZ
Copy link
Contributor

SharkyKZ commented Aug 6, 2020

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

@infograf768
Copy link
Member Author

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.

@infograf768 infograf768 changed the title [4.0] Atum Change alerts styling - space saving + [4.0] Atum and Cassiopea Change alerts styling - space saving + Aug 6, 2020
@infograf768
Copy link
Member Author

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

@richard67
Copy link
Member

@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?

@infograf768
Copy link
Member Author

On it

@infograf768
Copy link
Member Author

@richard67
Completed

@infograf768
Copy link
Member Author

Will complete Pr tomorrow with alerts in Installation

@chmst
Copy link
Contributor

chmst commented Aug 7, 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.

@infograf768
Copy link
Member Author

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

Folks, please now test.

@infograf768
Copy link
Member Author

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

@infograf768
Copy link
Member Author

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/

@richard67
Copy link
Member

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.

@richard67
Copy link
Member

richard67 commented Aug 8, 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.

@richard67
Copy link
Member

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.

@alikon
Copy link
Contributor

alikon commented Aug 10, 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.

@alikon
Copy link
Contributor

alikon commented Aug 10, 2020

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 10, 2020
@wilsonge wilsonge merged commit 7897918 into joomla:4.0-dev Aug 11, 2020
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Aug 11, 2020
@wilsonge
Copy link
Contributor

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

@wilsonge wilsonge added this to the Joomla 4.0 milestone Aug 11, 2020
@infograf768 infograf768 deleted the 4_0_atum_alerts branch August 11, 2020 10:35
dgrammatiko added a commit to dgrammatiko/joomla-cms that referenced this pull request Aug 13, 2020
…om_templates

* '4.0-dev' of github.com:joomla/joomla-cms:
  Add closing quote (joomla#30353)
  [4.0] Make sure the renderer does not manipulate the inline CSS and JS (joomla#28719)
  [4.0] Atum and Cassiopea Change alerts styling - space saving + (joomla#30294)
  Update editor versions (joomla#30340)
  [4.0][mod_menu] Add space for 'menu class' (joomla#30341)
  Optimize code for aria-current (joomla#30328)
  [4.0] Composer and npm updates 10 Aug (joomla#30334)
  [4.0] fix js code style (joomla#30335)
sakiss pushed a commit to sakiss/joomla-cms that referenced this pull request Oct 16, 2020
brianteeman added a commit to brianteeman/joomla-cms that referenced this pull request Nov 14, 2021
This is a replacement to part of the merged PR joomla#30294

It does exactly the same thing but by using css logical properties we avoid the need to maintain both an LTR and an RTL version

There is no visual change.
wilsonge pushed a commit that referenced this pull request Nov 28, 2021
This is a replacement to part of the merged PR #30294

It does exactly the same thing but by using css logical properties we avoid the need to maintain both an LTR and an RTL version

There is no visual change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NPM Resource Changed This Pull Request can't be tested by Patchtester

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants