-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[RAC] [Meta] Alerts Table UI updates #106585
Comments
Not sure if I labeled this correctly, so please feel free to update I know some of these items are already being worked on (or completed). I'm happy to link up the PRs or mark off the checkbox if so. I will create a separate issue for the flyouts. cc/ @paulewing , @katrin-freihofner, @jasonrhodes , @XavierM |
Added in Empty and Loading state mockups (for DataGrid—should apply to both solutions) |
This PR implements sorting in the `TGrid`, per the animated gifs below: ![observability-sorting](https://user-images.githubusercontent.com/4459398/127960825-5be21a92-81c1-487d-9c62-1335495f4561.gif) _Above: Sorting in Observability, via `EuiDataGrid`'s sort popover_ ![security-solution-sorting](https://user-images.githubusercontent.com/4459398/127961574-00639d4d-762c-4529-bc43-6851d98728da.gif) _Above: Sorting and hiding columns in the Security Solution via `EuiDataGrid`'s column header actions_ * Sorting is disabled for non-aggregatble fields * This PR resolves the `Sort [Object Object]` TODO described [here](elastic#106199 (comment)) * This PR restores the column header tooltips where the TGrid is used in the Security Solution * The `Hide column` action now hides the selected column. Users may re-add hidden columns via the `Fields` browser @mdefazio, please note this behavior differs slightly from the following request in elastic#106585 : > Include toggles on column modifier popover to allow for show/hide option (And the field menu would only be for what is available in the column list) See [EUI Docs examples](https://elastic.github.io/eui/#/tabular-content/data-grid) for expected behavior The behavior is different because, if the `Hide column` action only interacted with the toggles in the column modifier popover, users would have to (re) locate the field in the `Fields` browser, and then uncheck it, to _actually_ remove the column. To allow users to remove columns in a single step, and to avoid confusion, toggles are **not** included in the column modifier popover. To desk test this PR, you must enable feature flags in the Observability and Security Solution: - To desk test the `Observability > Alerts` page, add the following settings to `config/kibana.dev.yml`: ``` xpack.observability.unsafe.cases.enabled: true xpack.observability.unsafe.alertingExperience.enabled: true xpack.ruleRegistry.write.enabled: true ``` - To desk test the TGrid in the following Security Solution, edit `x-pack/plugins/security_solution/common/experimental_features.ts` and in the `allowedExperimentalValues` section set: ```typescript tGridEnabled: true, `` cc @mdefazio
We have created a ticket for that with a note to fix it towards the end of the 7.15.0 cycle #105237. What you suggest here is to still keep the Experimental badge. Can you clarify if we still need the badge or not, cause in the above mentioned ticket we suggest to remove it |
@mgiota My concern was simply the combined uses. I have no issue removing the badge as well. |
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
The following list of UI updates should be considered alongside https://github.com/elastic/security-team/issues/1299
Figma file with updated mockups
Observability updated mockup:
Security updated mockup:
Alerts Page
The following are changes that should be reflected on both Observability and Security
Header
Current:
Update:
Alerts Table
Current:
expand
,timeline
,boxesHorizontal
(Open alert flyout, open in timeline / app, overflow menu) [Security Solution][RAC] - Table Functionality Updates #107917For Security, add a Data view button popover to switch between Data view and Summary viewFor Security,Additional filters
are moved to within the 'Data view' dropdowntableOfContents
icon instead forFields
modifierAlerts Table Filter Options
Current:
sm
,primary
EuiButtonGroup
[Security Solution][Detection Page] Status filter refactor #107249Open
,Acknowledged
,Closed
Last updated...
to same line as button group and right align [Security Solution][RAC] - Table Filter Updates #107923Alert Count
Empty States
I'm unclear as to what our options are with the virtualized EUIDataGrid. So the below is showing the loading of the component itself, not the data from the search (as I understand, the DataGrid headers will be visible but the grid will just be blank? As shown in second mockup)
Datagrid component has not yet rendered
Search loading but datagrid component has rendered
(Is there more we can do here?)
Loading State
I am referencing Discover here (are we able to use the same panel component?). Do we have the capability to update the text here based on why there was no result?
Topics to still be discussed:
The text was updated successfully, but these errors were encountered: