-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Security Solution] Update preview navigation in entity details…
… flyout (#204513) (#204961) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution] Update preview navigation in entity details flyout (#204513)](#204513) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"christineweng","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-19T14:46:30Z","message":"[Security Solution] Update preview navigation in entity details flyout (#204513)\n\n## Summary\r\n\r\nThis PR enables navigation when an user is viewing a host or user\r\npreview. The main navigation logic has been extracted to 2 hooks\r\n`useNavigateToHostDetails` and `useNavigateToUserDetails`\r\n\r\nTo see the new navigation, enable feature flag\r\n`newExpandableFlyoutNavigationEnabled`\r\n\r\n**How navigation used to work:**\r\n\r\n- When an entity details flyout is open, some sections have navigation\r\nlinks to open the details panel in the left (i.e. risk contribution,\r\nalert insights etc.)\r\n- However, these navigations were disabled in a preview mode, and user\r\nis limited to stay in the original flyout context\r\n\r\n**Preview navigations now available**\r\n- When the feature flag is on, navigation links is available\r\n- For example, an user is on a host preview, and click on `alert`, a new\r\nflyout will be opened (for the new host context) and the alert insights\r\ndetails section will be available.","sha":"715c59dfa9bf9ef1d535c2853fcdd85b9c64b76e","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","v9.0.0","Team:Threat Hunting","release_note:feature","Team:Threat Hunting:Investigations","Team:Entity Analytics","v8.18.0"],"title":"[Security Solution] Update preview navigation in entity details flyout","number":204513,"url":"https://github.com/elastic/kibana/pull/204513","mergeCommit":{"message":"[Security Solution] Update preview navigation in entity details flyout (#204513)\n\n## Summary\r\n\r\nThis PR enables navigation when an user is viewing a host or user\r\npreview. The main navigation logic has been extracted to 2 hooks\r\n`useNavigateToHostDetails` and `useNavigateToUserDetails`\r\n\r\nTo see the new navigation, enable feature flag\r\n`newExpandableFlyoutNavigationEnabled`\r\n\r\n**How navigation used to work:**\r\n\r\n- When an entity details flyout is open, some sections have navigation\r\nlinks to open the details panel in the left (i.e. risk contribution,\r\nalert insights etc.)\r\n- However, these navigations were disabled in a preview mode, and user\r\nis limited to stay in the original flyout context\r\n\r\n**Preview navigations now available**\r\n- When the feature flag is on, navigation links is available\r\n- For example, an user is on a host preview, and click on `alert`, a new\r\nflyout will be opened (for the new host context) and the alert insights\r\ndetails section will be available.","sha":"715c59dfa9bf9ef1d535c2853fcdd85b9c64b76e"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204513","number":204513,"mergeCommit":{"message":"[Security Solution] Update preview navigation in entity details flyout (#204513)\n\n## Summary\r\n\r\nThis PR enables navigation when an user is viewing a host or user\r\npreview. The main navigation logic has been extracted to 2 hooks\r\n`useNavigateToHostDetails` and `useNavigateToUserDetails`\r\n\r\nTo see the new navigation, enable feature flag\r\n`newExpandableFlyoutNavigationEnabled`\r\n\r\n**How navigation used to work:**\r\n\r\n- When an entity details flyout is open, some sections have navigation\r\nlinks to open the details panel in the left (i.e. risk contribution,\r\nalert insights etc.)\r\n- However, these navigations were disabled in a preview mode, and user\r\nis limited to stay in the original flyout context\r\n\r\n**Preview navigations now available**\r\n- When the feature flag is on, navigation links is available\r\n- For example, an user is on a host preview, and click on `alert`, a new\r\nflyout will be opened (for the new host context) and the alert insights\r\ndetails section will be available.","sha":"715c59dfa9bf9ef1d535c2853fcdd85b9c64b76e"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: christineweng <[email protected]>
- Loading branch information
1 parent
17b5861
commit 8a14346
Showing
25 changed files
with
872 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.