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] Remove encoding for scheduled events labels #75973

Merged
merged 4 commits into from
Aug 27, 2020

Conversation

darnautov
Copy link
Contributor

Summary

Fixes #74938

HTML encoding is not needed for tooltip content. For some reason, it was applied for Anomaly explorer charts. Since we updated mlEscape function to utilize he encoding lib with enabled encodeEverything option, space symbols also got replaced with HTML character reference &x20;.

image

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

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.

Tested with a job on the special_characters data set and LGTM

image

@darnautov
Copy link
Contributor Author

@elasticmachine merge upstream

@darnautov
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

async chunks size

id value diff baseline
ml 8.2MB +382.0B 8.2MB

History

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

@darnautov darnautov merged commit e488c08 into elastic:master Aug 27, 2020
darnautov added a commit to darnautov/kibana that referenced this pull request Aug 27, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
darnautov added a commit to darnautov/kibana that referenced this pull request Aug 27, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
darnautov added a commit that referenced this pull request Aug 27, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ML] Anomaly explorer - spaces in event name are not displayed correctly in tooltip
4 participants