-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security Solution] Eui visual refresh - make palettes theme aware #205873
[Security Solution] Eui visual refresh - make palettes theme aware #205873
Conversation
Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations) |
Pinging @elastic/security-threat-hunting-explore (Team:Threat Hunting:Explore) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Lucas, thanks so much for updating the configs for map and visualizations:
I think we can keep the changes for map, as for visualizations should have been updated in the PRs below:
#204631 (comment)
#206254
3fce630
to
9825390
Compare
Done, this PR is just about the map config now:) @angorayc |
...curity/plugins/security_solution/public/explore/network/components/embeddables/map_config.ts
Outdated
Show resolved
Hide resolved
...curity/plugins/security_solution/public/explore/network/components/embeddables/map_config.ts
Show resolved
Hide resolved
...curity/plugins/security_solution/public/explore/network/components/embeddables/map_config.ts
Outdated
Show resolved
Hide resolved
...curity/plugins/security_solution/public/explore/network/components/embeddables/map_config.ts
Outdated
Show resolved
Hide resolved
...curity/plugins/security_solution/public/explore/network/components/embeddables/map_config.ts
Outdated
Show resolved
Hide resolved
...curity/plugins/security_solution/public/explore/network/components/embeddables/map_config.ts
Outdated
Show resolved
Hide resolved
...curity/plugins/security_solution/public/explore/network/components/embeddables/map_config.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code changes LGTM from EUI side.
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
|
…lastic#205873) ## Summary This PR resolves elastic#201882 by making sure that EUI palette functions are called during component re-renders in Security Solution. ### Testing Please verify if visualizations are displayed properly. Running Kibana with the Borealis theme In order to run Kibana with Borealis, you'll need to do the following: Set the following in kibana.dev.yml: `uiSettings.experimental.themeSwitcherEnabled: true` Run Kibana with the following environment variable set: `KBN_OPTIMIZER_THEMES="borealislight,borealisdark,v8light,v8dark" yarn start` This will expose a toggle under Stack Management > Advanced Settings > Theme version, which you can use to toggle between Amsterdam and Borealis.
…lastic#205873) ## Summary This PR resolves elastic#201882 by making sure that EUI palette functions are called during component re-renders in Security Solution. ### Testing Please verify if visualizations are displayed properly. Running Kibana with the Borealis theme In order to run Kibana with Borealis, you'll need to do the following: Set the following in kibana.dev.yml: `uiSettings.experimental.themeSwitcherEnabled: true` Run Kibana with the following environment variable set: `KBN_OPTIMIZER_THEMES="borealislight,borealisdark,v8light,v8dark" yarn start` This will expose a toggle under Stack Management > Advanced Settings > Theme version, which you can use to toggle between Amsterdam and Borealis. (cherry picked from commit bcb3d70) # Conflicts: # x-pack/solutions/security/plugins/security_solution/public/explore/network/components/embeddables/__mocks__/mock.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…are (#205873) (#211222) # Backport This will backport the following commits from `main` to `9.0`: - [[Security Solution] Eui visual refresh - make palettes theme aware (#205873)](#205873) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Luke Gmys","email":"11671118+lgestc@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-10T10:05:23Z","message":"[Security Solution] Eui visual refresh - make palettes theme aware (#205873)\n\n## Summary\r\n\r\nThis PR resolves #201882 by\r\nmaking sure that EUI palette functions are called during component\r\nre-renders in Security Solution.\r\n\r\n### Testing\r\n\r\nPlease verify if visualizations are displayed properly.\r\n\r\nRunning Kibana with the Borealis theme\r\nIn order to run Kibana with Borealis, you'll need to do the following:\r\n\r\nSet the following in kibana.dev.yml:\r\n`uiSettings.experimental.themeSwitcherEnabled: true`\r\n\r\nRun Kibana with the following environment variable set:\r\n`KBN_OPTIMIZER_THEMES=\"borealislight,borealisdark,v8light,v8dark\" yarn\r\nstart`\r\n\r\nThis will expose a toggle under Stack Management > Advanced Settings >\r\nTheme version, which you can use to toggle between Amsterdam and\r\nBorealis.","sha":"bcb3d709b99ebe05a2a193fc975c680700bcfe73","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","Team:Threat Hunting:Investigations","Team:Threat Hunting:Explore","EUI Visual Refresh","v9.1.0"],"title":"[Security Solution] Eui visual refresh - make palettes theme aware","number":205873,"url":"https://github.com/elastic/kibana/pull/205873","mergeCommit":{"message":"[Security Solution] Eui visual refresh - make palettes theme aware (#205873)\n\n## Summary\r\n\r\nThis PR resolves #201882 by\r\nmaking sure that EUI palette functions are called during component\r\nre-renders in Security Solution.\r\n\r\n### Testing\r\n\r\nPlease verify if visualizations are displayed properly.\r\n\r\nRunning Kibana with the Borealis theme\r\nIn order to run Kibana with Borealis, you'll need to do the following:\r\n\r\nSet the following in kibana.dev.yml:\r\n`uiSettings.experimental.themeSwitcherEnabled: true`\r\n\r\nRun Kibana with the following environment variable set:\r\n`KBN_OPTIMIZER_THEMES=\"borealislight,borealisdark,v8light,v8dark\" yarn\r\nstart`\r\n\r\nThis will expose a toggle under Stack Management > Advanced Settings >\r\nTheme version, which you can use to toggle between Amsterdam and\r\nBorealis.","sha":"bcb3d709b99ebe05a2a193fc975c680700bcfe73"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205873","number":205873,"mergeCommit":{"message":"[Security Solution] Eui visual refresh - make palettes theme aware (#205873)\n\n## Summary\r\n\r\nThis PR resolves #201882 by\r\nmaking sure that EUI palette functions are called during component\r\nre-renders in Security Solution.\r\n\r\n### Testing\r\n\r\nPlease verify if visualizations are displayed properly.\r\n\r\nRunning Kibana with the Borealis theme\r\nIn order to run Kibana with Borealis, you'll need to do the following:\r\n\r\nSet the following in kibana.dev.yml:\r\n`uiSettings.experimental.themeSwitcherEnabled: true`\r\n\r\nRun Kibana with the following environment variable set:\r\n`KBN_OPTIMIZER_THEMES=\"borealislight,borealisdark,v8light,v8dark\" yarn\r\nstart`\r\n\r\nThis will expose a toggle under Stack Management > Advanced Settings >\r\nTheme version, which you can use to toggle between Amsterdam and\r\nBorealis.","sha":"bcb3d709b99ebe05a2a193fc975c680700bcfe73"}}]}] BACKPORT--> Co-authored-by: Luke Gmys <11671118+lgestc@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Summary
This PR resolves #201882 by making sure that EUI palette functions are called during component re-renders in Security Solution.
Testing
Please verify if visualizations are displayed properly.
Running Kibana with the Borealis theme
In order to run Kibana with Borealis, you'll need to do the following:
Set the following in kibana.dev.yml:
uiSettings.experimental.themeSwitcherEnabled: true
Run Kibana with the following environment variable set:
KBN_OPTIMIZER_THEMES="borealislight,borealisdark,v8light,v8dark" yarn start
This will expose a toggle under Stack Management > Advanced Settings > Theme version, which you can use to toggle between Amsterdam and Borealis.