-
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
Fix ML swimlane embeddable titles #168647
Conversation
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/ml-ui (:ml) |
Pinging @elastic/kibana-presentation (Team:Presentation) |
Tested and LGTM! Many thanks for fixing it @ThomThomson 🙏🏻 |
Stops the ML Embeddables from setting the default title and default description on their outputs during initialization. (cherry picked from commit 7cb153d)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.11`: - [Fix ML swimlane embeddable titles (#168647)](#168647) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Devon Thomson","email":"devon.thomson@elastic.co"},"sourceCommit":{"committedDate":"2023-10-13T13:28:57Z","message":"Fix ML swimlane embeddable titles (#168647)\n\nStops the ML Embeddables from setting the default title and default description on their outputs during initialization.","sha":"7cb153d4d7344212c437553655d980b02b4b355b","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Embedding",":ml","Feature:Anomaly Detection","Team:Presentation","loe:small","release_note:skip","impact:medium","v8.11.0","v8.12.0"],"number":168647,"url":"https://github.com/elastic/kibana/pull/168647","mergeCommit":{"message":"Fix ML swimlane embeddable titles (#168647)\n\nStops the ML Embeddables from setting the default title and default description on their outputs during initialization.","sha":"7cb153d4d7344212c437553655d980b02b4b355b"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/168647","number":168647,"mergeCommit":{"message":"Fix ML swimlane embeddable titles (#168647)\n\nStops the ML Embeddables from setting the default title and default description on their outputs during initialization.","sha":"7cb153d4d7344212c437553655d980b02b4b355b"}}]}] BACKPORT--> Co-authored-by: Devon Thomson <devon.thomson@elastic.co>
Stops the ML Embeddables from setting the default title and default description on their outputs during initialization.
Summary
Fixes #165967
The ML Embeddables were setting the default title and default description on their outputs during initialization. These keys should only be used by by reference visualizations to default back to the library item title. Initializing them to
undefined
especially can result in edge cases.