Skip to content
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] AIOps: Enhance the UX for grouped results which only contain field / value pairs that appear in other groups #148757

Merged

Conversation

alvarezmelissa87
Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Jan 11, 2023

Summary

Related meta issue: #146162

This PR updates the UX for grouped results which only contain field / value pairs that appear in other groups. In the updated text the '+' and 'more' are dropped from the label.

image

Checklist

Delete any items that are not applicable to this PR.

@alvarezmelissa87 alvarezmelissa87 self-assigned this Jan 11, 2023
@alvarezmelissa87 alvarezmelissa87 requested a review from a team as a code owner January 11, 2023 18:42
@alvarezmelissa87 alvarezmelissa87 added :ml release_note:skip Skip the PR/issue when compiling release notes Feature:ML/AIOps ML AIOps features: Change Point Detection, Log Pattern Analysis, Log Rate Analysis v8.7.0 labels Jan 11, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

{repeatedValues.length > 0 && !valuesBadges.length ? (
<FormattedMessage
id="xpack.aiops.explainLogRateSpikes.spikeAnalysisTableGroups.onlyMoreRepeatedLabel"
defaultMessage="{count, plural, one {# field/value pair} other {# more field/value pairs}} also appearing in other groups"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to drop the more from the other case too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yes - don't know how I missed that 🙏 - added to the singular case in cf37b20

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
aiops 739.1KB 739.4KB +300.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @alvarezmelissa87

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alvarezmelissa87 alvarezmelissa87 merged commit 852072f into elastic:main Jan 13, 2023
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jan 13, 2023
@alvarezmelissa87 alvarezmelissa87 deleted the ml-aiops-group-ui-improvement branch January 13, 2023 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:ML/AIOps ML AIOps features: Change Point Detection, Log Pattern Analysis, Log Rate Analysis :ml release_note:skip Skip the PR/issue when compiling release notes v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants