Revert [ML] AIOps: Use package instead of context for using field stats flyout (#194517)#195860
Merged
walterra merged 1 commit intoelastic:mainfrom Oct 11, 2024
Merged
Conversation
…ats flyout (elastic#194517)" This reverts commit eebfba4.
Contributor
|
Pinging @elastic/ml-ui (:ml) |
Contributor
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsAPI count
async chunk count
cc @walterra |
darnautov
approved these changes
Oct 11, 2024
Contributor
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11293974927 |
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Oct 11, 2024
…ts flyout (elastic#194517) (elastic#195860) ## Summary This reverts elastic#194517 ([ML] AIOps: Use package instead of context for using field stats flyout) committed in eebfba4. The PR refactored how `FieldStatsFlyout` is passed in as a dependency to change point detection. Unfortunately the refactor caused the dropdown to select the split field to break when used in the flyout for the options of the change point detection embeddable. This revert is done to restore the original behavior. In a follow up I will revisit the refactor to work properly. ### Checklist - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels) (cherry picked from commit 37a420b)
Contributor
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
kibanamachine
added a commit
that referenced
this pull request
Oct 11, 2024
…ld stats flyout (#194517) (#195860) (#195930) # Backport This will backport the following commits from `main` to `8.x`: - [Revert [ML] AIOps: Use package instead of context for using field stats flyout (#194517) (#195860)](#195860) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Walter Rafelsberger","email":"walter.rafelsberger@elastic.co"},"sourceCommit":{"committedDate":"2024-10-11T14:15:53Z","message":"Revert [ML] AIOps: Use package instead of context for using field stats flyout (#194517) (#195860)\n\n## Summary\r\n\r\nThis reverts #194517 ([ML] AIOps: Use package instead of context for\r\nusing field stats flyout) committed in\r\neebfba4f9bfe2592ce92d35aed9cf3c0c8540130.\r\n\r\nThe PR refactored how `FieldStatsFlyout` is passed in as a dependency to\r\nchange point detection. Unfortunately the refactor caused the dropdown\r\nto select the split field to break when used in the flyout for the\r\noptions of the change point detection embeddable.\r\n\r\nThis revert is done to restore the original behavior. In a follow up I\r\nwill revisit the refactor to work properly.\r\n\r\n### Checklist\r\n\r\n- [x] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)","sha":"37a420b950aa7ced58360283ec4a4e63d5d410f8","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug",":ml","release_note:skip","v9.0.0","Feature:ML/AIOps","v8.16.0","backport:version"],"title":"Revert [ML] AIOps: Use package instead of context for using field stats flyout (#194517)","number":195860,"url":"https://github.com/elastic/kibana/pull/195860","mergeCommit":{"message":"Revert [ML] AIOps: Use package instead of context for using field stats flyout (#194517) (#195860)\n\n## Summary\r\n\r\nThis reverts #194517 ([ML] AIOps: Use package instead of context for\r\nusing field stats flyout) committed in\r\neebfba4f9bfe2592ce92d35aed9cf3c0c8540130.\r\n\r\nThe PR refactored how `FieldStatsFlyout` is passed in as a dependency to\r\nchange point detection. Unfortunately the refactor caused the dropdown\r\nto select the split field to break when used in the flyout for the\r\noptions of the change point detection embeddable.\r\n\r\nThis revert is done to restore the original behavior. In a follow up I\r\nwill revisit the refactor to work properly.\r\n\r\n### Checklist\r\n\r\n- [x] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)","sha":"37a420b950aa7ced58360283ec4a4e63d5d410f8"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195860","number":195860,"mergeCommit":{"message":"Revert [ML] AIOps: Use package instead of context for using field stats flyout (#194517) (#195860)\n\n## Summary\r\n\r\nThis reverts #194517 ([ML] AIOps: Use package instead of context for\r\nusing field stats flyout) committed in\r\neebfba4f9bfe2592ce92d35aed9cf3c0c8540130.\r\n\r\nThe PR refactored how `FieldStatsFlyout` is passed in as a dependency to\r\nchange point detection. Unfortunately the refactor caused the dropdown\r\nto select the split field to break when used in the flyout for the\r\noptions of the change point detection embeddable.\r\n\r\nThis revert is done to restore the original behavior. In a follow up I\r\nwill revisit the refactor to work properly.\r\n\r\n### Checklist\r\n\r\n- [x] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)","sha":"37a420b950aa7ced58360283ec4a4e63d5d410f8"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Walter Rafelsberger <walter.rafelsberger@elastic.co>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This reverts #194517 ([ML] AIOps: Use package instead of context for using field stats flyout) committed in eebfba4.
The PR refactored how
FieldStatsFlyoutis passed in as a dependency to change point detection. Unfortunately the refactor caused the dropdown to select the split field to break when used in the flyout for the options of the change point detection embeddable.This revert is done to restore the original behavior. In a follow up I will revisit the refactor to work properly.
Checklist