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] Convert isolate host to standalone flyout (#211853) #212434

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

kibanamachine
Copy link
Contributor

Backport

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

Questions ?

Please refer to the Backport tool documentation

…c#211853)

## Summary

Ref: elastic#207596

This PR fixed a bug where when user has a alert open in preview, then
clicks isolate/release host, the panel opens in the background. This is
because the isolate host panel was called via `openRightPanel`, which
only replaces the panel and not opens a new flyout. To make the isolate
host flyout consistent with other actions, this PR converts the panel
into a normal EUI flyout.

https://github.com/user-attachments/assets/7da4baa0-61ee-4166-9ff1-57c1078a1547

**How to test**
- Apply license (platinum+)
- To enable the isolate/release host button, you can use this command
`yarn test:generate --fleet --withNewUser=test:changeme`

### Checklist

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit 74e1320)
@kibanamachine kibanamachine merged commit 6cdb590 into elastic:8.x Feb 25, 2025
11 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

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 9.1MB 9.1MB +1.1KB

cc @christineweng

SoniaSanzV pushed a commit to SoniaSanzV/kibana that referenced this pull request Mar 4, 2025
…lastic#211853) (elastic#212434)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] Convert isolate host to standalone flyout
(elastic#211853)](elastic#211853)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"christineweng","email":"18648970+christineweng@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-25T18:11:36Z","message":"[Security
Solution] Convert isolate host to standalone flyout (elastic#211853)\n\n##
Summary\n\nRef: https://github.com/elastic/kibana/issues/207596\n\nThis
PR fixed a bug where when user has a alert open in preview, then\nclicks
isolate/release host, the panel opens in the background. This
is\nbecause the isolate host panel was called via `openRightPanel`,
which\nonly replaces the panel and not opens a new flyout. To make the
isolate\nhost flyout consistent with other actions, this PR converts the
panel\ninto a normal EUI
flyout.\n\n\nhttps://github.com/user-attachments/assets/7da4baa0-61ee-4166-9ff1-57c1078a1547\n\n\n**How
to test**\n- Apply license (platinum+)\n- To enable the isolate/release
host button, you can use this command\n`yarn test:generate --fleet
--withNewUser=test:changeme`\n\n\n### Checklist\n\n- [ ] Any text added
follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"74e132027617cbeef8a41450626065a884505068","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:Threat
Hunting:Investigations","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Security
Solution] Convert isolate host to standalone
flyout","number":211853,"url":"https://github.com/elastic/kibana/pull/211853","mergeCommit":{"message":"[Security
Solution] Convert isolate host to standalone flyout (elastic#211853)\n\n##
Summary\n\nRef: https://github.com/elastic/kibana/issues/207596\n\nThis
PR fixed a bug where when user has a alert open in preview, then\nclicks
isolate/release host, the panel opens in the background. This
is\nbecause the isolate host panel was called via `openRightPanel`,
which\nonly replaces the panel and not opens a new flyout. To make the
isolate\nhost flyout consistent with other actions, this PR converts the
panel\ninto a normal EUI
flyout.\n\n\nhttps://github.com/user-attachments/assets/7da4baa0-61ee-4166-9ff1-57c1078a1547\n\n\n**How
to test**\n- Apply license (platinum+)\n- To enable the isolate/release
host button, you can use this command\n`yarn test:generate --fleet
--withNewUser=test:changeme`\n\n\n### Checklist\n\n- [ ] Any text added
follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"74e132027617cbeef8a41450626065a884505068"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211853","number":211853,"mergeCommit":{"message":"[Security
Solution] Convert isolate host to standalone flyout (elastic#211853)\n\n##
Summary\n\nRef: https://github.com/elastic/kibana/issues/207596\n\nThis
PR fixed a bug where when user has a alert open in preview, then\nclicks
isolate/release host, the panel opens in the background. This
is\nbecause the isolate host panel was called via `openRightPanel`,
which\nonly replaces the panel and not opens a new flyout. To make the
isolate\nhost flyout consistent with other actions, this PR converts the
panel\ninto a normal EUI
flyout.\n\n\nhttps://github.com/user-attachments/assets/7da4baa0-61ee-4166-9ff1-57c1078a1547\n\n\n**How
to test**\n- Apply license (platinum+)\n- To enable the isolate/release
host button, you can use this command\n`yarn test:generate --fleet
--withNewUser=test:changeme`\n\n\n### Checklist\n\n- [ ] Any text added
follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"74e132027617cbeef8a41450626065a884505068"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: christineweng <18648970+christineweng@users.noreply.github.com>
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.

3 participants