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 ] Fix - Inspect not working in Unified Timeline (e…
…lastic#185924) ## Summary Fixes - elastic/security-team#9598. - elastic#181882 This PR fixes 2 issues. ### Inspect button not working 1. Inspect button was not working with Unified Timeline changes. 2. This PR Fixes that and adds test as well for same. ### Inspect Performance Since in unified timeline we fetch 500 records at a time, the inspect tab was facing performance issues as can be seen below: |Before|After| |---|---| |<video src="https://github.com/elastic/kibana/assets/7485038/1f3a938b-06ab-4146-b76e-06b4c3712d47"/>|<video src="https://github.com/elastic/kibana/assets/7485038/77833673-d904-4cb6-98ff-a67e78185520" />| As a solution, `EuiCodeBlock` is being replaced with `MonacoCodeEditor` which loads the code in lazily. ### Checklist Delete any items that are not applicable to this PR. - [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] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information
1 parent
bd16e7e
commit 584f4ee
Showing
9 changed files
with
327 additions
and
270 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
Oops, something went wrong.