-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…170046) # Backport This will backport the following commits from `main` to `8.11`: - [[ML] AIOps: Fix Change point embeddable reporting (#169962)](#169962) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dima Arnautov","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-10-27T15:13:52Z","message":"[ML] AIOps: Fix Change point embeddable reporting (#169962)\n\n## Summary\r\n\r\nFixes #169733\r\n\r\n#### Reporting fix\r\n\r\nChange point detection embeddable was incorrectly reporting render\r\ncompletion. It was relying on the `onLoad` callback from the Lens\r\nembeddable responsible for chart rendering, which only indicates that\r\ndata fetching is complete, but not the actual rendering. Current\r\nimplementation relies on the `renderComplete` event from each child\r\nembeddable. Both PNG and PDF exports tested and work as expected.\r\n\r\n\r\n![DASHBOARDDDD](https://github.com/elastic/kibana/assets/5236598/fb718f31-5862-43ab-82e3-60ebb795b8eb)\r\n\r\n#### Additional fixes\r\n\r\n- Fixes the metric and split field controls states when editing existing\r\nChange point embeddable from a dashboard\r\n- Fixes `filter` query if partitions input is initialized as an empty\r\narray.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"80d382a22f2adc39a63146d3ffb5cb7763090c2e","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:Reporting",":ml","Team:ML","Feature:ML/AIOps","Feature:Embeddables","v8.11.0","v8.12.0"],"number":169962,"url":"https://github.com/elastic/kibana/pull/169962","mergeCommit":{"message":"[ML] AIOps: Fix Change point embeddable reporting (#169962)\n\n## Summary\r\n\r\nFixes #169733\r\n\r\n#### Reporting fix\r\n\r\nChange point detection embeddable was incorrectly reporting render\r\ncompletion. It was relying on the `onLoad` callback from the Lens\r\nembeddable responsible for chart rendering, which only indicates that\r\ndata fetching is complete, but not the actual rendering. Current\r\nimplementation relies on the `renderComplete` event from each child\r\nembeddable. Both PNG and PDF exports tested and work as expected.\r\n\r\n\r\n![DASHBOARDDDD](https://github.com/elastic/kibana/assets/5236598/fb718f31-5862-43ab-82e3-60ebb795b8eb)\r\n\r\n#### Additional fixes\r\n\r\n- Fixes the metric and split field controls states when editing existing\r\nChange point embeddable from a dashboard\r\n- Fixes `filter` query if partitions input is initialized as an empty\r\narray.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"80d382a22f2adc39a63146d3ffb5cb7763090c2e"}},"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/169962","number":169962,"mergeCommit":{"message":"[ML] AIOps: Fix Change point embeddable reporting (#169962)\n\n## Summary\r\n\r\nFixes #169733\r\n\r\n#### Reporting fix\r\n\r\nChange point detection embeddable was incorrectly reporting render\r\ncompletion. It was relying on the `onLoad` callback from the Lens\r\nembeddable responsible for chart rendering, which only indicates that\r\ndata fetching is complete, but not the actual rendering. Current\r\nimplementation relies on the `renderComplete` event from each child\r\nembeddable. Both PNG and PDF exports tested and work as expected.\r\n\r\n\r\n![DASHBOARDDDD](https://github.com/elastic/kibana/assets/5236598/fb718f31-5862-43ab-82e3-60ebb795b8eb)\r\n\r\n#### Additional fixes\r\n\r\n- Fixes the metric and split field controls states when editing existing\r\nChange point embeddable from a dashboard\r\n- Fixes `filter` query if partitions input is initialized as an empty\r\narray.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"80d382a22f2adc39a63146d3ffb5cb7763090c2e"}}]}] BACKPORT-->
- Loading branch information
Showing
9 changed files
with
205 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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