-
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
[Security Solution][Alert Details] Remove alert type charts feature flag #189437
Conversation
/ci |
d5f5020
to
da271eb
Compare
/ci |
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations) |
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, left a couple of minor comments
const sorting: { sort: { field: keyof AlertsByRuleData; direction: SortOrder } } = { | ||
sort: { | ||
field: 'value', | ||
direction: 'desc', | ||
}, | ||
}; | ||
|
||
const pagination: {} = { | ||
pageSize: 25, | ||
showPerPageOptions: false, | ||
}; |
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.
couldn't these 2 be moved to constants outside of the component? It would avoid creating new objects every time to pass to the child component
...ty_solution/public/detections/components/alerts_kpis/alerts_by_rule_panel/alerts_by_rule.tsx
Outdated
Show resolved
Hide resolved
.../security_solution/public/detections/components/alerts_kpis/alerts_by_rule_panel/helpers.tsx
Outdated
Show resolved
Hide resolved
e1435d9
to
fbbba59
Compare
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
Summary
Removing an unused feature flag called
alertTypeEnabled
. The feature was added in 8.7 (#152872) but was never enabled.This PR removed unused components and renamed directory from
alert_by_type_panel
toalerts_by_rule_panel
.Checklist