-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Integrate Vanilla Unified Data Table in Timeline (#…
…176064) ## Fixes below issues - elastic/security-team#8726 - elastic/security-team#7234 ## Details ### Objective The objective of this PR is to implement basic unified data table replacing the current timeline table. It is intended to behave exactly like discover table. Below are the functionalities of the timeline table that are out of scope of this PR and will be included in the follow up PR. |Before|After| |---|---| |<video src="https://github.com/elastic/kibana/assets/7485038/fd8e4a42-06ed-4705-96cf-3ed0a22caa46" />|<video src="https://github.com/elastic/kibana/assets/7485038/d248856f-dcc0-4d5b-a710-b1218a4898f5" />| This feature can be enabled with below feature flag: ```yaml xpack.securitySolution.enableExperimental: - unifiedComponentsInTimelineEnabled ``` ### Out of scope functionalities - Row Renderers - elastic/security-team#8728 - Notes / Pinned Events / Analyzer / Session View Link - elastic/security-team#8727 - Drag / Drop from table --> data providers. - Telemetry ### Desk Testing Guide Below are some areas which have changes and would warrant some desk testing. One pre-requisite is to enable feature flag `unifiedComponentsInTimelineEnabled` which will replace traditional timeline table with the new unified timeline table. 1. **Pagination** - If total number of events are > sample size ( default 500 ), table footer on last page should display the notification so that user can `Load More` on-demand. - Page changes should be instant, because it is just client-side pagination where we download multiple pages ( 500 events ) at once. 3. **Flyouts** - Event Detail ( Open / Close ) - should be new Expandable flyout - Host / User / IP details flyout ( Open / Close) 4. Unified List - Add column by dragging & by clicking ⨁ control. - Remove columns by clicking on column header & by clicking on ❌ control 3. Full screen mode 6. Last updated date 7. Columns Order - Change columns order from table controls 8. Sort Order - timestamp - Any number column - Any string column 9. Column Actions - Move Right/Left - Sort Asc/Desc - Copy Column and Column Name - Edit Data View Field with custom label 8. Table Control - Display Options - <img width="517" alt="image" src="https://github.com/elastic/kibana/assets/7485038/efd4514a-20f1-4461-8686-78366bc9a611"> - Try different row heights and Sample sizes. ## Current Observations of Unified table vis-a-vis discover UI + Issues - [ ] Discover has custom UI on toolbar visibility when compared to vanilla unified data table - [x] Full screen behaviour of unified data table - [x] column width calculation is not automatic. - [x] Unsaved Timeline - [x] Saved Timeline - [x] Host/Network Flyout is not opening when timeline is not saved - [x] Flyout is not closing after it has been opened - [ ] Row highlighting for building block -> Will be covered with Actions Column - [x] Additional Controls - [x] Row Renderer Selection - [x] Last updated Date - [x] Full Screen - [ ] Table controls tab order - [ ] Refactor singleton ActiveTimeline class ( Inform @PhilippeOberti ) - [ ] Total Count not visible ### Checklist Delete any items that are not applicable to this PR. - [ ] 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/packages/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [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 - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [ ] Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/)) - [ ] Any UI touched in this PR does not create any new axe failures (run axe in browser: [FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/), [Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US)) - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [ ] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server)) - [ ] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) --------- Co-authored-by: Jatin Kathuria <jatin.kathuria@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
- Loading branch information
1 parent
61b80ca
commit 883beee
Showing
93 changed files
with
5,239 additions
and
518 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
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.