-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] [Alerts] Add highlight to building block alerts #107727
[RAC] [Alerts] Add highlight to building block alerts #107727
Conversation
45ecb67
to
709a730
Compare
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
4435dea
to
62bd6d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
> | ||
{i18n.ADDITIONAL_FILTERS_ACTIONS} | ||
</UtilityBarAction> | ||
<AditionalFiltersAction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for putting this in here!
@@ -260,3 +222,63 @@ export const AlertsUtilityBar = React.memo( | |||
prevProps.showBuildingBlockAlerts === nextProps.showBuildingBlockAlerts && | |||
prevProps.showOnlyThreatIndicatorAlerts === nextProps.showOnlyThreatIndicatorAlerts | |||
); | |||
|
|||
export const AditionalFiltersAction = ({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌🏾 Thanks for making this it's own component. I would just say it might be useful in the future to separate each of these filters into their own files, and then export each of them from the index so this file doesn't creep up in size
<EventsContainerLoading | ||
data-timeline-id={id} | ||
data-test-subj={`events-container-loading-${loading}`} | ||
> | ||
<EuiFlexGroup gutterSize="none" justifyContent="flexEnd"> | ||
<UpdatedFlexItem grow={false} show={!loading}> | ||
<LastUpdatedAt updatedAt={updatedAt} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making a self note to move this to the top level as part of #107923
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
62bd6d5
to
203db22
Compare
💛 Build succeeded, but was flaky
Test FailuresKibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/dashboard/panel_context_menu·ts.dashboard app using legacy data dashboard panel context menu on an expanded panel "before all" hook: and add one panel and save to put dashboard in "view" mode for "context menu actions are hidden in view mode"Standard Out
Stack Trace
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @machadoum |
💔 Backport failed
To backport manually run: |
* [rac] [Alerts] Add highlight to building block alerts * Pull back 'additional filters' button to t-grid # Conflicts: # x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx
Summary
FYI: The parallel bar layout couldn't be implemented because
EuiDataGrid
doesn't allow wrapping a row with a component. elastic/eui#4401Checklist
Delete any items that are not applicable to this PR.