? ? Pending

User tests: Successful: Unsuccessful:

avatar thednp
thednp
22 Sep 2021

Pull Request for PR #35639 .

Important

This PR should be merged into [4.0-dev] as well asap.

Summary of Changes

  • The fontawesome icon library haven't marked their $fa-fw-width variable with !default, see #17482 which uses (20em / 16) expression which is deprecated in dart-sass 2.0 and also largely reported in the fontawesome issues.

  • Other changes in this PR also address other dart-sass issues, but we don't replace for instance 24 / 16 with math.div(24, 16) as recommended by the compiler, but with 24 * 0.0625 (which is the result of 1/16) and the reason for that is the libsass compiler still largely used and this approach is also widely adopted. I suspect scssPhp also might not have math implemented.

  • See this PR in fontawesome
    for more info.

Testing Instructions

Just build and check SASS compiler output.

Actual result BEFORE applying this Pull Request

The compiler just won't do division via the / (forward slash) operator
https://ci.joomla.org/joomla/joomla-cms/47599

Expected result AFTER applying this Pull Request

All scss files compiled successful.

Documentation Changes Required

No.

avatar thednp thednp - open - 22 Sep 2021
avatar thednp thednp - change - 22 Sep 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Sep 2021
Category Administration Templates (admin) NPM Change Repository Installation Front End Templates (site)
avatar thednp thednp - change - 22 Sep 2021
The description was changed
avatar thednp thednp - edited - 22 Sep 2021
avatar thednp thednp - change - 22 Sep 2021
Title
[4.1-dev] Fixing SCSS issues with math.div()
[4.1-dev] Fixing SCSS issues with division deprecation and math.div()
avatar thednp thednp - edited - 22 Sep 2021
avatar thednp thednp - change - 22 Sep 2021
The description was changed
avatar thednp thednp - edited - 22 Sep 2021
avatar thednp thednp - change - 22 Sep 2021
The description was changed
avatar thednp thednp - edited - 22 Sep 2021
avatar thednp
thednp - comment - 22 Sep 2021

@dgrammatiko and any other please test and push this.

avatar brianteeman
brianteeman - comment - 22 Sep 2021

If you want it to be merged into 4.0 then you should do the pr on that branch and not 4.1

From your description it implies that its just for fontawesome but I see in the files that it applies elsewhere. Please confirm and update your initial post and test instructions

avatar thednp
thednp - comment - 22 Sep 2021

I need this in 4.1 for #35639.

It is for fontawesome mainly, but also some other minor changes to pass the compiler. As you can see for yourself. So close commit and re-commit to 4.0? and then someone else will merge the change to 4.1?

4.1 branch is important to get that PR solved.

avatar thednp thednp - change - 22 Sep 2021
The description was changed
avatar thednp thednp - edited - 22 Sep 2021
avatar dgrammatiko
dgrammatiko - comment - 22 Sep 2021

So close commit and re-commit to 4.0?

You don't have to close and reopen you can rebase it to 4.0-dev, eg click on the edit next to the PR's title and then select the branch
Screenshot 2021-09-22 at 19 38 01

avatar thednp
thednp - comment - 22 Sep 2021

I can't do that right now, I'm still working with GH app on the color-picker branch.

avatar thednp thednp - change - 22 Sep 2021
Labels Added: NPM Resource Changed ?
avatar joomla-cms-bot joomla-cms-bot - change - 22 Sep 2021
Category Administration Templates (admin) NPM Change Repository Installation Front End Templates (site) Unit Tests Repository Administration com_admin com_associations com_banners com_cache com_checkin com_contact com_content com_finder com_installer com_joomlaupdate com_languages com_media com_menus com_messages com_modules com_newsfeeds
avatar thednp thednp - change - 22 Sep 2021
Labels Added: ?
Removed: NPM Resource Changed
avatar joomla-cms-bot joomla-cms-bot - change - 22 Sep 2021
Category Administration Repository Unit Tests com_admin com_associations com_banners com_cache com_checkin com_contact com_content com_finder com_installer com_joomlaupdate com_languages com_media com_menus com_messages com_modules com_newsfeeds Unit Tests Administration com_admin com_associations com_banners com_cache com_checkin com_contact com_content com_finder com_installer com_joomlaupdate com_languages com_media com_menus com_messages com_modules com_newsfeeds com_plugins com_postinstall com_redirect
avatar thednp thednp - change - 22 Sep 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-09-22 18:13:05
Closed_By thednp
avatar thednp thednp - close - 22 Sep 2021

Add a Comment

Login with GitHub to post a comment