forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Update preview navigation in entity details flyout (
elastic#204513) ## Summary This PR enables navigation when an user is viewing a host or user preview. The main navigation logic has been extracted to 2 hooks `useNavigateToHostDetails` and `useNavigateToUserDetails` To see the new navigation, enable feature flag `newExpandableFlyoutNavigationEnabled` **How navigation used to work:** - When an entity details flyout is open, some sections have navigation links to open the details panel in the left (i.e. risk contribution, alert insights etc.) - However, these navigations were disabled in a preview mode, and user is limited to stay in the original flyout context **Preview navigations now available** - When the feature flag is on, navigation links is available - For example, an user is on a host preview, and click on `alert`, a new flyout will be opened (for the new host context) and the alert insights details section will be available.
- Loading branch information
1 parent
a21fb6c
commit 715c59d
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.