-
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
[ML] Explain Log Rate Spikes: highlight field pairs unique to groups in expanded row #148601
[ML] Explain Log Rate Spikes: highlight field pairs unique to groups in expanded row #148601
Conversation
Pinging @elastic/ml-ui (:ml) |
Here's a version with some tweaks/suggestions. Looking at the screenshot in the PR description it was a bit hard to make out the asterisk in the table, I'm afraid it could be mistaken as part of the field value as some sort of wildcard. I moved the asterisk to the left, it could be an |
Looking at the suggestion from @walterra in #148601 (comment), I like the positioning of the asterisk on the left hand side in a separate, narrow column. I don't think the fading of the text for the non-unique rows is needed. |
const groupResultsHelpMessage = i18n.translate( | ||
'xpack.aiops.spikeAnalysisTable.groupedSwitchLabel.groupResultsHelpMessage', | ||
{ | ||
defaultMessage: "In expanded row, unique group pairs marked by an asterisk ('*')", |
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.
All suggestions added - this is ready for a final look when you get a chance 🙏 cc @walterra, @peteharverson |
…-ref HEAD~1..HEAD --fix'
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.
Tested latest and other than one suggestion on the help text line wrapping, LGTM
</EuiFlexItem> | ||
<EuiFlexItem> | ||
{groupResults && ( | ||
<EuiFormRow helpText={groupResultsHelpMessage}> |
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.
I'd be tempted to set fullWidth={true}
on the EuiFormRow
so that the help message doesn't need to wrap onto a second line.
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Async chunks
History
To update your PR or re-run it, just comment with: |
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.
Latest changes LGTM 🥳
…#148601) ## Summary Related meta issue: elastic#146162 For grouped results, indicate in the expanded table row field / value pairs that appear in other groups. In expanded row - adds an asterisk column to highlight unique pairs among groups. <img width="1384" alt="image" src="https://user-images.githubusercontent.com/6446462/211634826-b7b88542-07c6-4c22-8bcc-3dec37cf90eb.png"> Co-authored-by: kibanamachine <[email protected]>
Summary
Related meta issue: #146162
For grouped results, indicate in the expanded table row field / value pairs that appear in other groups. In expanded row - adds an asterisk column to highlight unique pairs among groups.