Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ResponseOps] Fix scss deprecation issue #190948

Merged
merged 3 commits into from
Aug 22, 2024

Conversation

adcoelho
Copy link
Contributor

Fixes #190927

Summary

This pr fixes a small deprecation issue after the SASS upgrade. I opted into the new syntax.

@adcoelho adcoelho added release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.16.0 labels Aug 21, 2024
@adcoelho adcoelho requested a review from a team August 21, 2024 08:36
@adcoelho adcoelho self-assigned this Aug 21, 2024
@adcoelho adcoelho requested a review from a team as a code owner August 21, 2024 08:36
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@adcoelho
Copy link
Contributor Author

@petrklapka It seems opting into the new & {} semantics leads to an Unexpected duplicate selector error. Am I doing something wrong here? 😅

@petrklapka
Copy link
Member

@petrklapka It seems opting into the new & {} semantics leads to an Unexpected duplicate selector error. Am I doing something wrong here? 😅

Hey @adcoelho! I believe what you want to do is keep whatever the current behavior is once the SASS deprecation happens in a future version. In order to do that, you want to swap the rule and declaration order. Check out what Vadim did here for his fix.

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @adcoelho

@adcoelho adcoelho merged commit 29a45fc into elastic:main Aug 22, 2024
20 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Aug 22, 2024
Copy link
Member

@umbopepato umbopepato left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CSS Deprecation Issue for Team: response-ops, Found in file: add_message_variables.scss
7 participants