NPM Resource Changed ? ? Pending

User tests: Successful: Unsuccessful:

avatar rjharishabh
rjharishabh
29 Apr 2021

Pull Request for Issue #33392.

Summary of Changes

Replicate Atum toolbar in Cassiopeia

Testing Instructions

  • Log In to the frontend
  • Go to Template Setting in Author Menu module or Visit http://localhost/joomla-cms/index.php/create-a-post/template-settings
  • Click Select
  • Apply PR
  • Do npm run build:css
  • Refresh the page and Click Select
  • See the difference

Actual result BEFORE applying this Pull Request

subhead noshadow missing CSS

before-subhead

Expected result AFTER applying this Pull Request

Added CSS in subhead noshadow

after-subhead

Documentation Changes Required

None

avatar rjharishabh rjharishabh - open - 29 Apr 2021
avatar rjharishabh rjharishabh - change - 29 Apr 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Apr 2021
Category Front End Templates (site) NPM Change
avatar sandramay0905 sandramay0905 - test_item - 29 Apr 2021 - Tested successfully
avatar sandramay0905
sandramay0905 - comment - 29 Apr 2021

I have tested this item successfully on 59b1cce


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

avatar rjharishabh
rjharishabh - comment - 30 Apr 2021

@Quy Code review please

avatar Quy
Quy - comment - 30 Apr 2021

Sorry I am not at my computer to test. I will do tomorrow.

avatar rjharishabh
rjharishabh - comment - 30 Apr 2021

Sorry I am not at my computer to test. I will do tomorrow.

No problem

avatar richard67 richard67 - test_item - 1 May 2021 - Tested successfully
avatar richard67
richard67 - comment - 1 May 2021

I have tested this item successfully on 59b1cce


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

avatar richard67 richard67 - change - 1 May 2021
Status Pending Ready to Commit
Labels Added: ? NPM Resource Changed
avatar richard67
richard67 - comment - 1 May 2021

RTC


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

avatar bembelimen
bembelimen - comment - 6 May 2021

Thank you for this PR @rjharishabh
TBH I'm not 100% happy with the approach to "hard enforce" things like: https://github.com/joomla/joomla-cms/pull/33403/files#diff-e1218a0d5d75ad354fd21362d37ab7fd8bf7731253e4a6daa09c5bb34a10afd0R14-R17 and have a mix of PX + REM. The frontend template is BS5 anyways, so is there no way to go with the frontend styling?

avatar rjharishabh
rjharishabh - comment - 6 May 2021

@bembelimen I want to change PX to REM
but there is no direct relation to converting px to rem, it depends on the default pixel size
I replicate Atum toolbar code to Cassiopeia, then I will change there also

avatar bembelimen
bembelimen - comment - 6 May 2021

Default is: 1rem == 16px

avatar bembelimen
bembelimen - comment - 6 May 2021

If you use the same toolbar anyways, you can ofc import it directly instead having two versions...

avatar brianteeman
brianteeman - comment - 6 May 2021

@bembelimen you can't import it because there are atum only variables

avatar richard67 richard67 - change - 6 May 2021
Status Ready to Commit Pending
avatar richard67
richard67 - comment - 6 May 2021

Back to pending due to changes requested in comments above.


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

avatar rjharishabh
rjharishabh - comment - 6 May 2021

@bembelimen you can't import it because there are atum only variables

Yes, there are atum specific variables like atum-bg-dark , atum-link-color, atum-special-color

avatar rjharishabh rjharishabh - change - 6 May 2021
Labels Added: ?
avatar brianteeman
brianteeman - comment - 6 May 2021

@bembelimen why are you asking for the rem to be converted to px? This file was identical to the one in atum except for the color variables. I'm wondering what the logic is for that request.

The link you posted as an example just opens the entire file so its not clear if you really meant the entire file or just some specific parts.

/me confused and can't see anything wrong with the original pr

avatar bembelimen
bembelimen - comment - 6 May 2021

Sorry my fault, the link was only for the ".row" because that's a default element exactly for adding the margin. So it hurts a bit my guts to remove the margin that way, just wanted to point at it as example for "hard enforce".

The px => rem thing was independent from it another issue. We should not mix it I think but have rem when not a 1px border.

avatar brianteeman
brianteeman - comment - 6 May 2021

I understand you now. However as its just the same in atum I wouldnt bother to change it.

the px/rem thing is beyond my skillset. Again its just a direct copy from atum and to be honest seeing a value of .313 is just as ugly

avatar rjharishabh
rjharishabh - comment - 6 May 2021

to be honest seeing a value of .313 is just as ugly

Same with me

Now I understand @bembelimen @brianteeman

It's my mistake to understand it in a wrong way

avatar rjharishabh rjharishabh - change - 6 May 2021
Labels Added: ?
Removed: ?
avatar brianteeman brianteeman - test_item - 6 May 2021 - Tested successfully
avatar brianteeman
brianteeman - comment - 6 May 2021

I have tested this item successfully on 59b1cce


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

avatar richard67 richard67 - change - 7 May 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 7 May 2021

RTC


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

avatar richard67 richard67 - change - 9 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-09 17:37:52
Closed_By richard67
Labels Added: ?
Removed: ?
avatar richard67 richard67 - close - 9 May 2021
avatar richard67 richard67 - merge - 9 May 2021
avatar richard67
richard67 - comment - 9 May 2021

Thanks!

avatar rjharishabh
rjharishabh - comment - 9 May 2021

Thanks for merging

Add a Comment

Login with GitHub to post a comment