-
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
[SecuritySolution] Finishing touches on the alert prevalence #128295
[SecuritySolution] Finishing touches on the alert prevalence #128295
Conversation
@@ -47,7 +47,7 @@ const summaryColumns: Array<EuiBasicTableColumn<AlertSummaryRow>> = [ | |||
<EuiIconTip | |||
type="iInCircle" | |||
color="subdued" | |||
title="Alert Prevalence" |
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.
@michaelolo24 I assume this one was forgotten in the initial PR. Let me know if we should keep the English copy here.
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.
Yea, thanks! I missed this translation.
@monina-n @paulewing Notice that in the screenshot above it says Let me know if I should change it back to the field id ✌️ |
Pinging @elastic/security-solution (Team: SecuritySolution) |
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 these changes. LGTM 🚀 !
@@ -23,7 +24,7 @@ const PrevalenceCell = React.memo<AlertSummaryRow['description']>( | |||
if (loading) { | |||
return <EuiLoadingSpinner />; | |||
} else if (error) { | |||
return null; | |||
return <>{getEmptyValue()}</>; |
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.
nit: Maybe better to use defaultToEmptyTag
?
But in general it also uses a getEmptyTagValue
and getEmptyStringTag
which are really the same, that is more than weird how many duplications we have :)
x-pack/plugins/timelines/public/components/empty_value/index.tsx
needs a clean up.
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.
Sure, works either way I guess 👍 (e2f321f)
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Summary
After talking to product and design we came up with a list of smaller changes to touch up the alert prevalence work:
Checklist
Delete any items that are not applicable to this PR.