Skip to content

Update libs#1295

Merged
pakb merged 2 commits intodevelopfrom
update-libs
Apr 15, 2025
Merged

Update libs#1295
pakb merged 2 commits intodevelopfrom
update-libs

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented Apr 14, 2025

adapt SCSS code to SASS 1.77.7 (see https://sass-lang.com/documentation/breaking-changes/mixed-decls/) -> moving all "main" declaration before any nested declaration

Test link

@cypress
Copy link

cypress bot commented Apr 14, 2025

web-mapviewer    Run #5027

Run Properties:  status check passed Passed #5027  •  git commit 9af79c404a: Merge pull request #1295 from geoadmin/update-libs
Project web-mapviewer
Branch Review develop
Run status status check passed Passed #5027
Run duration 01m 24s
Commit git commit 9af79c404a: Merge pull request #1295 from geoadmin/update-libs
Committer Pascal Barth
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 1
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 48
View all changes introduced in this branch ↗︎

adapt SCSS code to SASS 1.77.7 (see https://sass-lang.com/documentation/breaking-changes/mixed-decls/)
-> moving all "main" declaration before any nested declaration
after switching to OL v10.5.0 our code that tests a drag&drop edit of a marker is broken.
I tried all the tricks in the books but couldn't make it work again. Removing that test entirely
@pakb pakb marked this pull request as ready for review April 15, 2025 09:59
Copy link
Contributor

@schtibe schtibe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +69 to +75

&.dev-disclaimer-present {
$top-margin: calc($header-height + $dev-disclaimer-height + 1rem);
}
& {
top: $top-margin;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a lint rule that detects if the nested declarations are before the main declarations?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that would require adding Stylelint to the project, but that could help... I'll add that to the "to-do/Christmas whishlist" in JIRA 😉

@pakb pakb merged commit 9af79c4 into develop Apr 15, 2025
6 checks passed
@pakb pakb deleted the update-libs branch April 15, 2025 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants