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

[8.x] [Security Solution] [EUI Refresh] styled component migration Dashboards (#208731) #210967

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

kapral18
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…ds (elastic#208731)

## Summary

Addresses elastic#206439
This PR migrates explore page from styled-components to @emotion/styled.
In the process I also convert the kbn/ui-theme json tokens to euiTheme
counterparts.

https://github.com/user-attachments/assets/6cdfbf15-9a77-488c-a0b9-42acc3fe1768

---------

Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Karen Grigoryan <[email protected]>
(cherry picked from commit f92e50a)

# Conflicts:
#	packages/kbn-babel-preset/styled_components_files.js
#	x-pack/solutions/security/plugins/security_solution/public/overview/components/detection_response/alerts_by_status/alerts_by_status.tsx
#	x-pack/solutions/security/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx
#	x-pack/solutions/security/plugins/security_solution/public/overview/components/host_overview/index.tsx
@kapral18 kapral18 force-pushed the backport/8.x/pr-208731 branch from 87236c7 to 034b12f Compare February 13, 2025 13:17
@elasticmachine
Copy link
Contributor

elasticmachine commented Feb 13, 2025

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #9 / Tags it changes the tags

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 18.7MB 18.7MB -4.1KB

History

@kapral18 kapral18 merged commit 12738e9 into elastic:8.x Feb 13, 2025
8 checks passed
@kapral18 kapral18 deleted the backport/8.x/pr-208731 branch February 13, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants