[RAM] Add fields table to rule details page alert flyout#172830
[RAM] Add fields table to rule details page alert flyout#172830umbopepato merged 18 commits intoelastic:mainfrom
Conversation
8a8cf27 to
643d523
Compare
|
Pinging @elastic/response-ops (Team:ResponseOps) |
|
/ci |
…pato/kibana into improve-stack-alerts-table-flyout
cec8034 to
e59fa58
Compare
…pato/kibana into improve-stack-alerts-table-flyout
…pato/kibana into improve-stack-alerts-table-flyout
| <EuiInMemoryTable | ||
| items={Object.entries(alert).map(([key, value]) => ({ key, value: value?.[0] }))} | ||
| itemId="key" | ||
| columns={[ |
There was a problem hiding this comment.
we can create a const for the columns prop
| @@ -0,0 +1,105 @@ | |||
| /* | |||
There was a problem hiding this comment.
can we have some basic unit test to test for the search and pagination?
| import { get } from 'lodash'; | ||
| import React from 'react'; | ||
| import { type EuiDataGridColumn, EuiDescriptionList, EuiPanel, EuiTitle } from '@elastic/eui'; | ||
| import React, { useCallback, useMemo, useState } from 'react'; |
There was a problem hiding this comment.
can we add basic test for tabs?
e46c973 to
2af979d
Compare
XavierM
left a comment
There was a problem hiding this comment.
Awesome, to have this done!
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
History
To update your PR or re-run it, just comment with: |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
) ## Summary Adds a table visualization of alert fields to the rule details page alert flyout. <img width="1504" alt="image" src="https://github.com/elastic/kibana/assets/18363145/50dae2f9-ad34-4563-8388-2777ecc1ca15"> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
…174685) ## Summary Adds the alert fields table from #172830 to Observability alert flyouts (triggered by the `View alert details` action).  ### Checklist - [x] 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) - [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 --------- Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
…lastic#174685) ## Summary Adds the alert fields table from elastic#172830 to Observability alert flyouts (triggered by the `View alert details` action).  ### Checklist - [x] 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) - [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 --------- Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
Summary
Adds a table visualization of alert fields to the rule details page alert flyout.