mirror of
https://github.com/elastic/kibana.git
synced 2025-07-01 04:23:21 -04:00
472 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
76b896fbb0
|
[8.x] [kbn-grid-layout] Allow rows to be reordered (#213166) (#215217)
# Backport This will backport the following commits from `main` to `8.x`: - [[kbn-grid-layout] Allow rows to be reordered (#213166)](https://github.com/elastic/kibana/pull/213166) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Hannah Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-19T17:12:35Z","message":"[kbn-grid-layout] Allow rows to be reordered (#213166)\n\nCloses https://github.com/elastic/kibana/issues/190381\n\n## Summary\n\nThis PR adds the ability to drag and drop rows by their headers in order\nto reorder them:\n\n\n\nIt can be a bit confusing dragging section headers around when other\nsections are expanded - it is easy to lose track of them, especially\nwhen the expanded sections are very large. I experimented with\nauto-collapsing all sections on drag, but this felt extremely\ndisorienting because you instantly lost all of your context - so, to\nimprove the UI here, I added a \"scroll to\" effect on drop like so:\n\n\n\nhttps://github.com/user-attachments/assets/0b519783-a4f5-4590-9a1c-580df66a2f66\n\nReminder that, to test this feature, you need to run Kibana with\nexamples via `yarn start --run-examples` and navigate to the grid\nexamples app via `Analytics > Developer examples > Grid Example`.\n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n### Identify risks\n\nCollapsible sections are not available on Dashboard yet and so there is\nno user-facing risk to this PR.","sha":"05db9e9597ad874e6db5a6fd203a089752007b79","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","loe:large","release_note:skip","impact:high","Project:Collapsable Panels","backport:version","v9.1.0","v8.19.0"],"title":"[kbn-grid-layout] Allow rows to be reordered","number":213166,"url":"https://github.com/elastic/kibana/pull/213166","mergeCommit":{"message":"[kbn-grid-layout] Allow rows to be reordered (#213166)\n\nCloses https://github.com/elastic/kibana/issues/190381\n\n## Summary\n\nThis PR adds the ability to drag and drop rows by their headers in order\nto reorder them:\n\n\n\nIt can be a bit confusing dragging section headers around when other\nsections are expanded - it is easy to lose track of them, especially\nwhen the expanded sections are very large. I experimented with\nauto-collapsing all sections on drag, but this felt extremely\ndisorienting because you instantly lost all of your context - so, to\nimprove the UI here, I added a \"scroll to\" effect on drop like so:\n\n\n\nhttps://github.com/user-attachments/assets/0b519783-a4f5-4590-9a1c-580df66a2f66\n\nReminder that, to test this feature, you need to run Kibana with\nexamples via `yarn start --run-examples` and navigate to the grid\nexamples app via `Analytics > Developer examples > Grid Example`.\n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n### Identify risks\n\nCollapsible sections are not available on Dashboard yet and so there is\nno user-facing risk to this PR.","sha":"05db9e9597ad874e6db5a6fd203a089752007b79"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213166","number":213166,"mergeCommit":{"message":"[kbn-grid-layout] Allow rows to be reordered (#213166)\n\nCloses https://github.com/elastic/kibana/issues/190381\n\n## Summary\n\nThis PR adds the ability to drag and drop rows by their headers in order\nto reorder them:\n\n\n\nIt can be a bit confusing dragging section headers around when other\nsections are expanded - it is easy to lose track of them, especially\nwhen the expanded sections are very large. I experimented with\nauto-collapsing all sections on drag, but this felt extremely\ndisorienting because you instantly lost all of your context - so, to\nimprove the UI here, I added a \"scroll to\" effect on drop like so:\n\n\n\nhttps://github.com/user-attachments/assets/0b519783-a4f5-4590-9a1c-580df66a2f66\n\nReminder that, to test this feature, you need to run Kibana with\nexamples via `yarn start --run-examples` and navigate to the grid\nexamples app via `Analytics > Developer examples > Grid Example`.\n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n### Identify risks\n\nCollapsible sections are not available on Dashboard yet and so there is\nno user-facing risk to this PR.","sha":"05db9e9597ad874e6db5a6fd203a089752007b79"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com> |
||
|
eb82c3b9fb
|
[8.x] [Discover] Replace DiscoverInternalStateContainer with Redux based InternalStateStore (#208784) (#213630)
# Backport This will backport the following commits from `main` to `8.x`: - [[Discover] Replace `DiscoverInternalStateContainer` with Redux based `InternalStateStore` (#208784)](https://github.com/elastic/kibana/pull/208784) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Davis McPhee","email":"davis.mcphee@elastic.co"},"sourceCommit":{"committedDate":"2025-03-06T21:08:58Z","message":"[Discover] Replace `DiscoverInternalStateContainer` with Redux based `InternalStateStore` (#208784)\n\n## Summary\n\nThis PR replaces Discover's current `DiscoverInternalStateContainer`\n(based on Kibana's custom `ReduxLikeStateContainer`) with an actual\nRedux store using Redux Toolkit. It's the first step toward migrating\nall of Discover's state management to Redux as part of the Discover tabs\nproject.\n\nPart of #210160.\nResolves #213304.\n\n### Checklist\n\n- [ ] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"ccae358d379fe69f881a31f4371ec788e28a7b06","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Discover","release_note:skip","Team:DataDiscovery","Project:OneDiscover","backport:version","v9.1.0","v8.19.0"],"title":"[Discover] Replace `DiscoverInternalStateContainer` with Redux based `InternalStateStore`","number":208784,"url":"https://github.com/elastic/kibana/pull/208784","mergeCommit":{"message":"[Discover] Replace `DiscoverInternalStateContainer` with Redux based `InternalStateStore` (#208784)\n\n## Summary\n\nThis PR replaces Discover's current `DiscoverInternalStateContainer`\n(based on Kibana's custom `ReduxLikeStateContainer`) with an actual\nRedux store using Redux Toolkit. It's the first step toward migrating\nall of Discover's state management to Redux as part of the Discover tabs\nproject.\n\nPart of #210160.\nResolves #213304.\n\n### Checklist\n\n- [ ] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"ccae358d379fe69f881a31f4371ec788e28a7b06"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208784","number":208784,"mergeCommit":{"message":"[Discover] Replace `DiscoverInternalStateContainer` with Redux based `InternalStateStore` (#208784)\n\n## Summary\n\nThis PR replaces Discover's current `DiscoverInternalStateContainer`\n(based on Kibana's custom `ReduxLikeStateContainer`) with an actual\nRedux store using Redux Toolkit. It's the first step toward migrating\nall of Discover's state management to Redux as part of the Discover tabs\nproject.\n\nPart of #210160.\nResolves #213304.\n\n### Checklist\n\n- [ ] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"ccae358d379fe69f881a31f4371ec788e28a7b06"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
93aada0e54
|
[8.x] [embeddable] replace Embeddable ViewMode with presentation-publishing ViewMode (#211960) (#213135)
# Backport This will backport the following commits from `main` to `8.x`: - [[embeddable] replace Embeddable ViewMode with presentation-publishing ViewMode (#211960)](https://github.com/elastic/kibana/pull/211960) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2025-03-04T16:05:23Z","message":"[embeddable] replace Embeddable ViewMode with presentation-publishing ViewMode (#211960)\n\nEmbeddable ViewMode is part of legacy embeddable architecture. This PR\nremoves Embeddable ViewMode and replaces its usage with\npresentation-publishing ViewMode. presentation-publishing ViewMode is a\nstring literal type so an enum is no longer needed.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"b213eb6bb296c803e6f21695a20f969af1d2e611","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Embedding","Team:Presentation","release_note:skip","Team:obs-ux-infra_services","Team:obs-ux-management","project:embeddableRebuild","backport:version","v9.1.0","v8.19.0"],"title":"[embeddable] replace Embeddable ViewMode with presentation-publishing ViewMode","number":211960,"url":"https://github.com/elastic/kibana/pull/211960","mergeCommit":{"message":"[embeddable] replace Embeddable ViewMode with presentation-publishing ViewMode (#211960)\n\nEmbeddable ViewMode is part of legacy embeddable architecture. This PR\nremoves Embeddable ViewMode and replaces its usage with\npresentation-publishing ViewMode. presentation-publishing ViewMode is a\nstring literal type so an enum is no longer needed.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"b213eb6bb296c803e6f21695a20f969af1d2e611"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211960","number":211960,"mergeCommit":{"message":"[embeddable] replace Embeddable ViewMode with presentation-publishing ViewMode (#211960)\n\nEmbeddable ViewMode is part of legacy embeddable architecture. This PR\nremoves Embeddable ViewMode and replaces its usage with\npresentation-publishing ViewMode. presentation-publishing ViewMode is a\nstring literal type so an enum is no longer needed.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"b213eb6bb296c803e6f21695a20f969af1d2e611"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: jennypavlova <jennypavlova94@gmail.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
4850d36455
|
[8.x] [kbn-grid-layout] Store rows in object instead of array (#212965) (#213162)
# Backport This will backport the following commits from `main` to `8.x`: - [[kbn-grid-layout] Store rows in object instead of array (#212965)](https://github.com/elastic/kibana/pull/212965) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Hannah Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-04T20:34:39Z","message":"[kbn-grid-layout] Store rows in object instead of array (#212965)\n\nCloses https://github.com/elastic/kibana/issues/211930\n\n## Summary\n\nThis PR makes it so that `kbn-grid-layout` stores its rows as an object\n/ dictionary (`{ [key: string]: GridRowData }`) rather than an array\n(`Array<GridRowData>`). This is a prerequisite for\nhttps://github.com/elastic/kibana/issues/190381 , since it allows us to\nre-order rows without re-rendering their contents. It also means that\ndeleting a row will no longer cause the rows below it to re-render,\nsince re-rendering is now dependant on the row's **ID** rather than the\nrow's order.\n\n**Before**\n\n\n |
||
|
2e3c2b90ca
|
[8.x] [ES|QL] Makes the clear control button optional (#212848) (#212967)
# Backport This will backport the following commits from `main` to `8.x`: - [[ES|QL] Makes the clear control button optional (#212848)](https://github.com/elastic/kibana/pull/212848) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Stratoula Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2025-03-03T18:03:57Z","message":"[ES|QL] Makes the clear control button optional (#212848)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/212605\n\nHere we are removing the clear button from the ES|QL control as clearing\nwill result in wrong charts. I also considered the reset but when there\nis no changes should be hidden or disabled. This seems to me as a\nsmaller change and taken under consideration that dashboard already\nallows resetting I think it is ok to remove it.\n\nWe can always reconsider if any user complains.\n\nAlthough by removing the clearSelections from the control config removes\nthe button the `DefaultControlApi ` was marking it as required. So I had\nto tweak a bit the types.","sha":"f6978eaf7b511791039210dd9643b68ae3b6b242","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:ES|QL","Team:ESQL","backport:version","v9.1.0","v8.19.0"],"title":"[ES|QL] Makes the clear control button optional","number":212848,"url":"https://github.com/elastic/kibana/pull/212848","mergeCommit":{"message":"[ES|QL] Makes the clear control button optional (#212848)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/212605\n\nHere we are removing the clear button from the ES|QL control as clearing\nwill result in wrong charts. I also considered the reset but when there\nis no changes should be hidden or disabled. This seems to me as a\nsmaller change and taken under consideration that dashboard already\nallows resetting I think it is ok to remove it.\n\nWe can always reconsider if any user complains.\n\nAlthough by removing the clearSelections from the control config removes\nthe button the `DefaultControlApi ` was marking it as required. So I had\nto tweak a bit the types.","sha":"f6978eaf7b511791039210dd9643b68ae3b6b242"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212848","number":212848,"mergeCommit":{"message":"[ES|QL] Makes the clear control button optional (#212848)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/212605\n\nHere we are removing the clear button from the ES|QL control as clearing\nwill result in wrong charts. I also considered the reset but when there\nis no changes should be hidden or disabled. This seems to me as a\nsmaller change and taken under consideration that dashboard already\nallows resetting I think it is ok to remove it.\n\nWe can always reconsider if any user complains.\n\nAlthough by removing the clearSelections from the control config removes\nthe button the `DefaultControlApi ` was marking it as required. So I had\nto tweak a bit the types.","sha":"f6978eaf7b511791039210dd9643b68ae3b6b242"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co> |
||
|
28d9076a93
|
[8.x] [controls] add example for programmatically interacting with controls (#212665) (#212828)
# Backport This will backport the following commits from `main` to `8.x`: - [[controls] add example for programmatically interacting with controls (#212665)](https://github.com/elastic/kibana/pull/212665) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2025-03-01T00:16:07Z","message":"[controls] add example for programmatically interacting with controls (#212665)\n\nUpdate search control example with buttons to programmatically interact\nwith controls\n\n<img width=\"800\" alt=\"Screenshot 2025-02-27 at 8 41 05 AM\"\nsrc=\"https://github.com/user-attachments/assets/e936cdeb-ce51-4fca-a8bc-ec5d983e3155\"\n/>\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"8784e4d68d31a0ce4818f4f3fbe1ac8b273642c1","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","release_note:skip","backport:version","v9.1.0","v8.19.0"],"title":"[controls] add example for programmatically interacting with controls","number":212665,"url":"https://github.com/elastic/kibana/pull/212665","mergeCommit":{"message":"[controls] add example for programmatically interacting with controls (#212665)\n\nUpdate search control example with buttons to programmatically interact\nwith controls\n\n<img width=\"800\" alt=\"Screenshot 2025-02-27 at 8 41 05 AM\"\nsrc=\"https://github.com/user-attachments/assets/e936cdeb-ce51-4fca-a8bc-ec5d983e3155\"\n/>\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"8784e4d68d31a0ce4818f4f3fbe1ac8b273642c1"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212665","number":212665,"mergeCommit":{"message":"[controls] add example for programmatically interacting with controls (#212665)\n\nUpdate search control example with buttons to programmatically interact\nwith controls\n\n<img width=\"800\" alt=\"Screenshot 2025-02-27 at 8 41 05 AM\"\nsrc=\"https://github.com/user-attachments/assets/e936cdeb-ce51-4fca-a8bc-ec5d983e3155\"\n/>\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"8784e4d68d31a0ce4818f4f3fbe1ac8b273642c1"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Nathan Reese <reese.nathan@elastic.co> |
||
|
bc829efd2e
|
[8.x] [kbn-grid-layout] Add ability to create, edit, and delete rows (#209193) (#212307)
# Backport This will backport the following commits from `main` to `8.x`: - [[kbn-grid-layout] Add ability to create, edit, and delete rows (#209193)](https://github.com/elastic/kibana/pull/209193) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Hannah Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-24T18:29:00Z","message":"[kbn-grid-layout] Add ability to create, edit, and delete rows (#209193)\n\nCloses https://github.com/elastic/kibana/issues/204849\n\n## Summary\n\nThis PR adds the ability to create, edit, and delete sections / rows to\n`kbn-grid-layout`:\n\n\n\nhttps://github.com/user-attachments/assets/4831b289-2c71-42fb-851d-0925560e233a\n\n\n\nNote that sections are still statically placed - dragging rows around\nwill be added in a follow-up PR, because it's a larger undertaking.\nSince this feature is not available to users yet, it is okay to\nimplement this in stages like this.\n\n### Checklist\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n### Identify risks\n\nCollapsible sections are not available on Dashboard yet and so there is\nno user-facing risk to this PR.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>","sha":"e587187ffcf14bb92d4d30cacbdc13d9380e4025","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","loe:large","release_note:skip","impact:high","Project:Collapsable Panels","backport:version","v9.1.0","v8.19.0"],"title":"[kbn-grid-layout] Add ability to create, edit, and delete rows","number":209193,"url":"https://github.com/elastic/kibana/pull/209193","mergeCommit":{"message":"[kbn-grid-layout] Add ability to create, edit, and delete rows (#209193)\n\nCloses https://github.com/elastic/kibana/issues/204849\n\n## Summary\n\nThis PR adds the ability to create, edit, and delete sections / rows to\n`kbn-grid-layout`:\n\n\n\nhttps://github.com/user-attachments/assets/4831b289-2c71-42fb-851d-0925560e233a\n\n\n\nNote that sections are still statically placed - dragging rows around\nwill be added in a follow-up PR, because it's a larger undertaking.\nSince this feature is not available to users yet, it is okay to\nimplement this in stages like this.\n\n### Checklist\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n### Identify risks\n\nCollapsible sections are not available on Dashboard yet and so there is\nno user-facing risk to this PR.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>","sha":"e587187ffcf14bb92d4d30cacbdc13d9380e4025"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209193","number":209193,"mergeCommit":{"message":"[kbn-grid-layout] Add ability to create, edit, and delete rows (#209193)\n\nCloses https://github.com/elastic/kibana/issues/204849\n\n## Summary\n\nThis PR adds the ability to create, edit, and delete sections / rows to\n`kbn-grid-layout`:\n\n\n\nhttps://github.com/user-attachments/assets/4831b289-2c71-42fb-851d-0925560e233a\n\n\n\nNote that sections are still statically placed - dragging rows around\nwill be added in a follow-up PR, because it's a larger undertaking.\nSince this feature is not available to users yet, it is okay to\nimplement this in stages like this.\n\n### Checklist\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n### Identify risks\n\nCollapsible sections are not available on Dashboard yet and so there is\nno user-facing risk to this PR.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>","sha":"e587187ffcf14bb92d4d30cacbdc13d9380e4025"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com> |
||
|
6b8710abec
|
[8.x] chore(NA): upgrade to webpack 5 (#191106) (#211146)
# Backport This will backport the following commits from `main` to `8.x`: - [chore(NA): upgrade to webpack 5 (#191106)](https://github.com/elastic/kibana/pull/191106) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Tiago Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2025-02-14T03:01:36Z","message":"chore(NA): upgrade to webpack 5 (#191106)\n\n### Summary\r\n\r\n- Closes #89741\r\n\r\nThis PR contains the resulting work of a massive effort that ports our\r\non top bundler abstraction (called @kbn/optimizer) from Webpack v4 into\r\nWebpack v5. It's essential in terms of long term maintenance since v4\r\nwas not receiving updates any longer but will also unblock some new\r\nfeatures that could be beneficial for our future DevEx endeavours.\r\n\r\nNext you can find a small list of all the accomplished tasks on this\r\njourney.\r\n\r\n### Completed Tasks\r\n- [x] Upgrade dependencies to match the ones on webpack v5\r\n- [x] Fix null-loader usages\r\n- [x] Fix raw-loader usages\r\n- [x] Fix file-loader usages\r\n- [x] Fix url-loader usages\r\n- [x] Fix `@kbn/optimizer-webpack-helpers` to support webpack v5 \r\n- [x] Adopt previous webpack v4 polyfill-all strategy with\r\nnode-polyfill-webpack-plugin\r\n- [x] Fix theme-loader on @kbn/optimizer\r\n- [x] Migrate configurations and ad-hoc loader options on all webpack\r\nconfigs from v4 to v5\r\n- [x] Fix @kbn/test jest resolver for file-loader cases\r\n- [x] Migrate public-path loader on UiSharedDeps\r\n- [x] Fix all usages of webpack-merge\r\n- [x] Migrate BundleRemoteModule\r\n- [x] Migrate BundleRemotesPlugin\r\n- [x] Correctly migrate PopulateBundleCachePlugin\r\n- [x] Correctly migrate BundleMetricsPlugin\r\n- [x] Check if the profiling plugins still work (--profile flag)\r\n- [x] Recover if possible the previous webpack v4 cacheGroup chunks\r\nrename to something like `data.plugin.chunk.0.js`\r\n- [x] Run `/ci` and make sure we get our first green CI, otherwise work\r\non the errors until we do\r\n- [x] Profile and solve bottlenecks until we get a cold build\r\nperformance similar to the one we had on webpack v4 (`node\r\nscripts/build_kibana_platform_plugins --no-cache`).\r\n- [x] OpenSSL Legacy Warnings: try to remove `--openssl-legacy-provider\r\n` flags\r\n- [x] Add Webpack to Renovate config\r\n- [x] Explore removing `NodePolyfillPlugin`\r\n([here](https://www.npmjs.com/package/node-polyfill-webpack-plugin)) and\r\nadd each polyfill needed individually per each webpack config to check\r\nif we get smaller bundles. If we do it's better to go with the case by\r\ncase need approach instead of deploying a bunch of polyfills with\r\nNodePolyfillPlugin. As another alternative, create a custom smaller\r\nplugin with only the union of all needed polyfills.\r\n- [x] Evaluate if we want to touch the resolutions on mainFields and\r\nconditionNames\r\n- [x] Understand why `@import 'src/core/public/mixins'` does not work\r\nanymore (not a problem, we should use relative paths anyway but we want\r\nto track why it changed from v4 to v5)\r\n- [x] BUG: Child compilers are having errors hidden and/or changed from\r\nerror to warning\r\n- [x] Fix license check for\r\n[Artistic-2.0](https://spdx.org/licenses/Artistic-2.0.html) is the\r\nlicense for\r\n[domain-browser](https://github.com/bevry/domain-browser?tab=License-1-ov-file).\r\nThis package is a dependency of\r\n[NodePolyfillPlugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin).\r\nArtistic 2.0 license is [classified as\r\nyellow](https://github.com/elastic/open-source/blob/main/elastic-product-policy.md#yellow-list)\r\nand should only be used for dev dependencies.\r\n- [x] Make sure `resourceQuery: { not: /raw/ }` is not necessary on\r\nother webpack configs like storybook one\r\n- [x] Find what is being wrongly removed by usedExports optimization;\r\nhint: I believe it is identifying a lot of exports inside the sync entry\r\nof plugins as unused exports and removing them. Then `__kbnBootstrap__`\r\ncan't be found\r\n- [x] Rebalance @kbn/optimizer pickMaxWorkerCount\r\n- [x] Re-open the issue to fix sass-warnings\r\n[#190345](https://github.com/elastic/kibana/issues/190345) or downgrade\r\nsass-loader to v10\r\n- [x] Remove previous esm no parse rules\r\n- [x] Confirm esm support is working\r\n- [x] Confirm console override is needed\r\n- [x] Confirm react prod builds on ui shared deps for distributable\r\n- [x] Remove customization for\r\n[xyflow](https://github.com/xyflow/xyflow) from webpack configs\r\n- [x] Clean all the code\r\n- [x] Make sure collected metrics from stats are still aligned with what\r\nwe were collecting before; also verify if the modules used for optimizer\r\ncaches etc are well generated (@kbn/node-libs-browser)\r\n- [x] Fix watch performance\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Brad White <brad.white@elastic.co>","sha":"203bc284781cc830049b3f7948c8fcafa8b7d9a1","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","Team:Fleet","v9.0.0","backport:all-open","ci:build-webpack-bundle-analyzer","Team:obs-ux-infra_services","v9.1.0"],"title":"chore(NA): upgrade to webpack 5","number":191106,"url":"https://github.com/elastic/kibana/pull/191106","mergeCommit":{"message":"chore(NA): upgrade to webpack 5 (#191106)\n\n### Summary\r\n\r\n- Closes #89741\r\n\r\nThis PR contains the resulting work of a massive effort that ports our\r\non top bundler abstraction (called @kbn/optimizer) from Webpack v4 into\r\nWebpack v5. It's essential in terms of long term maintenance since v4\r\nwas not receiving updates any longer but will also unblock some new\r\nfeatures that could be beneficial for our future DevEx endeavours.\r\n\r\nNext you can find a small list of all the accomplished tasks on this\r\njourney.\r\n\r\n### Completed Tasks\r\n- [x] Upgrade dependencies to match the ones on webpack v5\r\n- [x] Fix null-loader usages\r\n- [x] Fix raw-loader usages\r\n- [x] Fix file-loader usages\r\n- [x] Fix url-loader usages\r\n- [x] Fix `@kbn/optimizer-webpack-helpers` to support webpack v5 \r\n- [x] Adopt previous webpack v4 polyfill-all strategy with\r\nnode-polyfill-webpack-plugin\r\n- [x] Fix theme-loader on @kbn/optimizer\r\n- [x] Migrate configurations and ad-hoc loader options on all webpack\r\nconfigs from v4 to v5\r\n- [x] Fix @kbn/test jest resolver for file-loader cases\r\n- [x] Migrate public-path loader on UiSharedDeps\r\n- [x] Fix all usages of webpack-merge\r\n- [x] Migrate BundleRemoteModule\r\n- [x] Migrate BundleRemotesPlugin\r\n- [x] Correctly migrate PopulateBundleCachePlugin\r\n- [x] Correctly migrate BundleMetricsPlugin\r\n- [x] Check if the profiling plugins still work (--profile flag)\r\n- [x] Recover if possible the previous webpack v4 cacheGroup chunks\r\nrename to something like `data.plugin.chunk.0.js`\r\n- [x] Run `/ci` and make sure we get our first green CI, otherwise work\r\non the errors until we do\r\n- [x] Profile and solve bottlenecks until we get a cold build\r\nperformance similar to the one we had on webpack v4 (`node\r\nscripts/build_kibana_platform_plugins --no-cache`).\r\n- [x] OpenSSL Legacy Warnings: try to remove `--openssl-legacy-provider\r\n` flags\r\n- [x] Add Webpack to Renovate config\r\n- [x] Explore removing `NodePolyfillPlugin`\r\n([here](https://www.npmjs.com/package/node-polyfill-webpack-plugin)) and\r\nadd each polyfill needed individually per each webpack config to check\r\nif we get smaller bundles. If we do it's better to go with the case by\r\ncase need approach instead of deploying a bunch of polyfills with\r\nNodePolyfillPlugin. As another alternative, create a custom smaller\r\nplugin with only the union of all needed polyfills.\r\n- [x] Evaluate if we want to touch the resolutions on mainFields and\r\nconditionNames\r\n- [x] Understand why `@import 'src/core/public/mixins'` does not work\r\nanymore (not a problem, we should use relative paths anyway but we want\r\nto track why it changed from v4 to v5)\r\n- [x] BUG: Child compilers are having errors hidden and/or changed from\r\nerror to warning\r\n- [x] Fix license check for\r\n[Artistic-2.0](https://spdx.org/licenses/Artistic-2.0.html) is the\r\nlicense for\r\n[domain-browser](https://github.com/bevry/domain-browser?tab=License-1-ov-file).\r\nThis package is a dependency of\r\n[NodePolyfillPlugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin).\r\nArtistic 2.0 license is [classified as\r\nyellow](https://github.com/elastic/open-source/blob/main/elastic-product-policy.md#yellow-list)\r\nand should only be used for dev dependencies.\r\n- [x] Make sure `resourceQuery: { not: /raw/ }` is not necessary on\r\nother webpack configs like storybook one\r\n- [x] Find what is being wrongly removed by usedExports optimization;\r\nhint: I believe it is identifying a lot of exports inside the sync entry\r\nof plugins as unused exports and removing them. Then `__kbnBootstrap__`\r\ncan't be found\r\n- [x] Rebalance @kbn/optimizer pickMaxWorkerCount\r\n- [x] Re-open the issue to fix sass-warnings\r\n[#190345](https://github.com/elastic/kibana/issues/190345) or downgrade\r\nsass-loader to v10\r\n- [x] Remove previous esm no parse rules\r\n- [x] Confirm esm support is working\r\n- [x] Confirm console override is needed\r\n- [x] Confirm react prod builds on ui shared deps for distributable\r\n- [x] Remove customization for\r\n[xyflow](https://github.com/xyflow/xyflow) from webpack configs\r\n- [x] Clean all the code\r\n- [x] Make sure collected metrics from stats are still aligned with what\r\nwe were collecting before; also verify if the modules used for optimizer\r\ncaches etc are well generated (@kbn/node-libs-browser)\r\n- [x] Fix watch performance\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Brad White <brad.white@elastic.co>","sha":"203bc284781cc830049b3f7948c8fcafa8b7d9a1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211145","number":211145,"state":"OPEN"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/191106","number":191106,"mergeCommit":{"message":"chore(NA): upgrade to webpack 5 (#191106)\n\n### Summary\r\n\r\n- Closes #89741\r\n\r\nThis PR contains the resulting work of a massive effort that ports our\r\non top bundler abstraction (called @kbn/optimizer) from Webpack v4 into\r\nWebpack v5. It's essential in terms of long term maintenance since v4\r\nwas not receiving updates any longer but will also unblock some new\r\nfeatures that could be beneficial for our future DevEx endeavours.\r\n\r\nNext you can find a small list of all the accomplished tasks on this\r\njourney.\r\n\r\n### Completed Tasks\r\n- [x] Upgrade dependencies to match the ones on webpack v5\r\n- [x] Fix null-loader usages\r\n- [x] Fix raw-loader usages\r\n- [x] Fix file-loader usages\r\n- [x] Fix url-loader usages\r\n- [x] Fix `@kbn/optimizer-webpack-helpers` to support webpack v5 \r\n- [x] Adopt previous webpack v4 polyfill-all strategy with\r\nnode-polyfill-webpack-plugin\r\n- [x] Fix theme-loader on @kbn/optimizer\r\n- [x] Migrate configurations and ad-hoc loader options on all webpack\r\nconfigs from v4 to v5\r\n- [x] Fix @kbn/test jest resolver for file-loader cases\r\n- [x] Migrate public-path loader on UiSharedDeps\r\n- [x] Fix all usages of webpack-merge\r\n- [x] Migrate BundleRemoteModule\r\n- [x] Migrate BundleRemotesPlugin\r\n- [x] Correctly migrate PopulateBundleCachePlugin\r\n- [x] Correctly migrate BundleMetricsPlugin\r\n- [x] Check if the profiling plugins still work (--profile flag)\r\n- [x] Recover if possible the previous webpack v4 cacheGroup chunks\r\nrename to something like `data.plugin.chunk.0.js`\r\n- [x] Run `/ci` and make sure we get our first green CI, otherwise work\r\non the errors until we do\r\n- [x] Profile and solve bottlenecks until we get a cold build\r\nperformance similar to the one we had on webpack v4 (`node\r\nscripts/build_kibana_platform_plugins --no-cache`).\r\n- [x] OpenSSL Legacy Warnings: try to remove `--openssl-legacy-provider\r\n` flags\r\n- [x] Add Webpack to Renovate config\r\n- [x] Explore removing `NodePolyfillPlugin`\r\n([here](https://www.npmjs.com/package/node-polyfill-webpack-plugin)) and\r\nadd each polyfill needed individually per each webpack config to check\r\nif we get smaller bundles. If we do it's better to go with the case by\r\ncase need approach instead of deploying a bunch of polyfills with\r\nNodePolyfillPlugin. As another alternative, create a custom smaller\r\nplugin with only the union of all needed polyfills.\r\n- [x] Evaluate if we want to touch the resolutions on mainFields and\r\nconditionNames\r\n- [x] Understand why `@import 'src/core/public/mixins'` does not work\r\nanymore (not a problem, we should use relative paths anyway but we want\r\nto track why it changed from v4 to v5)\r\n- [x] BUG: Child compilers are having errors hidden and/or changed from\r\nerror to warning\r\n- [x] Fix license check for\r\n[Artistic-2.0](https://spdx.org/licenses/Artistic-2.0.html) is the\r\nlicense for\r\n[domain-browser](https://github.com/bevry/domain-browser?tab=License-1-ov-file).\r\nThis package is a dependency of\r\n[NodePolyfillPlugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin).\r\nArtistic 2.0 license is [classified as\r\nyellow](https://github.com/elastic/open-source/blob/main/elastic-product-policy.md#yellow-list)\r\nand should only be used for dev dependencies.\r\n- [x] Make sure `resourceQuery: { not: /raw/ }` is not necessary on\r\nother webpack configs like storybook one\r\n- [x] Find what is being wrongly removed by usedExports optimization;\r\nhint: I believe it is identifying a lot of exports inside the sync entry\r\nof plugins as unused exports and removing them. Then `__kbnBootstrap__`\r\ncan't be found\r\n- [x] Rebalance @kbn/optimizer pickMaxWorkerCount\r\n- [x] Re-open the issue to fix sass-warnings\r\n[#190345](https://github.com/elastic/kibana/issues/190345) or downgrade\r\nsass-loader to v10\r\n- [x] Remove previous esm no parse rules\r\n- [x] Confirm esm support is working\r\n- [x] Confirm console override is needed\r\n- [x] Confirm react prod builds on ui shared deps for distributable\r\n- [x] Remove customization for\r\n[xyflow](https://github.com/xyflow/xyflow) from webpack configs\r\n- [x] Clean all the code\r\n- [x] Make sure collected metrics from stats are still aligned with what\r\nwe were collecting before; also verify if the modules used for optimizer\r\ncaches etc are well generated (@kbn/node-libs-browser)\r\n- [x] Fix watch performance\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Brad White <brad.white@elastic.co>","sha":"203bc284781cc830049b3f7948c8fcafa8b7d9a1"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
b3ed78406c
|
[8.x] [kbn-grid-layout] Add `useCustomDragHandle` prop (#210463) (#211115)
# Backport This will backport the following commits from `main` to `8.x`: - [[kbn-grid-layout] Add `useCustomDragHandle` prop (#210463)](https://github.com/elastic/kibana/pull/210463) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Hannah Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-13T22:18:00Z","message":"[kbn-grid-layout] Add `useCustomDragHandle` prop (#210463)\n\nThis PR **might** resolve\r\nhttps://github.com/elastic/kibana/issues/207011 but we will need time\r\nfor the telemetry metrics to settle before we know for sure.\r\n\r\n## Summary\r\n\r\nThis PR removes the conditional rendering of the default drag handle in\r\n`kbn-grid-layout`, which has two benefits:\r\n\r\n1. It removes the double render of `GridPanel` that was caused by\r\nrelying on the `dragHandleCount` to be updated in order to determine\r\nwhether the default drag handle should be rendered\r\n2. The default drag handle no longer \"flashes\" when Dashboards are\r\nloading and waiting for `dragHandleCount` to update\r\n \r\n - **Before:**\r\n \r\n\r\nhttps://github.com/user-attachments/assets/30a032fc-4df3-42ce-9494-dd7f69637c03\r\n \r\n - **After:**\r\n \r\n\r\nhttps://github.com/user-attachments/assets/db447911-cbe2-40dd-9a07-405d1e35a75d\r\n\r\n\r\nInstead, the consumer of `kbn-grid-layout` is responsible for setting\r\nthe `useCustomDragHandle` prop to `true` when they want to use a drag\r\nhandle other than the default one.\r\n\r\n\r\nWhen adding the `useCustomDragHandle` prop, I got annoyed that I had to\r\npass this prop all the way down to `grid_panel` - so I decided to swap\r\nto using React context in this PR, as well. The API for the grid layout\r\ncomponent will most likely continue to grow, so this should make it\r\neasier to manage the props.\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\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"200922a5124d20c2d7ff6826a2c62a36befaa56c","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Dashboard","release_note:fix","Team:Presentation","loe:small","impact:high","Project:Collapsable Panels","backport:version","v9.1.0","v8.19.0"],"title":"[kbn-grid-layout] Add `useCustomDragHandle` prop","number":210463,"url":"https://github.com/elastic/kibana/pull/210463","mergeCommit":{"message":"[kbn-grid-layout] Add `useCustomDragHandle` prop (#210463)\n\nThis PR **might** resolve\r\nhttps://github.com/elastic/kibana/issues/207011 but we will need time\r\nfor the telemetry metrics to settle before we know for sure.\r\n\r\n## Summary\r\n\r\nThis PR removes the conditional rendering of the default drag handle in\r\n`kbn-grid-layout`, which has two benefits:\r\n\r\n1. It removes the double render of `GridPanel` that was caused by\r\nrelying on the `dragHandleCount` to be updated in order to determine\r\nwhether the default drag handle should be rendered\r\n2. The default drag handle no longer \"flashes\" when Dashboards are\r\nloading and waiting for `dragHandleCount` to update\r\n \r\n - **Before:**\r\n \r\n\r\nhttps://github.com/user-attachments/assets/30a032fc-4df3-42ce-9494-dd7f69637c03\r\n \r\n - **After:**\r\n \r\n\r\nhttps://github.com/user-attachments/assets/db447911-cbe2-40dd-9a07-405d1e35a75d\r\n\r\n\r\nInstead, the consumer of `kbn-grid-layout` is responsible for setting\r\nthe `useCustomDragHandle` prop to `true` when they want to use a drag\r\nhandle other than the default one.\r\n\r\n\r\nWhen adding the `useCustomDragHandle` prop, I got annoyed that I had to\r\npass this prop all the way down to `grid_panel` - so I decided to swap\r\nto using React context in this PR, as well. The API for the grid layout\r\ncomponent will most likely continue to grow, so this should make it\r\neasier to manage the props.\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\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"200922a5124d20c2d7ff6826a2c62a36befaa56c"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210463","number":210463,"mergeCommit":{"message":"[kbn-grid-layout] Add `useCustomDragHandle` prop (#210463)\n\nThis PR **might** resolve\r\nhttps://github.com/elastic/kibana/issues/207011 but we will need time\r\nfor the telemetry metrics to settle before we know for sure.\r\n\r\n## Summary\r\n\r\nThis PR removes the conditional rendering of the default drag handle in\r\n`kbn-grid-layout`, which has two benefits:\r\n\r\n1. It removes the double render of `GridPanel` that was caused by\r\nrelying on the `dragHandleCount` to be updated in order to determine\r\nwhether the default drag handle should be rendered\r\n2. The default drag handle no longer \"flashes\" when Dashboards are\r\nloading and waiting for `dragHandleCount` to update\r\n \r\n - **Before:**\r\n \r\n\r\nhttps://github.com/user-attachments/assets/30a032fc-4df3-42ce-9494-dd7f69637c03\r\n \r\n - **After:**\r\n \r\n\r\nhttps://github.com/user-attachments/assets/db447911-cbe2-40dd-9a07-405d1e35a75d\r\n\r\n\r\nInstead, the consumer of `kbn-grid-layout` is responsible for setting\r\nthe `useCustomDragHandle` prop to `true` when they want to use a drag\r\nhandle other than the default one.\r\n\r\n\r\nWhen adding the `useCustomDragHandle` prop, I got annoyed that I had to\r\npass this prop all the way down to `grid_panel` - so I decided to swap\r\nto using React context in this PR, as well. The API for the grid layout\r\ncomponent will most likely continue to grow, so this should make it\r\neasier to manage the props.\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\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"200922a5124d20c2d7ff6826a2c62a36befaa56c"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com> |
||
|
5d11caa37b
|
[8.x] [Authz] Migrated routes with access tags to security config (#209756) (#210596)
# Backport This will backport the following commits from `main` to `8.x`: - [[Authz] Migrated routes with access tags to security config (#209756)](https://github.com/elastic/kibana/pull/209756) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Elena Shostak","email":"165678770+elena-shostak@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-11T14:36:38Z","message":"[Authz] Migrated routes with access tags to security config (#209756)\n\n## Summary\r\n\r\nThis PR migrates the last routes with `access:<privilege>` tags used in\r\nroute definitions to new security configuration.\r\nPlease refer to the documentation for more information: [Authorization\r\nAPI](https://docs.elastic.dev/kibana-dev-docs/key-concepts/security-api-authorization)\r\n\r\n### **Before Migration:**\r\nAccess control tags were defined in the `options` object of the route:\r\n\r\n```ts\r\nrouter.get({\r\n path: '/api/path',\r\n options: {\r\n tags: ['access:<privilege_1>', 'access:<privilege_2>'],\r\n },\r\n ...\r\n}, handler);\r\n```\r\n\r\n### **After Migration:**\r\nTags have been replaced with the more robust\r\n`security.authz.requiredPrivileges` field under `security`:\r\n\r\n```ts\r\nrouter.get({\r\n path: '/api/path',\r\n security: {\r\n authz: {\r\n requiredPrivileges: ['<privilege_1>', '<privilege_2>'],\r\n },\r\n },\r\n ...\r\n}, handler);\r\n```\r\n\r\n### Checklist\r\n\r\n- [x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"ad0e1d9d9d5ffba3c0bd7839affe0e885c3f2f03","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","Feature:Security/Authorization","backport:prev-minor","backport:version","Authz: API migration","v9.1.0","v8.19.0"],"title":"[Authz] Migrated routes with access tags to security config","number":209756,"url":"https://github.com/elastic/kibana/pull/209756","mergeCommit":{"message":"[Authz] Migrated routes with access tags to security config (#209756)\n\n## Summary\r\n\r\nThis PR migrates the last routes with `access:<privilege>` tags used in\r\nroute definitions to new security configuration.\r\nPlease refer to the documentation for more information: [Authorization\r\nAPI](https://docs.elastic.dev/kibana-dev-docs/key-concepts/security-api-authorization)\r\n\r\n### **Before Migration:**\r\nAccess control tags were defined in the `options` object of the route:\r\n\r\n```ts\r\nrouter.get({\r\n path: '/api/path',\r\n options: {\r\n tags: ['access:<privilege_1>', 'access:<privilege_2>'],\r\n },\r\n ...\r\n}, handler);\r\n```\r\n\r\n### **After Migration:**\r\nTags have been replaced with the more robust\r\n`security.authz.requiredPrivileges` field under `security`:\r\n\r\n```ts\r\nrouter.get({\r\n path: '/api/path',\r\n security: {\r\n authz: {\r\n requiredPrivileges: ['<privilege_1>', '<privilege_2>'],\r\n },\r\n },\r\n ...\r\n}, handler);\r\n```\r\n\r\n### Checklist\r\n\r\n- [x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"ad0e1d9d9d5ffba3c0bd7839affe0e885c3f2f03"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209756","number":209756,"mergeCommit":{"message":"[Authz] Migrated routes with access tags to security config (#209756)\n\n## Summary\r\n\r\nThis PR migrates the last routes with `access:<privilege>` tags used in\r\nroute definitions to new security configuration.\r\nPlease refer to the documentation for more information: [Authorization\r\nAPI](https://docs.elastic.dev/kibana-dev-docs/key-concepts/security-api-authorization)\r\n\r\n### **Before Migration:**\r\nAccess control tags were defined in the `options` object of the route:\r\n\r\n```ts\r\nrouter.get({\r\n path: '/api/path',\r\n options: {\r\n tags: ['access:<privilege_1>', 'access:<privilege_2>'],\r\n },\r\n ...\r\n}, handler);\r\n```\r\n\r\n### **After Migration:**\r\nTags have been replaced with the more robust\r\n`security.authz.requiredPrivileges` field under `security`:\r\n\r\n```ts\r\nrouter.get({\r\n path: '/api/path',\r\n security: {\r\n authz: {\r\n requiredPrivileges: ['<privilege_1>', '<privilege_2>'],\r\n },\r\n },\r\n ...\r\n}, handler);\r\n```\r\n\r\n### Checklist\r\n\r\n- [x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"ad0e1d9d9d5ffba3c0bd7839affe0e885c3f2f03"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Elena Shostak <165678770+elena-shostak@users.noreply.github.com> |
||
|
1e03fc0166
|
[8.x] [dashboard][canvas] Replace VisTypes and VisTypeAliases in Add Panel Menu (#209022) (#210598)
# Backport This will backport the following commits from `main` to `8.x`: - [[dashboard][canvas] Replace VisTypes and VisTypeAliases in Add Panel Menu (#209022)](https://github.com/elastic/kibana/pull/209022) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2025-02-10T22:33:24Z","message":"[dashboard][canvas] Replace VisTypes and VisTypeAliases in Add Panel Menu (#209022)\n\nCloses https://github.com/elastic/kibana/issues/180057\r\n\r\nThe following items needed to be replaced with add panel actions\r\n* vega - visType\r\n* markdown - visType\r\n* lens - visTypeAlias\r\n* maps - visTypeAlias\r\n\r\nAs an added benefit, now these actions are displayed in embeddable\r\nexamples that uses ADD_PANEL_TRIGGER\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"0ba9c66a4ec8b0ae7c54965d352f266486cf09c4","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Dashboard","Team:Presentation","loe:medium","technical debt","release_note:skip","impact:low","Feature:Canvas","backport:version","v9.1.0","v8.19.0"],"title":"[dashboard][canvas] Replace VisTypes and VisTypeAliases in Add Panel Menu","number":209022,"url":"https://github.com/elastic/kibana/pull/209022","mergeCommit":{"message":"[dashboard][canvas] Replace VisTypes and VisTypeAliases in Add Panel Menu (#209022)\n\nCloses https://github.com/elastic/kibana/issues/180057\r\n\r\nThe following items needed to be replaced with add panel actions\r\n* vega - visType\r\n* markdown - visType\r\n* lens - visTypeAlias\r\n* maps - visTypeAlias\r\n\r\nAs an added benefit, now these actions are displayed in embeddable\r\nexamples that uses ADD_PANEL_TRIGGER\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"0ba9c66a4ec8b0ae7c54965d352f266486cf09c4"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209022","number":209022,"mergeCommit":{"message":"[dashboard][canvas] Replace VisTypes and VisTypeAliases in Add Panel Menu (#209022)\n\nCloses https://github.com/elastic/kibana/issues/180057\r\n\r\nThe following items needed to be replaced with add panel actions\r\n* vega - visType\r\n* markdown - visType\r\n* lens - visTypeAlias\r\n* maps - visTypeAlias\r\n\r\nAs an added benefit, now these actions are displayed in embeddable\r\nexamples that uses ADD_PANEL_TRIGGER\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"0ba9c66a4ec8b0ae7c54965d352f266486cf09c4"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
6fdd9fc9d7
|
[8.x] [Embeddable] EUI Visual Refresh Integration (#204452) (#208565)
# Backport This will backport the following commits from `main` to `8.x`: - [[Embeddable] EUI Visual Refresh Integration (#204452)](https://github.com/elastic/kibana/pull/204452) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Catherine Liu","email":"catherine.liu@elastic.co"},"sourceCommit":{"committedDate":"2024-12-19T18:12:09Z","message":"[Embeddable] EUI Visual Refresh Integration (#204452)\n\n## Summary\r\n\r\nRelated to https://github.com/elastic/kibana/issues/203132.\r\nPart of [#204596](https://github.com/elastic/kibana/issues/204596).\r\n\r\nThis replaces all references to euiThemeVars in favor of the useEuiTheme\r\nhook.\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [ ] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [ ] [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\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n- [ ] This was checked for breaking HTTP API changes, and any breaking\r\nchanges have been approved by the breaking-change committee. The\r\n`release_note:breaking` label should be applied in these situations.\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [ ] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nDoes this PR introduce any risks? For example, consider risks like hard\r\nto test bugs, performance regression, potential of data loss.\r\n\r\nDescribe the risk, its severity, and mitigation for each identified\r\nrisk. Invite stakeholders and evaluate how to proceed before merging.\r\n\r\n- [ ] [See some risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n- [ ] ...\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"b80980694a30f957fbd97dc57f16334daf59850d","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","release_note:skip","backport:skip","v9.0.0","Feature:Embeddables","backport:version"],"title":"[Embeddable] EUI Visual Refresh Integration","number":204452,"url":"https://github.com/elastic/kibana/pull/204452","mergeCommit":{"message":"[Embeddable] EUI Visual Refresh Integration (#204452)\n\n## Summary\r\n\r\nRelated to https://github.com/elastic/kibana/issues/203132.\r\nPart of [#204596](https://github.com/elastic/kibana/issues/204596).\r\n\r\nThis replaces all references to euiThemeVars in favor of the useEuiTheme\r\nhook.\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [ ] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [ ] [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\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n- [ ] This was checked for breaking HTTP API changes, and any breaking\r\nchanges have been approved by the breaking-change committee. The\r\n`release_note:breaking` label should be applied in these situations.\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [ ] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nDoes this PR introduce any risks? For example, consider risks like hard\r\nto test bugs, performance regression, potential of data loss.\r\n\r\nDescribe the risk, its severity, and mitigation for each identified\r\nrisk. Invite stakeholders and evaluate how to proceed before merging.\r\n\r\n- [ ] [See some risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n- [ ] ...\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"b80980694a30f957fbd97dc57f16334daf59850d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204452","number":204452,"mergeCommit":{"message":"[Embeddable] EUI Visual Refresh Integration (#204452)\n\n## Summary\r\n\r\nRelated to https://github.com/elastic/kibana/issues/203132.\r\nPart of [#204596](https://github.com/elastic/kibana/issues/204596).\r\n\r\nThis replaces all references to euiThemeVars in favor of the useEuiTheme\r\nhook.\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [ ] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [ ] [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\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n- [ ] This was checked for breaking HTTP API changes, and any breaking\r\nchanges have been approved by the breaking-change committee. The\r\n`release_note:breaking` label should be applied in these situations.\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [ ] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nDoes this PR introduce any risks? For example, consider risks like hard\r\nto test bugs, performance regression, potential of data loss.\r\n\r\nDescribe the risk, its severity, and mitigation for each identified\r\nrisk. Invite stakeholders and evaluate how to proceed before merging.\r\n\r\n- [ ] [See some risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n- [ ] ...\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"b80980694a30f957fbd97dc57f16334daf59850d"}}]}] BACKPORT--> |
||
|
28ca7d52d3
|
[8.x] SKA: Relocate core mock and test-helper modules (#208538) (#208725)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Relocate core mock and test-helper modules (#208538)](https://github.com/elastic/kibana/pull/208538) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Gerard Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-01-29T11:14:44Z","message":"SKA: Relocate core mock and test-helper modules (#208538)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> * This PR has been auto-generated.\r\n> * Any manual contributions will be lost if the 'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews / approvals before applying manual\r\nfixes, and/or keep your changes in a .patch / git stash.\r\n> * Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve merge conflicts? Please follow\r\nthe steps describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n#### 55 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/core-analytics-browser-mocks` |\r\n`src/core/packages/analytics/browser-mocks` |\r\n| `@kbn/core-analytics-server-mocks` |\r\n`src/core/packages/analytics/server-mocks` |\r\n| `@kbn/core-application-browser-mocks` |\r\n`src/core/packages/application/browser-mocks` |\r\n| `@kbn/core-apps-browser-mocks` |\r\n`src/core/packages/apps/browser-mocks` |\r\n| `@kbn/core-base-browser-mocks` |\r\n`src/core/packages/base/browser-mocks` |\r\n| `@kbn/core-base-server-mocks` | `src/core/packages/base/server-mocks`\r\n|\r\n| `@kbn/core-capabilities-browser-mocks` |\r\n`src/core/packages/capabilities/browser-mocks` |\r\n| `@kbn/core-capabilities-server-mocks` |\r\n`src/core/packages/capabilities/server-mocks` |\r\n| `@kbn/core-chrome-browser-mocks` |\r\n`src/core/packages/chrome/browser-mocks` |\r\n| `@kbn/core-deprecations-browser-mocks` |\r\n`src/core/packages/deprecations/browser-mocks` |\r\n| `@kbn/core-deprecations-server-mocks` |\r\n`src/core/packages/deprecations/server-mocks` |\r\n| `@kbn/core-doc-links-browser-mocks` |\r\n`src/core/packages/doc-links/browser-mocks` |\r\n| `@kbn/core-doc-links-server-mocks` |\r\n`src/core/packages/doc-links/server-mocks` |\r\n| `@kbn/core-elasticsearch-client-server-mocks` |\r\n`src/core/packages/elasticsearch/client-server-mocks` |\r\n| `@kbn/core-elasticsearch-server-mocks` |\r\n`src/core/packages/elasticsearch/server-mocks` |\r\n| `@kbn/core-environment-server-mocks` |\r\n`src/core/packages/environment/server-mocks` |\r\n| `@kbn/core-execution-context-browser-mocks` |\r\n`src/core/packages/execution-context/browser-mocks` |\r\n| `@kbn/core-execution-context-server-mocks` |\r\n`src/core/packages/execution-context/server-mocks` |\r\n| `@kbn/core-fatal-errors-browser-mocks` |\r\n`src/core/packages/fatal-errors/browser-mocks` |\r\n| `@kbn/core-http-browser-mocks` |\r\n`src/core/packages/http/browser-mocks` |\r\n| `@kbn/core-http-context-server-mocks` |\r\n`src/core/packages/http/context-server-mocks` |\r\n| `@kbn/core-http-resources-server-mocks` |\r\n`src/core/packages/http/resources-server-mocks` |\r\n| `@kbn/core-http-router-server-mocks` |\r\n`src/core/packages/http/router-server-mocks` |\r\n| `@kbn/core-http-server-mocks` | `src/core/packages/http/server-mocks`\r\n|\r\n| `@kbn/core-i18n-browser-mocks` |\r\n`src/core/packages/i18n/browser-mocks` |\r\n| `@kbn/core-i18n-server-mocks` | `src/core/packages/i18n/server-mocks`\r\n|\r\n| `@kbn/core-injected-metadata-browser-mocks` |\r\n`src/core/packages/injected-metadata/browser-mocks` |\r\n| `@kbn/core-integrations-browser-mocks` |\r\n`src/core/packages/integrations/browser-mocks` |\r\n| `@kbn/core-lifecycle-browser-mocks` |\r\n`src/core/packages/lifecycle/browser-mocks` |\r\n| `@kbn/core-lifecycle-server-mocks` |\r\n`src/core/packages/lifecycle/server-mocks` |\r\n| `@kbn/core-logging-browser-mocks` |\r\n`src/core/packages/logging/browser-mocks` |\r\n| `@kbn/core-logging-server-mocks` |\r\n`src/core/packages/logging/server-mocks` |\r\n| `@kbn/core-metrics-collectors-server-mocks` |\r\n`src/core/packages/metrics/collectors-server-mocks` |\r\n| `@kbn/core-metrics-server-mocks` |\r\n`src/core/packages/metrics/server-mocks` |\r\n| `@kbn/core-node-server-mocks` | `src/core/packages/node/server-mocks`\r\n|\r\n| `@kbn/core-notifications-browser-mocks` |\r\n`src/core/packages/notifications/browser-mocks` |\r\n| `@kbn/core-overlays-browser-mocks` |\r\n`src/core/packages/overlays/browser-mocks` |\r\n| `@kbn/core-plugins-browser-mocks` |\r\n`src/core/packages/plugins/browser-mocks` |\r\n| `@kbn/core-plugins-server-mocks` |\r\n`src/core/packages/plugins/server-mocks` |\r\n| `@kbn/core-preboot-server-mocks` |\r\n`src/core/packages/preboot/server-mocks` |\r\n| `@kbn/core-rendering-browser-mocks` |\r\n`src/core/packages/rendering/browser-mocks` |\r\n| `@kbn/core-rendering-server-mocks` |\r\n`src/core/packages/rendering/server-mocks` |\r\n| `@kbn/core-saved-objects-api-server-mocks` |\r\n`src/core/packages/saved-objects/api-server-mocks` |\r\n| `@kbn/core-saved-objects-base-server-mocks` |\r\n`src/core/packages/saved-objects/base-server-mocks` |\r\n| `@kbn/core-saved-objects-browser-mocks` |\r\n`src/core/packages/saved-objects/browser-mocks` |\r\n| `@kbn/core-saved-objects-import-export-server-mocks` |\r\n`src/core/packages/saved-objects/import-export-server-mocks` |\r\n| `@kbn/core-saved-objects-migration-server-mocks` |\r\n`src/core/packages/saved-objects/migration-server-mocks` |\r\n| `@kbn/core-saved-objects-server-mocks` |\r\n`src/core/packages/saved-objects/server-mocks` |\r\n| `@kbn/core-status-server-mocks` |\r\n`src/core/packages/status/server-mocks` |\r\n| `@kbn/core-test-helpers-kbn-server` |\r\n`src/dev/packages/core-test-helpers-kbn-server` |\r\n| `@kbn/core-test-helpers-model-versions` |\r\n`src/dev/packages/core-test-helpers-model-versions` |\r\n| `@kbn/core-theme-browser-mocks` |\r\n`src/core/packages/theme/browser-mocks` |\r\n| `@kbn/core-ui-settings-browser-mocks` |\r\n`src/core/packages/ui-settings/browser-mocks` |\r\n| `@kbn/core-ui-settings-server-mocks` |\r\n`src/core/packages/ui-settings/server-mocks` |\r\n| `@kbn/core-usage-data-server-mocks` |\r\n`src/core/packages/usage-data/server-mocks` |\r\n\r\n\r\n<details >\r\n<summary>Updated references</summary>\r\n\r\n```\r\n./.github/codeql/codeql-config.yml\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/core/packages/analytics/browser-mocks/jest.config.js\r\n./src/core/packages/analytics/server-mocks/jest.config.js\r\n./src/core/packages/application/browser-mocks/jest.config.js\r\n./src/core/packages/apps/browser-mocks/jest.config.js\r\n./src/core/packages/base/browser-mocks/jest.config.js\r\n./src/core/packages/base/server-mocks/jest.config.js\r\n./src/core/packages/capabilities/browser-mocks/jest.config.js\r\n./src/core/packages/capabilities/server-mocks/jest.config.js\r\n./src/core/packages/chrome/browser-mocks/jest.config.js\r\n./src/core/packages/deprecations/browser-mocks/jest.config.js\r\n./src/core/packages/deprecations/server-mocks/jest.config.js\r\n./src/core/packages/doc-links/browser-mocks/jest.config.js\r\n./src/core/packages/doc-links/server-mocks/jest.config.js\r\n./src/core/packages/elasticsearch/client-server-mocks/jest.config.js\r\n./src/core/packages/elasticsearch/server-mocks/jest.config.js\r\n./src/core/packages/environment/server-mocks/jest.config.js\r\n./src/core/packages/execution-context/browser-mocks/jest.config.js\r\n./src/core/packages/execution-context/server-mocks/jest.config.js\r\n./src/core/packages/fatal-errors/browser-mocks/jest.config.js\r\n./src/core/packages/http/browser-mocks/jest.config.js\r\n./src/core/packages/http/context-server-mocks/jest.config.js\r\n./src/core/packages/http/resources-server-mocks/jest.config.js\r\n./src/core/packages/http/router-server-mocks/jest.config.js\r\n./src/core/packages/http/server-mocks/jest.config.js\r\n./src/core/packages/i18n/browser-mocks/jest.config.js\r\n./src/core/packages/i18n/server-mocks/jest.config.js\r\n./src/core/packages/injected-metadata/browser-mocks/jest.config.js\r\n./src/core/packages/integrations/browser-mocks/jest.config.js\r\n./src/core/packages/lifecycle/browser-mocks/jest.config.js\r\n./src/core/packages/lifecycle/server-mocks/jest.config.js\r\n./src/core/packages/logging/browser-mocks/jest.config.js\r\n./src/core/packages/logging/server-mocks/jest.config.js\r\n./src/core/packages/metrics/collectors-server-mocks/jest.config.js\r\n./src/core/packages/metrics/server-mocks/jest.config.js\r\n./src/core/packages/node/server-mocks/jest.config.js\r\n./src/core/packages/notifications/browser-mocks/jest.config.js\r\n./src/core/packages/overlays/browser-mocks/jest.config.js\r\n./src/core/packages/plugins/browser-mocks/jest.config.js\r\n./src/core/packages/plugins/server-mocks/jest.config.js\r\n./src/core/packages/preboot/server-mocks/jest.config.js\r\n./src/core/packages/rendering/browser-mocks/jest.config.js\r\n./src/core/packages/rendering/server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/api-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/base-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/browser-mocks/jest.config.js\r\n./src/core/packages/saved-objects/import-export-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/migration-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/server-mocks/jest.config.js\r\n./src/core/packages/status/server-mocks/jest.config.js\r\n./src/core/packages/theme/browser-mocks/jest.config.js\r\n./src/core/packages/ui-settings/browser-mocks/jest.config.js\r\n./src/core/packages/ui-settings/server-mocks/jest.config.js\r\n./src/core/packages/usage-data/server-mocks/jest.config.js\r\n./src/core/system/tsconfig.type_check.json\r\n./src/dev/packages/core-test-helpers-kbn-server/jest.config.js\r\n./src/dev/packages/core-test-helpers-model-versions/jest.config.js\r\n./src/dev/tsconfig.type_check.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./src/platform/plugins/private/interactive_setup/tsconfig.type_check.json\r\n./src/platform/plugins/shared/console/tsconfig.type_check.json\r\n./src/plugins/kibana_usage_collection/tsconfig.type_check.json\r\n./src/plugins/saved_objects_management/tsconfig.type_check.json\r\n./src/plugins/telemetry/tsconfig.type_check.json\r\n./src/plugins/usage_collection/tsconfig.type_check.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/platform/plugins/private/index_lifecycle_management/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/remote_clusters/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/snapshot_restore/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/watcher/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/encrypted_saved_objects/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/security/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json\r\n./x-pack/plugins/actions/tsconfig.type_check.json\r\n./x-pack/plugins/aiops/tsconfig.type_check.json\r\n./x-pack/plugins/alerting/tsconfig.type_check.json\r\n./x-pack/plugins/cases/tsconfig.type_check.json\r\n./x-pack/plugins/enterprise_search/tsconfig.type_check.json\r\n./x-pack/plugins/integration_assistant/tsconfig.type_check.json\r\n./x-pack/plugins/ml/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/apm/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/apm_data_access/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/entity_manager/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/exploratory_view/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/slo/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/synthetics/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/uptime/tsconfig.type_check.json\r\n./x-pack/plugins/rule_registry/tsconfig.type_check.json\r\n./x-pack/plugins/search_playground/tsconfig.type_check.json\r\n./x-pack/plugins/serverless_search/tsconfig.type_check.json\r\n./x-pack/plugins/stack_alerts/tsconfig.type_check.json\r\n./x-pack/plugins/stack_connectors/tsconfig.type_check.json\r\n./x-pack/plugins/task_manager/tsconfig.type_check.json\r\n./x-pack/plugins/transform/tsconfig.type_check.json\r\n./x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json\r\n./x-pack/solutions/security/packages/security-solution/ecs_data_quality_dashboard/tsconfig.type_check.json\r\n./x-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.type_check.json\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/core/packages/analytics/browser-mocks/jest.config.js:12\r\nsrc/core/packages/analytics/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/analytics/server-mocks/jest.config.js:12\r\nsrc/core/packages/analytics/server-mocks/tsconfig.json:2\r\nsrc/core/packages/application/browser-mocks/jest.config.js:12\r\nsrc/core/packages/application/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/apps/browser-mocks/jest.config.js:12\r\nsrc/core/packages/apps/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/base/browser-mocks/jest.config.js:12\r\nsrc/core/packages/base/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/base/server-mocks/jest.config.js:12\r\nsrc/core/packages/base/server-mocks/tsconfig.json:2\r\nsrc/core/packages/capabilities/browser-mocks/jest.config.js:12\r\nsrc/core/packages/capabilities/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/capabilities/server-mocks/jest.config.js:12\r\nsrc/core/packages/capabilities/server-mocks/tsconfig.json:2\r\nsrc/core/packages/chrome/browser-mocks/jest.config.js:12\r\nsrc/core/packages/chrome/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/deprecations/browser-mocks/jest.config.js:12\r\nsrc/core/packages/deprecations/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/deprecations/server-mocks/jest.config.js:12\r\nsrc/core/packages/deprecations/server-mocks/tsconfig.json:2\r\nsrc/core/packages/doc-links/browser-mocks/jest.config.js:12\r\nsrc/core/packages/doc-links/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/doc-links/server-mocks/jest.config.js:12\r\nsrc/core/packages/doc-links/server-mocks/tsconfig.json:2\r\nsrc/core/packages/elasticsearch/client-server-mocks/jest.config.js:12\r\nsrc/core/packages/elasticsearch/client-server-mocks/tsconfig.json:2\r\nsrc/core/packages/elasticsearch/server-mocks/jest.config.js:12\r\nsrc/core/packages/elasticsearch/server-mocks/tsconfig.json:2\r\nsrc/core/packages/environment/server-mocks/jest.config.js:12\r\nsrc/core/packages/environment/server-mocks/tsconfig.json:2\r\nsrc/core/packages/execution-context/browser-mocks/jest.config.js:12\r\nsrc/core/packages/execution-context/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/execution-context/server-mocks/jest.config.js:12\r\nsrc/core/packages/execution-context/server-mocks/tsconfig.json:2\r\nsrc/core/packages/fatal-errors/browser-mocks/jest.config.js:12\r\nsrc/core/packages/fatal-errors/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/http/browser-mocks/jest.config.js:12\r\nsrc/core/packages/http/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/http/context-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/context-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/resources-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/resources-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/router-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/router-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/server-mocks/jest.config.js:12\r\nsrc/core/packages/http/server-mocks/tsconfig.json:2\r\nsrc/core/packages/i18n/browser-mocks/jest.config.js:12\r\nsrc/core/packages/i18n/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/i18n/server-mocks/jest.config.js:12\r\nsrc/core/packages/i18n/server-mocks/tsconfig.json:2\r\nsrc/core/packages/injected-metadata/browser-mocks/jest.config.js:12\r\nsrc/core/packages/injected-metadata/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/integrations/browser-mocks/jest.config.js:12\r\nsrc/core/packages/integrations/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/lifecycle/browser-mocks/jest.config.js:12\r\nsrc/core/packages/lifecycle/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/lifecycle/server-mocks/jest.config.js:12\r\nsrc/core/packages/lifecycle/server-mocks/tsconfig.json:2\r\nsrc/core/packages/logging/browser-mocks/jest.config.js:12\r\nsrc/core/packages/logging/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/logging/server-mocks/jest.config.js:12\r\nsrc/core/packages/logging/server-mocks/tsconfig.json:2\r\nsrc/core/packages/metrics/collectors-server-mocks/jest.config.js:12\r\nsrc/core/packages/metrics/collectors-server-mocks/tsconfig.json:2\r\nsrc/core/packages/metrics/server-mocks/jest.config.js:12\r\nsrc/core/packages/metrics/server-mocks/tsconfig.json:2\r\nsrc/core/packages/node/server-mocks/jest.config.js:12\r\nsrc/core/packages/node/server-mocks/tsconfig.json:2\r\nsrc/core/packages/notifications/browser-mocks/jest.config.js:12\r\nsrc/core/packages/notifications/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/overlays/browser-mocks/jest.config.js:12\r\nsrc/core/packages/overlays/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/plugins/browser-mocks/jest.config.js:12\r\nsrc/core/packages/plugins/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/plugins/server-mocks/jest.config.js:12\r\nsrc/core/packages/plugins/server-mocks/tsconfig.json:2\r\nsrc/core/packages/preboot/server-mocks/jest.config.js:12\r\nsrc/core/packages/preboot/server-mocks/tsconfig.json:2\r\nsrc/core/packages/rendering/browser-mocks/jest.config.js:12\r\nsrc/core/packages/rendering/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/rendering/server-mocks/jest.config.js:12\r\nsrc/core/packages/rendering/server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/api-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/api-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/base-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/base-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/browser-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/import-export-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/import-export-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/migration-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/migration-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/server-mocks/tsconfig.json:2\r\nsrc/core/packages/status/server-mocks/jest.config.js:12\r\nsrc/core/packages/status/server-mocks/tsconfig.json:2\r\nsrc/core/packages/theme/browser-mocks/jest.config.js:12\r\nsrc/core/packages/theme/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/ui-settings/browser-mocks/jest.config.js:12\r\nsrc/core/packages/ui-settings/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/ui-settings/server-mocks/jest.config.js:12\r\nsrc/core/packages/ui-settings/server-mocks/tsconfig.json:2\r\nsrc/core/packages/usage-data/server-mocks/jest.config.js:12\r\nsrc/core/packages/usage-data/server-mocks/tsconfig.json:2\r\nsrc/dev/packages/core-test-helpers-kbn-server/jest.config.js:12\r\nsrc/dev/packages/core-test-helpers-kbn-server/tsconfig.json:2\r\nsrc/dev/packages/core-test-helpers-model-versions/jest.config.js:12\r\nsrc/dev/packages/core-test-helpers-model-versions/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Alejandro Fernández Haro <afharo@gmail.com>","sha":"4a00449bdcd699f89294536a86dffcbeab4daf53","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor"],"title":"SKA: Relocate core mock and test-helper modules","number":208538,"url":"https://github.com/elastic/kibana/pull/208538","mergeCommit":{"message":"SKA: Relocate core mock and test-helper modules (#208538)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> * This PR has been auto-generated.\r\n> * Any manual contributions will be lost if the 'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews / approvals before applying manual\r\nfixes, and/or keep your changes in a .patch / git stash.\r\n> * Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve merge conflicts? Please follow\r\nthe steps describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n#### 55 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/core-analytics-browser-mocks` |\r\n`src/core/packages/analytics/browser-mocks` |\r\n| `@kbn/core-analytics-server-mocks` |\r\n`src/core/packages/analytics/server-mocks` |\r\n| `@kbn/core-application-browser-mocks` |\r\n`src/core/packages/application/browser-mocks` |\r\n| `@kbn/core-apps-browser-mocks` |\r\n`src/core/packages/apps/browser-mocks` |\r\n| `@kbn/core-base-browser-mocks` |\r\n`src/core/packages/base/browser-mocks` |\r\n| `@kbn/core-base-server-mocks` | `src/core/packages/base/server-mocks`\r\n|\r\n| `@kbn/core-capabilities-browser-mocks` |\r\n`src/core/packages/capabilities/browser-mocks` |\r\n| `@kbn/core-capabilities-server-mocks` |\r\n`src/core/packages/capabilities/server-mocks` |\r\n| `@kbn/core-chrome-browser-mocks` |\r\n`src/core/packages/chrome/browser-mocks` |\r\n| `@kbn/core-deprecations-browser-mocks` |\r\n`src/core/packages/deprecations/browser-mocks` |\r\n| `@kbn/core-deprecations-server-mocks` |\r\n`src/core/packages/deprecations/server-mocks` |\r\n| `@kbn/core-doc-links-browser-mocks` |\r\n`src/core/packages/doc-links/browser-mocks` |\r\n| `@kbn/core-doc-links-server-mocks` |\r\n`src/core/packages/doc-links/server-mocks` |\r\n| `@kbn/core-elasticsearch-client-server-mocks` |\r\n`src/core/packages/elasticsearch/client-server-mocks` |\r\n| `@kbn/core-elasticsearch-server-mocks` |\r\n`src/core/packages/elasticsearch/server-mocks` |\r\n| `@kbn/core-environment-server-mocks` |\r\n`src/core/packages/environment/server-mocks` |\r\n| `@kbn/core-execution-context-browser-mocks` |\r\n`src/core/packages/execution-context/browser-mocks` |\r\n| `@kbn/core-execution-context-server-mocks` |\r\n`src/core/packages/execution-context/server-mocks` |\r\n| `@kbn/core-fatal-errors-browser-mocks` |\r\n`src/core/packages/fatal-errors/browser-mocks` |\r\n| `@kbn/core-http-browser-mocks` |\r\n`src/core/packages/http/browser-mocks` |\r\n| `@kbn/core-http-context-server-mocks` |\r\n`src/core/packages/http/context-server-mocks` |\r\n| `@kbn/core-http-resources-server-mocks` |\r\n`src/core/packages/http/resources-server-mocks` |\r\n| `@kbn/core-http-router-server-mocks` |\r\n`src/core/packages/http/router-server-mocks` |\r\n| `@kbn/core-http-server-mocks` | `src/core/packages/http/server-mocks`\r\n|\r\n| `@kbn/core-i18n-browser-mocks` |\r\n`src/core/packages/i18n/browser-mocks` |\r\n| `@kbn/core-i18n-server-mocks` | `src/core/packages/i18n/server-mocks`\r\n|\r\n| `@kbn/core-injected-metadata-browser-mocks` |\r\n`src/core/packages/injected-metadata/browser-mocks` |\r\n| `@kbn/core-integrations-browser-mocks` |\r\n`src/core/packages/integrations/browser-mocks` |\r\n| `@kbn/core-lifecycle-browser-mocks` |\r\n`src/core/packages/lifecycle/browser-mocks` |\r\n| `@kbn/core-lifecycle-server-mocks` |\r\n`src/core/packages/lifecycle/server-mocks` |\r\n| `@kbn/core-logging-browser-mocks` |\r\n`src/core/packages/logging/browser-mocks` |\r\n| `@kbn/core-logging-server-mocks` |\r\n`src/core/packages/logging/server-mocks` |\r\n| `@kbn/core-metrics-collectors-server-mocks` |\r\n`src/core/packages/metrics/collectors-server-mocks` |\r\n| `@kbn/core-metrics-server-mocks` |\r\n`src/core/packages/metrics/server-mocks` |\r\n| `@kbn/core-node-server-mocks` | `src/core/packages/node/server-mocks`\r\n|\r\n| `@kbn/core-notifications-browser-mocks` |\r\n`src/core/packages/notifications/browser-mocks` |\r\n| `@kbn/core-overlays-browser-mocks` |\r\n`src/core/packages/overlays/browser-mocks` |\r\n| `@kbn/core-plugins-browser-mocks` |\r\n`src/core/packages/plugins/browser-mocks` |\r\n| `@kbn/core-plugins-server-mocks` |\r\n`src/core/packages/plugins/server-mocks` |\r\n| `@kbn/core-preboot-server-mocks` |\r\n`src/core/packages/preboot/server-mocks` |\r\n| `@kbn/core-rendering-browser-mocks` |\r\n`src/core/packages/rendering/browser-mocks` |\r\n| `@kbn/core-rendering-server-mocks` |\r\n`src/core/packages/rendering/server-mocks` |\r\n| `@kbn/core-saved-objects-api-server-mocks` |\r\n`src/core/packages/saved-objects/api-server-mocks` |\r\n| `@kbn/core-saved-objects-base-server-mocks` |\r\n`src/core/packages/saved-objects/base-server-mocks` |\r\n| `@kbn/core-saved-objects-browser-mocks` |\r\n`src/core/packages/saved-objects/browser-mocks` |\r\n| `@kbn/core-saved-objects-import-export-server-mocks` |\r\n`src/core/packages/saved-objects/import-export-server-mocks` |\r\n| `@kbn/core-saved-objects-migration-server-mocks` |\r\n`src/core/packages/saved-objects/migration-server-mocks` |\r\n| `@kbn/core-saved-objects-server-mocks` |\r\n`src/core/packages/saved-objects/server-mocks` |\r\n| `@kbn/core-status-server-mocks` |\r\n`src/core/packages/status/server-mocks` |\r\n| `@kbn/core-test-helpers-kbn-server` |\r\n`src/dev/packages/core-test-helpers-kbn-server` |\r\n| `@kbn/core-test-helpers-model-versions` |\r\n`src/dev/packages/core-test-helpers-model-versions` |\r\n| `@kbn/core-theme-browser-mocks` |\r\n`src/core/packages/theme/browser-mocks` |\r\n| `@kbn/core-ui-settings-browser-mocks` |\r\n`src/core/packages/ui-settings/browser-mocks` |\r\n| `@kbn/core-ui-settings-server-mocks` |\r\n`src/core/packages/ui-settings/server-mocks` |\r\n| `@kbn/core-usage-data-server-mocks` |\r\n`src/core/packages/usage-data/server-mocks` |\r\n\r\n\r\n<details >\r\n<summary>Updated references</summary>\r\n\r\n```\r\n./.github/codeql/codeql-config.yml\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/core/packages/analytics/browser-mocks/jest.config.js\r\n./src/core/packages/analytics/server-mocks/jest.config.js\r\n./src/core/packages/application/browser-mocks/jest.config.js\r\n./src/core/packages/apps/browser-mocks/jest.config.js\r\n./src/core/packages/base/browser-mocks/jest.config.js\r\n./src/core/packages/base/server-mocks/jest.config.js\r\n./src/core/packages/capabilities/browser-mocks/jest.config.js\r\n./src/core/packages/capabilities/server-mocks/jest.config.js\r\n./src/core/packages/chrome/browser-mocks/jest.config.js\r\n./src/core/packages/deprecations/browser-mocks/jest.config.js\r\n./src/core/packages/deprecations/server-mocks/jest.config.js\r\n./src/core/packages/doc-links/browser-mocks/jest.config.js\r\n./src/core/packages/doc-links/server-mocks/jest.config.js\r\n./src/core/packages/elasticsearch/client-server-mocks/jest.config.js\r\n./src/core/packages/elasticsearch/server-mocks/jest.config.js\r\n./src/core/packages/environment/server-mocks/jest.config.js\r\n./src/core/packages/execution-context/browser-mocks/jest.config.js\r\n./src/core/packages/execution-context/server-mocks/jest.config.js\r\n./src/core/packages/fatal-errors/browser-mocks/jest.config.js\r\n./src/core/packages/http/browser-mocks/jest.config.js\r\n./src/core/packages/http/context-server-mocks/jest.config.js\r\n./src/core/packages/http/resources-server-mocks/jest.config.js\r\n./src/core/packages/http/router-server-mocks/jest.config.js\r\n./src/core/packages/http/server-mocks/jest.config.js\r\n./src/core/packages/i18n/browser-mocks/jest.config.js\r\n./src/core/packages/i18n/server-mocks/jest.config.js\r\n./src/core/packages/injected-metadata/browser-mocks/jest.config.js\r\n./src/core/packages/integrations/browser-mocks/jest.config.js\r\n./src/core/packages/lifecycle/browser-mocks/jest.config.js\r\n./src/core/packages/lifecycle/server-mocks/jest.config.js\r\n./src/core/packages/logging/browser-mocks/jest.config.js\r\n./src/core/packages/logging/server-mocks/jest.config.js\r\n./src/core/packages/metrics/collectors-server-mocks/jest.config.js\r\n./src/core/packages/metrics/server-mocks/jest.config.js\r\n./src/core/packages/node/server-mocks/jest.config.js\r\n./src/core/packages/notifications/browser-mocks/jest.config.js\r\n./src/core/packages/overlays/browser-mocks/jest.config.js\r\n./src/core/packages/plugins/browser-mocks/jest.config.js\r\n./src/core/packages/plugins/server-mocks/jest.config.js\r\n./src/core/packages/preboot/server-mocks/jest.config.js\r\n./src/core/packages/rendering/browser-mocks/jest.config.js\r\n./src/core/packages/rendering/server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/api-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/base-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/browser-mocks/jest.config.js\r\n./src/core/packages/saved-objects/import-export-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/migration-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/server-mocks/jest.config.js\r\n./src/core/packages/status/server-mocks/jest.config.js\r\n./src/core/packages/theme/browser-mocks/jest.config.js\r\n./src/core/packages/ui-settings/browser-mocks/jest.config.js\r\n./src/core/packages/ui-settings/server-mocks/jest.config.js\r\n./src/core/packages/usage-data/server-mocks/jest.config.js\r\n./src/core/system/tsconfig.type_check.json\r\n./src/dev/packages/core-test-helpers-kbn-server/jest.config.js\r\n./src/dev/packages/core-test-helpers-model-versions/jest.config.js\r\n./src/dev/tsconfig.type_check.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./src/platform/plugins/private/interactive_setup/tsconfig.type_check.json\r\n./src/platform/plugins/shared/console/tsconfig.type_check.json\r\n./src/plugins/kibana_usage_collection/tsconfig.type_check.json\r\n./src/plugins/saved_objects_management/tsconfig.type_check.json\r\n./src/plugins/telemetry/tsconfig.type_check.json\r\n./src/plugins/usage_collection/tsconfig.type_check.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/platform/plugins/private/index_lifecycle_management/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/remote_clusters/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/snapshot_restore/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/watcher/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/encrypted_saved_objects/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/security/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json\r\n./x-pack/plugins/actions/tsconfig.type_check.json\r\n./x-pack/plugins/aiops/tsconfig.type_check.json\r\n./x-pack/plugins/alerting/tsconfig.type_check.json\r\n./x-pack/plugins/cases/tsconfig.type_check.json\r\n./x-pack/plugins/enterprise_search/tsconfig.type_check.json\r\n./x-pack/plugins/integration_assistant/tsconfig.type_check.json\r\n./x-pack/plugins/ml/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/apm/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/apm_data_access/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/entity_manager/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/exploratory_view/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/slo/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/synthetics/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/uptime/tsconfig.type_check.json\r\n./x-pack/plugins/rule_registry/tsconfig.type_check.json\r\n./x-pack/plugins/search_playground/tsconfig.type_check.json\r\n./x-pack/plugins/serverless_search/tsconfig.type_check.json\r\n./x-pack/plugins/stack_alerts/tsconfig.type_check.json\r\n./x-pack/plugins/stack_connectors/tsconfig.type_check.json\r\n./x-pack/plugins/task_manager/tsconfig.type_check.json\r\n./x-pack/plugins/transform/tsconfig.type_check.json\r\n./x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json\r\n./x-pack/solutions/security/packages/security-solution/ecs_data_quality_dashboard/tsconfig.type_check.json\r\n./x-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.type_check.json\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/core/packages/analytics/browser-mocks/jest.config.js:12\r\nsrc/core/packages/analytics/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/analytics/server-mocks/jest.config.js:12\r\nsrc/core/packages/analytics/server-mocks/tsconfig.json:2\r\nsrc/core/packages/application/browser-mocks/jest.config.js:12\r\nsrc/core/packages/application/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/apps/browser-mocks/jest.config.js:12\r\nsrc/core/packages/apps/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/base/browser-mocks/jest.config.js:12\r\nsrc/core/packages/base/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/base/server-mocks/jest.config.js:12\r\nsrc/core/packages/base/server-mocks/tsconfig.json:2\r\nsrc/core/packages/capabilities/browser-mocks/jest.config.js:12\r\nsrc/core/packages/capabilities/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/capabilities/server-mocks/jest.config.js:12\r\nsrc/core/packages/capabilities/server-mocks/tsconfig.json:2\r\nsrc/core/packages/chrome/browser-mocks/jest.config.js:12\r\nsrc/core/packages/chrome/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/deprecations/browser-mocks/jest.config.js:12\r\nsrc/core/packages/deprecations/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/deprecations/server-mocks/jest.config.js:12\r\nsrc/core/packages/deprecations/server-mocks/tsconfig.json:2\r\nsrc/core/packages/doc-links/browser-mocks/jest.config.js:12\r\nsrc/core/packages/doc-links/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/doc-links/server-mocks/jest.config.js:12\r\nsrc/core/packages/doc-links/server-mocks/tsconfig.json:2\r\nsrc/core/packages/elasticsearch/client-server-mocks/jest.config.js:12\r\nsrc/core/packages/elasticsearch/client-server-mocks/tsconfig.json:2\r\nsrc/core/packages/elasticsearch/server-mocks/jest.config.js:12\r\nsrc/core/packages/elasticsearch/server-mocks/tsconfig.json:2\r\nsrc/core/packages/environment/server-mocks/jest.config.js:12\r\nsrc/core/packages/environment/server-mocks/tsconfig.json:2\r\nsrc/core/packages/execution-context/browser-mocks/jest.config.js:12\r\nsrc/core/packages/execution-context/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/execution-context/server-mocks/jest.config.js:12\r\nsrc/core/packages/execution-context/server-mocks/tsconfig.json:2\r\nsrc/core/packages/fatal-errors/browser-mocks/jest.config.js:12\r\nsrc/core/packages/fatal-errors/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/http/browser-mocks/jest.config.js:12\r\nsrc/core/packages/http/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/http/context-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/context-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/resources-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/resources-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/router-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/router-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/server-mocks/jest.config.js:12\r\nsrc/core/packages/http/server-mocks/tsconfig.json:2\r\nsrc/core/packages/i18n/browser-mocks/jest.config.js:12\r\nsrc/core/packages/i18n/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/i18n/server-mocks/jest.config.js:12\r\nsrc/core/packages/i18n/server-mocks/tsconfig.json:2\r\nsrc/core/packages/injected-metadata/browser-mocks/jest.config.js:12\r\nsrc/core/packages/injected-metadata/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/integrations/browser-mocks/jest.config.js:12\r\nsrc/core/packages/integrations/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/lifecycle/browser-mocks/jest.config.js:12\r\nsrc/core/packages/lifecycle/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/lifecycle/server-mocks/jest.config.js:12\r\nsrc/core/packages/lifecycle/server-mocks/tsconfig.json:2\r\nsrc/core/packages/logging/browser-mocks/jest.config.js:12\r\nsrc/core/packages/logging/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/logging/server-mocks/jest.config.js:12\r\nsrc/core/packages/logging/server-mocks/tsconfig.json:2\r\nsrc/core/packages/metrics/collectors-server-mocks/jest.config.js:12\r\nsrc/core/packages/metrics/collectors-server-mocks/tsconfig.json:2\r\nsrc/core/packages/metrics/server-mocks/jest.config.js:12\r\nsrc/core/packages/metrics/server-mocks/tsconfig.json:2\r\nsrc/core/packages/node/server-mocks/jest.config.js:12\r\nsrc/core/packages/node/server-mocks/tsconfig.json:2\r\nsrc/core/packages/notifications/browser-mocks/jest.config.js:12\r\nsrc/core/packages/notifications/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/overlays/browser-mocks/jest.config.js:12\r\nsrc/core/packages/overlays/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/plugins/browser-mocks/jest.config.js:12\r\nsrc/core/packages/plugins/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/plugins/server-mocks/jest.config.js:12\r\nsrc/core/packages/plugins/server-mocks/tsconfig.json:2\r\nsrc/core/packages/preboot/server-mocks/jest.config.js:12\r\nsrc/core/packages/preboot/server-mocks/tsconfig.json:2\r\nsrc/core/packages/rendering/browser-mocks/jest.config.js:12\r\nsrc/core/packages/rendering/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/rendering/server-mocks/jest.config.js:12\r\nsrc/core/packages/rendering/server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/api-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/api-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/base-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/base-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/browser-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/import-export-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/import-export-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/migration-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/migration-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/server-mocks/tsconfig.json:2\r\nsrc/core/packages/status/server-mocks/jest.config.js:12\r\nsrc/core/packages/status/server-mocks/tsconfig.json:2\r\nsrc/core/packages/theme/browser-mocks/jest.config.js:12\r\nsrc/core/packages/theme/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/ui-settings/browser-mocks/jest.config.js:12\r\nsrc/core/packages/ui-settings/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/ui-settings/server-mocks/jest.config.js:12\r\nsrc/core/packages/ui-settings/server-mocks/tsconfig.json:2\r\nsrc/core/packages/usage-data/server-mocks/jest.config.js:12\r\nsrc/core/packages/usage-data/server-mocks/tsconfig.json:2\r\nsrc/dev/packages/core-test-helpers-kbn-server/jest.config.js:12\r\nsrc/dev/packages/core-test-helpers-kbn-server/tsconfig.json:2\r\nsrc/dev/packages/core-test-helpers-model-versions/jest.config.js:12\r\nsrc/dev/packages/core-test-helpers-model-versions/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Alejandro Fernández Haro <afharo@gmail.com>","sha":"4a00449bdcd699f89294536a86dffcbeab4daf53"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208538","number":208538,"mergeCommit":{"message":"SKA: Relocate core mock and test-helper modules (#208538)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> * This PR has been auto-generated.\r\n> * Any manual contributions will be lost if the 'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews / approvals before applying manual\r\nfixes, and/or keep your changes in a .patch / git stash.\r\n> * Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve merge conflicts? Please follow\r\nthe steps describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n#### 55 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/core-analytics-browser-mocks` |\r\n`src/core/packages/analytics/browser-mocks` |\r\n| `@kbn/core-analytics-server-mocks` |\r\n`src/core/packages/analytics/server-mocks` |\r\n| `@kbn/core-application-browser-mocks` |\r\n`src/core/packages/application/browser-mocks` |\r\n| `@kbn/core-apps-browser-mocks` |\r\n`src/core/packages/apps/browser-mocks` |\r\n| `@kbn/core-base-browser-mocks` |\r\n`src/core/packages/base/browser-mocks` |\r\n| `@kbn/core-base-server-mocks` | `src/core/packages/base/server-mocks`\r\n|\r\n| `@kbn/core-capabilities-browser-mocks` |\r\n`src/core/packages/capabilities/browser-mocks` |\r\n| `@kbn/core-capabilities-server-mocks` |\r\n`src/core/packages/capabilities/server-mocks` |\r\n| `@kbn/core-chrome-browser-mocks` |\r\n`src/core/packages/chrome/browser-mocks` |\r\n| `@kbn/core-deprecations-browser-mocks` |\r\n`src/core/packages/deprecations/browser-mocks` |\r\n| `@kbn/core-deprecations-server-mocks` |\r\n`src/core/packages/deprecations/server-mocks` |\r\n| `@kbn/core-doc-links-browser-mocks` |\r\n`src/core/packages/doc-links/browser-mocks` |\r\n| `@kbn/core-doc-links-server-mocks` |\r\n`src/core/packages/doc-links/server-mocks` |\r\n| `@kbn/core-elasticsearch-client-server-mocks` |\r\n`src/core/packages/elasticsearch/client-server-mocks` |\r\n| `@kbn/core-elasticsearch-server-mocks` |\r\n`src/core/packages/elasticsearch/server-mocks` |\r\n| `@kbn/core-environment-server-mocks` |\r\n`src/core/packages/environment/server-mocks` |\r\n| `@kbn/core-execution-context-browser-mocks` |\r\n`src/core/packages/execution-context/browser-mocks` |\r\n| `@kbn/core-execution-context-server-mocks` |\r\n`src/core/packages/execution-context/server-mocks` |\r\n| `@kbn/core-fatal-errors-browser-mocks` |\r\n`src/core/packages/fatal-errors/browser-mocks` |\r\n| `@kbn/core-http-browser-mocks` |\r\n`src/core/packages/http/browser-mocks` |\r\n| `@kbn/core-http-context-server-mocks` |\r\n`src/core/packages/http/context-server-mocks` |\r\n| `@kbn/core-http-resources-server-mocks` |\r\n`src/core/packages/http/resources-server-mocks` |\r\n| `@kbn/core-http-router-server-mocks` |\r\n`src/core/packages/http/router-server-mocks` |\r\n| `@kbn/core-http-server-mocks` | `src/core/packages/http/server-mocks`\r\n|\r\n| `@kbn/core-i18n-browser-mocks` |\r\n`src/core/packages/i18n/browser-mocks` |\r\n| `@kbn/core-i18n-server-mocks` | `src/core/packages/i18n/server-mocks`\r\n|\r\n| `@kbn/core-injected-metadata-browser-mocks` |\r\n`src/core/packages/injected-metadata/browser-mocks` |\r\n| `@kbn/core-integrations-browser-mocks` |\r\n`src/core/packages/integrations/browser-mocks` |\r\n| `@kbn/core-lifecycle-browser-mocks` |\r\n`src/core/packages/lifecycle/browser-mocks` |\r\n| `@kbn/core-lifecycle-server-mocks` |\r\n`src/core/packages/lifecycle/server-mocks` |\r\n| `@kbn/core-logging-browser-mocks` |\r\n`src/core/packages/logging/browser-mocks` |\r\n| `@kbn/core-logging-server-mocks` |\r\n`src/core/packages/logging/server-mocks` |\r\n| `@kbn/core-metrics-collectors-server-mocks` |\r\n`src/core/packages/metrics/collectors-server-mocks` |\r\n| `@kbn/core-metrics-server-mocks` |\r\n`src/core/packages/metrics/server-mocks` |\r\n| `@kbn/core-node-server-mocks` | `src/core/packages/node/server-mocks`\r\n|\r\n| `@kbn/core-notifications-browser-mocks` |\r\n`src/core/packages/notifications/browser-mocks` |\r\n| `@kbn/core-overlays-browser-mocks` |\r\n`src/core/packages/overlays/browser-mocks` |\r\n| `@kbn/core-plugins-browser-mocks` |\r\n`src/core/packages/plugins/browser-mocks` |\r\n| `@kbn/core-plugins-server-mocks` |\r\n`src/core/packages/plugins/server-mocks` |\r\n| `@kbn/core-preboot-server-mocks` |\r\n`src/core/packages/preboot/server-mocks` |\r\n| `@kbn/core-rendering-browser-mocks` |\r\n`src/core/packages/rendering/browser-mocks` |\r\n| `@kbn/core-rendering-server-mocks` |\r\n`src/core/packages/rendering/server-mocks` |\r\n| `@kbn/core-saved-objects-api-server-mocks` |\r\n`src/core/packages/saved-objects/api-server-mocks` |\r\n| `@kbn/core-saved-objects-base-server-mocks` |\r\n`src/core/packages/saved-objects/base-server-mocks` |\r\n| `@kbn/core-saved-objects-browser-mocks` |\r\n`src/core/packages/saved-objects/browser-mocks` |\r\n| `@kbn/core-saved-objects-import-export-server-mocks` |\r\n`src/core/packages/saved-objects/import-export-server-mocks` |\r\n| `@kbn/core-saved-objects-migration-server-mocks` |\r\n`src/core/packages/saved-objects/migration-server-mocks` |\r\n| `@kbn/core-saved-objects-server-mocks` |\r\n`src/core/packages/saved-objects/server-mocks` |\r\n| `@kbn/core-status-server-mocks` |\r\n`src/core/packages/status/server-mocks` |\r\n| `@kbn/core-test-helpers-kbn-server` |\r\n`src/dev/packages/core-test-helpers-kbn-server` |\r\n| `@kbn/core-test-helpers-model-versions` |\r\n`src/dev/packages/core-test-helpers-model-versions` |\r\n| `@kbn/core-theme-browser-mocks` |\r\n`src/core/packages/theme/browser-mocks` |\r\n| `@kbn/core-ui-settings-browser-mocks` |\r\n`src/core/packages/ui-settings/browser-mocks` |\r\n| `@kbn/core-ui-settings-server-mocks` |\r\n`src/core/packages/ui-settings/server-mocks` |\r\n| `@kbn/core-usage-data-server-mocks` |\r\n`src/core/packages/usage-data/server-mocks` |\r\n\r\n\r\n<details >\r\n<summary>Updated references</summary>\r\n\r\n```\r\n./.github/codeql/codeql-config.yml\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/core/packages/analytics/browser-mocks/jest.config.js\r\n./src/core/packages/analytics/server-mocks/jest.config.js\r\n./src/core/packages/application/browser-mocks/jest.config.js\r\n./src/core/packages/apps/browser-mocks/jest.config.js\r\n./src/core/packages/base/browser-mocks/jest.config.js\r\n./src/core/packages/base/server-mocks/jest.config.js\r\n./src/core/packages/capabilities/browser-mocks/jest.config.js\r\n./src/core/packages/capabilities/server-mocks/jest.config.js\r\n./src/core/packages/chrome/browser-mocks/jest.config.js\r\n./src/core/packages/deprecations/browser-mocks/jest.config.js\r\n./src/core/packages/deprecations/server-mocks/jest.config.js\r\n./src/core/packages/doc-links/browser-mocks/jest.config.js\r\n./src/core/packages/doc-links/server-mocks/jest.config.js\r\n./src/core/packages/elasticsearch/client-server-mocks/jest.config.js\r\n./src/core/packages/elasticsearch/server-mocks/jest.config.js\r\n./src/core/packages/environment/server-mocks/jest.config.js\r\n./src/core/packages/execution-context/browser-mocks/jest.config.js\r\n./src/core/packages/execution-context/server-mocks/jest.config.js\r\n./src/core/packages/fatal-errors/browser-mocks/jest.config.js\r\n./src/core/packages/http/browser-mocks/jest.config.js\r\n./src/core/packages/http/context-server-mocks/jest.config.js\r\n./src/core/packages/http/resources-server-mocks/jest.config.js\r\n./src/core/packages/http/router-server-mocks/jest.config.js\r\n./src/core/packages/http/server-mocks/jest.config.js\r\n./src/core/packages/i18n/browser-mocks/jest.config.js\r\n./src/core/packages/i18n/server-mocks/jest.config.js\r\n./src/core/packages/injected-metadata/browser-mocks/jest.config.js\r\n./src/core/packages/integrations/browser-mocks/jest.config.js\r\n./src/core/packages/lifecycle/browser-mocks/jest.config.js\r\n./src/core/packages/lifecycle/server-mocks/jest.config.js\r\n./src/core/packages/logging/browser-mocks/jest.config.js\r\n./src/core/packages/logging/server-mocks/jest.config.js\r\n./src/core/packages/metrics/collectors-server-mocks/jest.config.js\r\n./src/core/packages/metrics/server-mocks/jest.config.js\r\n./src/core/packages/node/server-mocks/jest.config.js\r\n./src/core/packages/notifications/browser-mocks/jest.config.js\r\n./src/core/packages/overlays/browser-mocks/jest.config.js\r\n./src/core/packages/plugins/browser-mocks/jest.config.js\r\n./src/core/packages/plugins/server-mocks/jest.config.js\r\n./src/core/packages/preboot/server-mocks/jest.config.js\r\n./src/core/packages/rendering/browser-mocks/jest.config.js\r\n./src/core/packages/rendering/server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/api-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/base-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/browser-mocks/jest.config.js\r\n./src/core/packages/saved-objects/import-export-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/migration-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/server-mocks/jest.config.js\r\n./src/core/packages/status/server-mocks/jest.config.js\r\n./src/core/packages/theme/browser-mocks/jest.config.js\r\n./src/core/packages/ui-settings/browser-mocks/jest.config.js\r\n./src/core/packages/ui-settings/server-mocks/jest.config.js\r\n./src/core/packages/usage-data/server-mocks/jest.config.js\r\n./src/core/system/tsconfig.type_check.json\r\n./src/dev/packages/core-test-helpers-kbn-server/jest.config.js\r\n./src/dev/packages/core-test-helpers-model-versions/jest.config.js\r\n./src/dev/tsconfig.type_check.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./src/platform/plugins/private/interactive_setup/tsconfig.type_check.json\r\n./src/platform/plugins/shared/console/tsconfig.type_check.json\r\n./src/plugins/kibana_usage_collection/tsconfig.type_check.json\r\n./src/plugins/saved_objects_management/tsconfig.type_check.json\r\n./src/plugins/telemetry/tsconfig.type_check.json\r\n./src/plugins/usage_collection/tsconfig.type_check.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/platform/plugins/private/index_lifecycle_management/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/remote_clusters/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/snapshot_restore/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/watcher/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/encrypted_saved_objects/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/security/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json\r\n./x-pack/plugins/actions/tsconfig.type_check.json\r\n./x-pack/plugins/aiops/tsconfig.type_check.json\r\n./x-pack/plugins/alerting/tsconfig.type_check.json\r\n./x-pack/plugins/cases/tsconfig.type_check.json\r\n./x-pack/plugins/enterprise_search/tsconfig.type_check.json\r\n./x-pack/plugins/integration_assistant/tsconfig.type_check.json\r\n./x-pack/plugins/ml/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/apm/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/apm_data_access/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/entity_manager/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/exploratory_view/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/slo/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/synthetics/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/uptime/tsconfig.type_check.json\r\n./x-pack/plugins/rule_registry/tsconfig.type_check.json\r\n./x-pack/plugins/search_playground/tsconfig.type_check.json\r\n./x-pack/plugins/serverless_search/tsconfig.type_check.json\r\n./x-pack/plugins/stack_alerts/tsconfig.type_check.json\r\n./x-pack/plugins/stack_connectors/tsconfig.type_check.json\r\n./x-pack/plugins/task_manager/tsconfig.type_check.json\r\n./x-pack/plugins/transform/tsconfig.type_check.json\r\n./x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json\r\n./x-pack/solutions/security/packages/security-solution/ecs_data_quality_dashboard/tsconfig.type_check.json\r\n./x-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.type_check.json\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/core/packages/analytics/browser-mocks/jest.config.js:12\r\nsrc/core/packages/analytics/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/analytics/server-mocks/jest.config.js:12\r\nsrc/core/packages/analytics/server-mocks/tsconfig.json:2\r\nsrc/core/packages/application/browser-mocks/jest.config.js:12\r\nsrc/core/packages/application/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/apps/browser-mocks/jest.config.js:12\r\nsrc/core/packages/apps/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/base/browser-mocks/jest.config.js:12\r\nsrc/core/packages/base/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/base/server-mocks/jest.config.js:12\r\nsrc/core/packages/base/server-mocks/tsconfig.json:2\r\nsrc/core/packages/capabilities/browser-mocks/jest.config.js:12\r\nsrc/core/packages/capabilities/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/capabilities/server-mocks/jest.config.js:12\r\nsrc/core/packages/capabilities/server-mocks/tsconfig.json:2\r\nsrc/core/packages/chrome/browser-mocks/jest.config.js:12\r\nsrc/core/packages/chrome/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/deprecations/browser-mocks/jest.config.js:12\r\nsrc/core/packages/deprecations/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/deprecations/server-mocks/jest.config.js:12\r\nsrc/core/packages/deprecations/server-mocks/tsconfig.json:2\r\nsrc/core/packages/doc-links/browser-mocks/jest.config.js:12\r\nsrc/core/packages/doc-links/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/doc-links/server-mocks/jest.config.js:12\r\nsrc/core/packages/doc-links/server-mocks/tsconfig.json:2\r\nsrc/core/packages/elasticsearch/client-server-mocks/jest.config.js:12\r\nsrc/core/packages/elasticsearch/client-server-mocks/tsconfig.json:2\r\nsrc/core/packages/elasticsearch/server-mocks/jest.config.js:12\r\nsrc/core/packages/elasticsearch/server-mocks/tsconfig.json:2\r\nsrc/core/packages/environment/server-mocks/jest.config.js:12\r\nsrc/core/packages/environment/server-mocks/tsconfig.json:2\r\nsrc/core/packages/execution-context/browser-mocks/jest.config.js:12\r\nsrc/core/packages/execution-context/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/execution-context/server-mocks/jest.config.js:12\r\nsrc/core/packages/execution-context/server-mocks/tsconfig.json:2\r\nsrc/core/packages/fatal-errors/browser-mocks/jest.config.js:12\r\nsrc/core/packages/fatal-errors/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/http/browser-mocks/jest.config.js:12\r\nsrc/core/packages/http/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/http/context-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/context-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/resources-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/resources-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/router-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/router-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/server-mocks/jest.config.js:12\r\nsrc/core/packages/http/server-mocks/tsconfig.json:2\r\nsrc/core/packages/i18n/browser-mocks/jest.config.js:12\r\nsrc/core/packages/i18n/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/i18n/server-mocks/jest.config.js:12\r\nsrc/core/packages/i18n/server-mocks/tsconfig.json:2\r\nsrc/core/packages/injected-metadata/browser-mocks/jest.config.js:12\r\nsrc/core/packages/injected-metadata/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/integrations/browser-mocks/jest.config.js:12\r\nsrc/core/packages/integrations/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/lifecycle/browser-mocks/jest.config.js:12\r\nsrc/core/packages/lifecycle/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/lifecycle/server-mocks/jest.config.js:12\r\nsrc/core/packages/lifecycle/server-mocks/tsconfig.json:2\r\nsrc/core/packages/logging/browser-mocks/jest.config.js:12\r\nsrc/core/packages/logging/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/logging/server-mocks/jest.config.js:12\r\nsrc/core/packages/logging/server-mocks/tsconfig.json:2\r\nsrc/core/packages/metrics/collectors-server-mocks/jest.config.js:12\r\nsrc/core/packages/metrics/collectors-server-mocks/tsconfig.json:2\r\nsrc/core/packages/metrics/server-mocks/jest.config.js:12\r\nsrc/core/packages/metrics/server-mocks/tsconfig.json:2\r\nsrc/core/packages/node/server-mocks/jest.config.js:12\r\nsrc/core/packages/node/server-mocks/tsconfig.json:2\r\nsrc/core/packages/notifications/browser-mocks/jest.config.js:12\r\nsrc/core/packages/notifications/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/overlays/browser-mocks/jest.config.js:12\r\nsrc/core/packages/overlays/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/plugins/browser-mocks/jest.config.js:12\r\nsrc/core/packages/plugins/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/plugins/server-mocks/jest.config.js:12\r\nsrc/core/packages/plugins/server-mocks/tsconfig.json:2\r\nsrc/core/packages/preboot/server-mocks/jest.config.js:12\r\nsrc/core/packages/preboot/server-mocks/tsconfig.json:2\r\nsrc/core/packages/rendering/browser-mocks/jest.config.js:12\r\nsrc/core/packages/rendering/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/rendering/server-mocks/jest.config.js:12\r\nsrc/core/packages/rendering/server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/api-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/api-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/base-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/base-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/browser-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/import-export-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/import-export-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/migration-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/migration-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/server-mocks/tsconfig.json:2\r\nsrc/core/packages/status/server-mocks/jest.config.js:12\r\nsrc/core/packages/status/server-mocks/tsconfig.json:2\r\nsrc/core/packages/theme/browser-mocks/jest.config.js:12\r\nsrc/core/packages/theme/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/ui-settings/browser-mocks/jest.config.js:12\r\nsrc/core/packages/ui-settings/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/ui-settings/server-mocks/jest.config.js:12\r\nsrc/core/packages/ui-settings/server-mocks/tsconfig.json:2\r\nsrc/core/packages/usage-data/server-mocks/jest.config.js:12\r\nsrc/core/packages/usage-data/server-mocks/tsconfig.json:2\r\nsrc/dev/packages/core-test-helpers-kbn-server/jest.config.js:12\r\nsrc/dev/packages/core-test-helpers-kbn-server/tsconfig.json:2\r\nsrc/dev/packages/core-test-helpers-model-versions/jest.config.js:12\r\nsrc/dev/packages/core-test-helpers-model-versions/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Alejandro Fernández Haro <afharo@gmail.com>","sha":"4a00449bdcd699f89294536a86dffcbeab4daf53"}}]}] BACKPORT--> |
||
|
6a6d3d61ca
|
[8.x] SKA: Update broken references and URLs (#206836) (#208479)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Update broken references and URLs (#206836)](https://github.com/elastic/kibana/pull/206836) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Gerard Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-01-28T03:32:48Z","message":"SKA: Update broken references and URLs (#206836)\n\n## Summary\r\n\r\nUpdates a number of broken file references and broken links.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Alejandro Fernández Haro <afharo@gmail.com>","sha":"fb26c1c683453faa7f8218df094f90d9ad070a23","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Feature:ExpressionLanguage","release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","Team:obs-ux-management"],"title":"SKA: Update broken references and URLs","number":206836,"url":"https://github.com/elastic/kibana/pull/206836","mergeCommit":{"message":"SKA: Update broken references and URLs (#206836)\n\n## Summary\r\n\r\nUpdates a number of broken file references and broken links.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Alejandro Fernández Haro <afharo@gmail.com>","sha":"fb26c1c683453faa7f8218df094f90d9ad070a23"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206836","number":206836,"mergeCommit":{"message":"SKA: Update broken references and URLs (#206836)\n\n## Summary\r\n\r\nUpdates a number of broken file references and broken links.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Alejandro Fernández Haro <afharo@gmail.com>","sha":"fb26c1c683453faa7f8218df094f90d9ad070a23"}}]}] BACKPORT--> |
||
|
c39e129298
|
[8.x] [embeddable] make presentation interface names consistent (#205279) (#207881)
# Backport This will backport the following commits from `main` to `8.x`: - [[embeddable] make presentation interface names consistent (#205279)](https://github.com/elastic/kibana/pull/205279) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2025-01-22T16:46:01Z","message":"[embeddable] make presentation interface names consistent (#205279)\n\nPR cleans up presentation interface names for consistentency\r\n* adds `# Backport This will backport the following commits from `main` to `8.x`: - [[embeddable] make presentation interface names consistent (#205279)](https://github.com/elastic/kibana/pull/205279) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT suffix to all observables. For example, `dataLoading` =>\r\n`dataLoading# Backport This will backport the following commits from `main` to `8.x`: - [[embeddable] make presentation interface names consistent (#205279)](https://github.com/elastic/kibana/pull/205279) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT \r\n* removes `Panel` naming convention from interface names since an api\r\nmay not be a panel, an api may be a dashboard. For example,\r\n`PublisesPanelTitle` => `PublishesTitle`\r\n\r\n#### Note to Reviewers\r\nPay special attention to any place where your application creates an\r\nuntyped API. In the example below, there is no typescript violation when\r\nthe parent returns `dataLoading` instead of `dataLoading# Backport This will backport the following commits from `main` to `8.x`: - [[embeddable] make presentation interface names consistent (#205279)](https://github.com/elastic/kibana/pull/205279) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT since the\r\nparent is not typed as `PublishesDataLoading`. Please check for\r\ninstances like these.\r\n\r\n```\r\n<ReactEmbeddableRenderer\r\n getParentApi={() => {\r\n dataLoading: new BehaviorSubject()\r\n }}\r\n/>\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"05916056cdc84c0f59392046aa4ffc7d16e083f9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Embedding","Team:Presentation","release_note:skip","Feature:Drilldowns","v9.0.0","Team:obs-ux-infra_services","Team:obs-ux-management","project:embeddableRebuild","backport:version","v8.18.0"],"title":"[embeddable] make presentation interface names consistent","number":205279,"url":"https://github.com/elastic/kibana/pull/205279","mergeCommit":{"message":"[embeddable] make presentation interface names consistent (#205279)\n\nPR cleans up presentation interface names for consistentency\r\n* adds `# Backport This will backport the following commits from `main` to `8.x`: - [[embeddable] make presentation interface names consistent (#205279)](https://github.com/elastic/kibana/pull/205279) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT suffix to all observables. For example, `dataLoading` =>\r\n`dataLoading# Backport This will backport the following commits from `main` to `8.x`: - [[embeddable] make presentation interface names consistent (#205279)](https://github.com/elastic/kibana/pull/205279) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT \r\n* removes `Panel` naming convention from interface names since an api\r\nmay not be a panel, an api may be a dashboard. For example,\r\n`PublisesPanelTitle` => `PublishesTitle`\r\n\r\n#### Note to Reviewers\r\nPay special attention to any place where your application creates an\r\nuntyped API. In the example below, there is no typescript violation when\r\nthe parent returns `dataLoading` instead of `dataLoading# Backport This will backport the following commits from `main` to `8.x`: - [[embeddable] make presentation interface names consistent (#205279)](https://github.com/elastic/kibana/pull/205279) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT since the\r\nparent is not typed as `PublishesDataLoading`. Please check for\r\ninstances like these.\r\n\r\n```\r\n<ReactEmbeddableRenderer\r\n getParentApi={() => {\r\n dataLoading: new BehaviorSubject()\r\n }}\r\n/>\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"05916056cdc84c0f59392046aa4ffc7d16e083f9"}},"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/205279","number":205279,"mergeCommit":{"message":"[embeddable] make presentation interface names consistent (#205279)\n\nPR cleans up presentation interface names for consistentency\r\n* adds `# Backport This will backport the following commits from `main` to `8.x`: - [[embeddable] make presentation interface names consistent (#205279)](https://github.com/elastic/kibana/pull/205279) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT suffix to all observables. For example, `dataLoading` =>\r\n`dataLoading# Backport This will backport the following commits from `main` to `8.x`: - [[embeddable] make presentation interface names consistent (#205279)](https://github.com/elastic/kibana/pull/205279) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT \r\n* removes `Panel` naming convention from interface names since an api\r\nmay not be a panel, an api may be a dashboard. For example,\r\n`PublisesPanelTitle` => `PublishesTitle`\r\n\r\n#### Note to Reviewers\r\nPay special attention to any place where your application creates an\r\nuntyped API. In the example below, there is no typescript violation when\r\nthe parent returns `dataLoading` instead of `dataLoading# Backport This will backport the following commits from `main` to `8.x`: - [[embeddable] make presentation interface names consistent (#205279)](https://github.com/elastic/kibana/pull/205279) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT since the\r\nparent is not typed as `PublishesDataLoading`. Please check for\r\ninstances like these.\r\n\r\n```\r\n<ReactEmbeddableRenderer\r\n getParentApi={() => {\r\n dataLoading: new BehaviorSubject()\r\n }}\r\n/>\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"05916056cdc84c0f59392046aa4ffc7d16e083f9"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
b060301d45
|
[8.x] [Dashboard][kbn-grid-layout ] Update styles (#206503) (#207446)
# Backport This will backport the following commits from `main` to `8.x`: - [[Dashboard][`kbn-grid-layout`] Update styles (#206503)](https://github.com/elastic/kibana/pull/206503) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Hannah Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-21T19:52:39Z","message":"[Dashboard][`kbn-grid-layout`] Update styles (#206503)\n\nCloses https://github.com/elastic/kibana/issues/204060\r\n\r\n## Summary\r\n\r\nThis PR updates the styles used for `kbn-grid-layout` in Dashboard as\r\nshown below.\r\n\r\n- **Dragging**\r\n\r\n | Before | After |\r\n |--------|--------|\r\n|\r\n (#207455)
# Backport This will backport the following commits from `main` to `8.x`: - [[Serialized state only] Update Library Transforms and Duplicate (#206140)](https://github.com/elastic/kibana/pull/206140) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Devon Thomson","email":"devon.thomson@elastic.co"},"sourceCommit":{"committedDate":"2025-01-21T18:43:43Z","message":"[Serialized state only] Update Library Transforms and Duplicate (#206140)\n\nUnifies the various `LibraryTransforms` interfaces, updates all by reference capable embeddables to use them in the same way, and migrates the clone functionality to use only serialized state.","sha":"3719be0144d0f5b1fc71d1c564a41446c8ef3133","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Embedding","release_note:fix","Team:Presentation","v9.0.0","backport:prev-minor","Feature:Embeddables","project:embeddableRebuild"],"title":"[Serialized state only] Update Library Transforms and Duplicate","number":206140,"url":"https://github.com/elastic/kibana/pull/206140","mergeCommit":{"message":"[Serialized state only] Update Library Transforms and Duplicate (#206140)\n\nUnifies the various `LibraryTransforms` interfaces, updates all by reference capable embeddables to use them in the same way, and migrates the clone functionality to use only serialized state.","sha":"3719be0144d0f5b1fc71d1c564a41446c8ef3133"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206140","number":206140,"mergeCommit":{"message":"[Serialized state only] Update Library Transforms and Duplicate (#206140)\n\nUnifies the various `LibraryTransforms` interfaces, updates all by reference capable embeddables to use them in the same way, and migrates the clone functionality to use only serialized state.","sha":"3719be0144d0f5b1fc71d1c564a41446c8ef3133"}}]}] BACKPORT--> |
||
|
ed73c5bea7
|
[8.x] [Dashboard][Collapsable Panels] Swap react-grid-layout for kbn-grid-layout (#205341) (#206693)
# Backport This will backport the following commits from `main` to `8.x`: - [[Dashboard][Collapsable Panels] Swap `react-grid-layout` for `kbn-grid-layout` (#205341)](https://github.com/elastic/kibana/pull/205341) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Hannah Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-14T21:51:14Z","message":"[Dashboard][Collapsable Panels] Swap `react-grid-layout` for `kbn-grid-layout` (#205341)\n\nCloses https://github.com/elastic/kibana/issues/190446\r\n\r\n## Summary\r\n\r\nThis PR swaps out `react-grid-layout` for the new internal\r\n`kbn-grid-layout` in the Dashboard plugin. This is the first major step\r\nin making collapsible sections possible in Dashboard.\r\n\r\n- **`react-grid-layout` (before)**:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ca6ec059-7f4a-43fb-890e-7b72b781e50b\r\n\r\n- **`kbn-grid-layout` (after)**:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/3d3de1f3-1afc-4e6b-93d6-9cc31a46e2cf\r\n\r\n### Notable Improvements\r\n\r\n- Better handling of resizing panels near the bottom of the screen\r\n \r\n | `react-grid-layout` | `kbn-grid-layout` |\r\n |--------|--------|\r\n| \r\n| \r\n|\r\n\r\n\r\n- Auto-scroll when dragging / resizing panels near the top and bottom of\r\nthe screen, making it much easier to move panels around by larger\r\ndistances\r\n\r\n | `react-grid-layout` | `kbn-grid-layout` |\r\n |--------|--------|\r\n| \r\n| \r\n|\r\n\r\n- More reliable panel positioning due to the use of CSS grid rather than\r\nabsolute positioning via pixels\r\n\r\n | `react-grid-layout` | `kbn-grid-layout` |\r\n |--------|--------|\r\n| \r\n| \r\n|\r\n\r\n- Better performance when dragging and resizing (see\r\nhttps://github.com/elastic/kibana/pull/204134 for a more thorough\r\nexplanation) and a smaller bundle size than `react-grid-layout`\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\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nThis PR contains a significant change to the Dashboard layout engine,\r\nwhich means that it carries a decent amount of risk for introducing new,\r\nuncaught bugs with dragging / resizing panels and collision resolution.\r\nThat being said, `kbn-grid-layout` has been built **iteratively** with\r\nplenty of testing along the way to reduce this risk.\r\n\r\n## Release note\r\nImproves Dashboard layout engine by switching to the internally\r\ndeveloped `kbn-grid-layout`.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>","sha":"686571547f82f097d589776733e165466ec518ad","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Dashboard","Team:Presentation","loe:large","impact:critical","v9.0.0","release_note:feature","backport:prev-minor"],"number":205341,"url":"https://github.com/elastic/kibana/pull/205341","mergeCommit":{"message":"[Dashboard][Collapsable Panels] Swap `react-grid-layout` for `kbn-grid-layout` (#205341)\n\nCloses https://github.com/elastic/kibana/issues/190446\r\n\r\n## Summary\r\n\r\nThis PR swaps out `react-grid-layout` for the new internal\r\n`kbn-grid-layout` in the Dashboard plugin. This is the first major step\r\nin making collapsible sections possible in Dashboard.\r\n\r\n- **`react-grid-layout` (before)**:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ca6ec059-7f4a-43fb-890e-7b72b781e50b\r\n\r\n- **`kbn-grid-layout` (after)**:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/3d3de1f3-1afc-4e6b-93d6-9cc31a46e2cf\r\n\r\n### Notable Improvements\r\n\r\n- Better handling of resizing panels near the bottom of the screen\r\n \r\n | `react-grid-layout` | `kbn-grid-layout` |\r\n |--------|--------|\r\n| \r\n| \r\n|\r\n\r\n\r\n- Auto-scroll when dragging / resizing panels near the top and bottom of\r\nthe screen, making it much easier to move panels around by larger\r\ndistances\r\n\r\n | `react-grid-layout` | `kbn-grid-layout` |\r\n |--------|--------|\r\n| \r\n| \r\n|\r\n\r\n- More reliable panel positioning due to the use of CSS grid rather than\r\nabsolute positioning via pixels\r\n\r\n | `react-grid-layout` | `kbn-grid-layout` |\r\n |--------|--------|\r\n| \r\n| \r\n|\r\n\r\n- Better performance when dragging and resizing (see\r\nhttps://github.com/elastic/kibana/pull/204134 for a more thorough\r\nexplanation) and a smaller bundle size than `react-grid-layout`\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\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nThis PR contains a significant change to the Dashboard layout engine,\r\nwhich means that it carries a decent amount of risk for introducing new,\r\nuncaught bugs with dragging / resizing panels and collision resolution.\r\nThat being said, `kbn-grid-layout` has been built **iteratively** with\r\nplenty of testing along the way to reduce this risk.\r\n\r\n## Release note\r\nImproves Dashboard layout engine by switching to the internally\r\ndeveloped `kbn-grid-layout`.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>","sha":"686571547f82f097d589776733e165466ec518ad"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205341","number":205341,"mergeCommit":{"message":"[Dashboard][Collapsable Panels] Swap `react-grid-layout` for `kbn-grid-layout` (#205341)\n\nCloses https://github.com/elastic/kibana/issues/190446\r\n\r\n## Summary\r\n\r\nThis PR swaps out `react-grid-layout` for the new internal\r\n`kbn-grid-layout` in the Dashboard plugin. This is the first major step\r\nin making collapsible sections possible in Dashboard.\r\n\r\n- **`react-grid-layout` (before)**:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ca6ec059-7f4a-43fb-890e-7b72b781e50b\r\n\r\n- **`kbn-grid-layout` (after)**:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/3d3de1f3-1afc-4e6b-93d6-9cc31a46e2cf\r\n\r\n### Notable Improvements\r\n\r\n- Better handling of resizing panels near the bottom of the screen\r\n \r\n | `react-grid-layout` | `kbn-grid-layout` |\r\n |--------|--------|\r\n| \r\n| \r\n|\r\n\r\n\r\n- Auto-scroll when dragging / resizing panels near the top and bottom of\r\nthe screen, making it much easier to move panels around by larger\r\ndistances\r\n\r\n | `react-grid-layout` | `kbn-grid-layout` |\r\n |--------|--------|\r\n| \r\n| \r\n|\r\n\r\n- More reliable panel positioning due to the use of CSS grid rather than\r\nabsolute positioning via pixels\r\n\r\n | `react-grid-layout` | `kbn-grid-layout` |\r\n |--------|--------|\r\n| \r\n| \r\n|\r\n\r\n- Better performance when dragging and resizing (see\r\nhttps://github.com/elastic/kibana/pull/204134 for a more thorough\r\nexplanation) and a smaller bundle size than `react-grid-layout`\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\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nThis PR contains a significant change to the Dashboard layout engine,\r\nwhich means that it carries a decent amount of risk for introducing new,\r\nuncaught bugs with dragging / resizing panels and collision resolution.\r\nThat being said, `kbn-grid-layout` has been built **iteratively** with\r\nplenty of testing along the way to reduce this risk.\r\n\r\n## Release note\r\nImproves Dashboard layout engine by switching to the internally\r\ndeveloped `kbn-grid-layout`.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>","sha":"686571547f82f097d589776733e165466ec518ad"}}]}] BACKPORT--> |
||
|
d3b8955f0b
|
[8.x] [uiActions] make trigger action registry async (#205512) (#206480)
# Backport This will backport the following commits from `main` to `8.x`: - [[uiActions] make trigger action registry async (#205512)](https://github.com/elastic/kibana/pull/205512) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2025-01-13T16:57:34Z","message":"[uiActions] make trigger action registry async (#205512)\n\nCloses https://github.com/elastic/kibana/issues/191642, part of\r\nhttps://github.com/elastic/kibana/pull/205512\r\n\r\nPR makes the following changes to uiActions API.\r\n* Deprecates `registerAction` and `addTriggerAction` and replaces them\r\nwith `registerActionAsync` and `addTriggerActionAsync`\r\n* Makes all registry consumption methods async, such as `getAction`,\r\n`getTriggerActions` and `getFrequentlyChangingActionsForTrigger`\r\n\r\nPR updates presentation_panel plugin to use `registerActionAsync`. With\r\nactions behind async import, page load bundle size has been reduced by\r\n21.1KB.\r\n\r\n<img width=\"500\" alt=\"Screenshot 2025-01-08 at 2 14 23 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/34a2cae9-dc5e-429b-bbdb-ffd9dfe1cce3\"\r\n/>\r\n\r\nAlso, async exports are [contained in a single file\r\n`panel_module`](https://github.com/elastic/kibana/issues/206117). This\r\nresults in dashboard only loading one `presentationPanel.chunk`.\r\n\r\n<img width=\"500\" alt=\"Screenshot 2025-01-08 at 2 15 02 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/e083b852-b50d-4fa7-8ebd-e2f56f85e998\"\r\n/>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"1bd8c97982146a4643d6eca1e21b525a5c8d456f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","release_note:skip","v9.0.0","backport:version","v8.18.0"],"number":205512,"url":"https://github.com/elastic/kibana/pull/205512","mergeCommit":{"message":"[uiActions] make trigger action registry async (#205512)\n\nCloses https://github.com/elastic/kibana/issues/191642, part of\r\nhttps://github.com/elastic/kibana/pull/205512\r\n\r\nPR makes the following changes to uiActions API.\r\n* Deprecates `registerAction` and `addTriggerAction` and replaces them\r\nwith `registerActionAsync` and `addTriggerActionAsync`\r\n* Makes all registry consumption methods async, such as `getAction`,\r\n`getTriggerActions` and `getFrequentlyChangingActionsForTrigger`\r\n\r\nPR updates presentation_panel plugin to use `registerActionAsync`. With\r\nactions behind async import, page load bundle size has been reduced by\r\n21.1KB.\r\n\r\n<img width=\"500\" alt=\"Screenshot 2025-01-08 at 2 14 23 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/34a2cae9-dc5e-429b-bbdb-ffd9dfe1cce3\"\r\n/>\r\n\r\nAlso, async exports are [contained in a single file\r\n`panel_module`](https://github.com/elastic/kibana/issues/206117). This\r\nresults in dashboard only loading one `presentationPanel.chunk`.\r\n\r\n<img width=\"500\" alt=\"Screenshot 2025-01-08 at 2 15 02 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/e083b852-b50d-4fa7-8ebd-e2f56f85e998\"\r\n/>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"1bd8c97982146a4643d6eca1e21b525a5c8d456f"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205512","number":205512,"mergeCommit":{"message":"[uiActions] make trigger action registry async (#205512)\n\nCloses https://github.com/elastic/kibana/issues/191642, part of\r\nhttps://github.com/elastic/kibana/pull/205512\r\n\r\nPR makes the following changes to uiActions API.\r\n* Deprecates `registerAction` and `addTriggerAction` and replaces them\r\nwith `registerActionAsync` and `addTriggerActionAsync`\r\n* Makes all registry consumption methods async, such as `getAction`,\r\n`getTriggerActions` and `getFrequentlyChangingActionsForTrigger`\r\n\r\nPR updates presentation_panel plugin to use `registerActionAsync`. With\r\nactions behind async import, page load bundle size has been reduced by\r\n21.1KB.\r\n\r\n<img width=\"500\" alt=\"Screenshot 2025-01-08 at 2 14 23 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/34a2cae9-dc5e-429b-bbdb-ffd9dfe1cce3\"\r\n/>\r\n\r\nAlso, async exports are [contained in a single file\r\n`panel_module`](https://github.com/elastic/kibana/issues/206117). This\r\nresults in dashboard only loading one `presentationPanel.chunk`.\r\n\r\n<img width=\"500\" alt=\"Screenshot 2025-01-08 at 2 15 02 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/e083b852-b50d-4fa7-8ebd-e2f56f85e998\"\r\n/>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"1bd8c97982146a4643d6eca1e21b525a5c8d456f"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
641de501a2
|
[8.x] [Authz] Migrate outstanding SharedUX routes with access tags (#206260) (#206435)
# Backport This will backport the following commits from `main` to `8.x`: - [[Authz] Migrate outstanding SharedUX routes with access tags (#206260)](https://github.com/elastic/kibana/pull/206260) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Eyo O. Eyo","email":"7893459+eokoneyo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-13T13:52:06Z","message":"[Authz] Migrate outstanding SharedUX routes with access tags (#206260)\n\n## Summary\r\n\r\nRelates to https://github.com/elastic/kibana-team/issues/1235, this PR\r\ntackles routes could not have been migrated automatically by the\r\nsecurity team. Following the guidance by the security provided in the\r\naforementioned issue instances where the tag approach had been\r\npreviously used to configure access have been migrated to use the\r\n`requiredPrivilege` property on `security.authz` for route definitions.\r\n\r\n### Checklist\r\n<!--\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [ ] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [ ] [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\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-->\r\n- [x] This was checked for breaking HTTP API changes, and any breaking\r\nchanges have been approved by the breaking-change committee. The\r\n`release_note:breaking` label should be applied in these situations.\r\n\r\n<!--\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [ ] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nDoes this PR introduce any risks? For example, consider risks like hard\r\nto test bugs, performance regression, potential of data loss.\r\n\r\nDescribe the risk, its severity, and mitigation for each identified\r\nrisk. Invite stakeholders and evaluate how to proceed before merging.\r\n\r\n- [ ] [See some risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n- [ ] ...\r\n\r\n-->\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"e6e4eda1519c23c05ec9f36be639bc45ab7463ef","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:SharedUX","backport:prev-minor"],"title":"[Authz] Migrate outstanding SharedUX routes with access tags","number":206260,"url":"https://github.com/elastic/kibana/pull/206260","mergeCommit":{"message":"[Authz] Migrate outstanding SharedUX routes with access tags (#206260)\n\n## Summary\r\n\r\nRelates to https://github.com/elastic/kibana-team/issues/1235, this PR\r\ntackles routes could not have been migrated automatically by the\r\nsecurity team. Following the guidance by the security provided in the\r\naforementioned issue instances where the tag approach had been\r\npreviously used to configure access have been migrated to use the\r\n`requiredPrivilege` property on `security.authz` for route definitions.\r\n\r\n### Checklist\r\n<!--\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [ ] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [ ] [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\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-->\r\n- [x] This was checked for breaking HTTP API changes, and any breaking\r\nchanges have been approved by the breaking-change committee. The\r\n`release_note:breaking` label should be applied in these situations.\r\n\r\n<!--\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [ ] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nDoes this PR introduce any risks? For example, consider risks like hard\r\nto test bugs, performance regression, potential of data loss.\r\n\r\nDescribe the risk, its severity, and mitigation for each identified\r\nrisk. Invite stakeholders and evaluate how to proceed before merging.\r\n\r\n- [ ] [See some risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n- [ ] ...\r\n\r\n-->\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"e6e4eda1519c23c05ec9f36be639bc45ab7463ef"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206260","number":206260,"mergeCommit":{"message":"[Authz] Migrate outstanding SharedUX routes with access tags (#206260)\n\n## Summary\r\n\r\nRelates to https://github.com/elastic/kibana-team/issues/1235, this PR\r\ntackles routes could not have been migrated automatically by the\r\nsecurity team. Following the guidance by the security provided in the\r\naforementioned issue instances where the tag approach had been\r\npreviously used to configure access have been migrated to use the\r\n`requiredPrivilege` property on `security.authz` for route definitions.\r\n\r\n### Checklist\r\n<!--\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [ ] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [ ] [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\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-->\r\n- [x] This was checked for breaking HTTP API changes, and any breaking\r\nchanges have been approved by the breaking-change committee. The\r\n`release_note:breaking` label should be applied in these situations.\r\n\r\n<!--\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [ ] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nDoes this PR introduce any risks? For example, consider risks like hard\r\nto test bugs, performance regression, potential of data loss.\r\n\r\nDescribe the risk, its severity, and mitigation for each identified\r\nrisk. Invite stakeholders and evaluate how to proceed before merging.\r\n\r\n- [ ] [See some risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n- [ ] ...\r\n\r\n-->\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"e6e4eda1519c23c05ec9f36be639bc45ab7463ef"}}]}] BACKPORT--> Co-authored-by: Eyo O. Eyo <7893459+eokoneyo@users.noreply.github.com> |
||
|
fddd6d0217
|
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-visualizations (#202754) (#205974)
# Backport This will backport the following commits from `main` to `8.x`: - [Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-visualizations` (#202754)](https://github.com/elastic/kibana/pull/202754) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Gerard Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-01-08T11:19:24Z","message":"Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-visualizations` (#202754)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> * This PR has been auto-generated.\r\n> * Any manual contributions will be lost if the 'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews / approvals before applying manual\r\nfixes, and/or keep your changes in a .patch / git stash.\r\n> * Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve merge conflicts? Please follow\r\nthe steps describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n#### 29 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/charts-plugin` | `src/platform/plugins/shared/charts` |\r\n| `@kbn/data-plugin` | `src/platform/plugins/shared/data` |\r\n| `@kbn/event-annotation-listing-plugin` |\r\n`src/platform/plugins/private/event_annotation_listing` |\r\n| `@kbn/event-annotation-plugin` |\r\n`src/platform/plugins/private/event_annotation` |\r\n| `@kbn/expression-gauge-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_gauge` |\r\n| `@kbn/expression-heatmap-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_heatmap` |\r\n| `@kbn/expression-legacy-metric-vis-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_legacy_metric`\r\n|\r\n| `@kbn/expression-metric-vis-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_metric` |\r\n| `@kbn/expression-partition-vis-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_partition_vis`\r\n|\r\n| `@kbn/expression-tagcloud-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_tagcloud` |\r\n| `@kbn/expression-xy-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_xy` |\r\n| `@kbn/expressions-plugin` | `src/platform/plugins/shared/expressions`\r\n|\r\n| `@kbn/graph-plugin` | `x-pack/platform/plugins/private/graph` |\r\n| `@kbn/lens-plugin` | `x-pack/platform/plugins/shared/lens` |\r\n| `@kbn/unified-search-plugin` |\r\n`src/platform/plugins/shared/unified_search` |\r\n| `@kbn/url-forwarding-plugin` |\r\n`src/platform/plugins/private/url_forwarding` |\r\n| `@kbn/vis-default-editor-plugin` |\r\n`src/platform/plugins/private/vis_default_editor` |\r\n| `@kbn/vis-type-gauge-plugin` |\r\n`src/platform/plugins/private/vis_types/gauge` |\r\n| `@kbn/vis-type-heatmap-plugin` |\r\n`src/platform/plugins/private/vis_types/heatmap` |\r\n| `@kbn/vis-type-metric-plugin` |\r\n`src/platform/plugins/private/vis_types/metric` |\r\n| `@kbn/vis-type-pie-plugin` |\r\n`src/platform/plugins/private/vis_types/pie` |\r\n| `@kbn/vis-type-table-plugin` |\r\n`src/platform/plugins/private/vis_types/table` |\r\n| `@kbn/vis-type-tagcloud-plugin` |\r\n`src/platform/plugins/private/vis_types/tagcloud` |\r\n| `@kbn/vis-type-timelion-plugin` |\r\n`src/platform/plugins/private/vis_types/timelion` |\r\n| `@kbn/vis-type-timeseries-plugin` |\r\n`src/platform/plugins/shared/vis_types/timeseries` |\r\n| `@kbn/vis-type-vega-plugin` |\r\n`src/platform/plugins/private/vis_types/vega` |\r\n| `@kbn/vis-type-vislib-plugin` |\r\n`src/platform/plugins/private/vis_types/vislib` |\r\n| `@kbn/vis-type-xy-plugin` |\r\n`src/platform/plugins/private/vis_types/xy` |\r\n| `@kbn/visualizations-plugin` |\r\n`src/platform/plugins/shared/visualizations` |\r\n\r\n\r\n\r\n\r\n#### 18 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/calculate-width-from-char-count` |\r\n`src/platform/packages/shared/kbn-calculate-width-from-char-count` |\r\n| `@kbn/chart-expressions-common` |\r\n`src/platform/packages/shared/chart-expressions-common` |\r\n| `@kbn/chart-icons` | `src/platform/packages/shared/kbn-chart-icons` |\r\n| `@kbn/coloring` | `src/platform/packages/shared/kbn-coloring` |\r\n| `@kbn/data-service` | `src/platform/packages/shared/kbn-data-service`\r\n|\r\n| `@kbn/dom-drag-drop` |\r\n`src/platform/packages/shared/kbn-dom-drag-drop` |\r\n| `@kbn/event-annotation-common` |\r\n`src/platform/packages/shared/kbn-event-annotation-common` |\r\n| `@kbn/event-annotation-components` |\r\n`src/platform/packages/shared/kbn-event-annotation-components` |\r\n| `@kbn/interpreter` | `src/platform/packages/shared/kbn-interpreter` |\r\n| `@kbn/lens-formula-docs` |\r\n`src/platform/packages/private/kbn-lens-formula-docs` |\r\n| `@kbn/managed-content-badge` |\r\n`src/platform/packages/private/kbn-managed-content-badge` |\r\n| `@kbn/random-sampling` |\r\n`x-pack/platform/packages/private/kbn-random-sampling` |\r\n| `@kbn/sort-predicates` |\r\n`src/platform/packages/shared/kbn-sort-predicates` |\r\n| `@kbn/timelion-grammar` |\r\n`src/platform/packages/private/kbn-timelion-grammar` |\r\n| `@kbn/tinymath` | `src/platform/packages/private/kbn-tinymath` |\r\n| `@kbn/transpose-utils` |\r\n`src/platform/packages/private/kbn-transpose-utils` |\r\n| `@kbn/visualization-ui-components` |\r\n`src/platform/packages/shared/kbn-visualization-ui-components` |\r\n| `@kbn/visualization-utils` |\r\n`src/platform/packages/shared/kbn-visualization-utils` |\r\n\r\n\r\n<details >\r\n<summary>Updated references</summary>\r\n\r\n```\r\n./.eslintignore\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/architecture/core/elasticsearch-service.asciidoc\r\n./docs/developer/architecture/development-visualize-index.asciidoc\r\n./docs/developer/best-practices/index.asciidoc\r\n./docs/developer/plugin-list.asciidoc\r\n./examples/search_examples/public/plugin.ts\r\n./package.json\r\n./packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts\r\n./packages/kbn-docs-utils/src/utils.ts\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-repo-source-classifier/src/repo_source_classifier.ts\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/build/tasks/package_json/find_used_dependencies.ts\r\n./src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js\r\n./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt\r\n./src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js\r\n./src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/kbn-lens-formula-docs/jest.config.js\r\n./src/platform/packages/private/kbn-managed-content-badge/jest.config.js\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./src/platform/packages/private/kbn-tinymath/README.md\r\n./src/platform/packages/private/kbn-tinymath/jest.config.js\r\n./src/platform/packages/private/kbn-transpose-utils/jest.config.js\r\n./src/platform/packages/shared/chart-expressions-common/jest.config.js\r\n./src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js\r\n./src/platform/packages/shared/kbn-chart-icons/jest.config.js\r\n./src/platform/packages/shared/kbn-coloring/jest.config.js\r\n./src/platform/packages/shared/kbn-data-service/jest.config.js\r\n./src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js\r\n./src/platform/packages/shared/kbn-event-annotation-common/jest.config.js\r\n./src/platform/packages/shared/kbn-event-annotation-components/jest.config.js\r\n./src/platform/packages/shared/kbn-interpreter/jest.config.js\r\n./src/platform/packages/shared/kbn-sort-predicates/jest.config.js\r\n./src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js\r\n./src/platform/packages/shared/kbn-visualization-utils/jest.config.js\r\n./src/platform/plugins/private/event_annotation/jest.config.js\r\n./src/platform/plugins/private/event_annotation_listing/jest.config.js\r\n./src/platform/plugins/private/url_forwarding/jest.config.js\r\n./src/platform/plugins/private/vis_default_editor/jest.config.js\r\n./src/platform/plugins/private/vis_types/gauge/jest.config.js\r\n./src/platform/plugins/private/vis_types/heatmap/jest.config.js\r\n./src/platform/plugins/private/vis_types/metric/jest.config.js\r\n./src/platform/plugins/private/vis_types/pie/jest.config.js\r\n./src/platform/plugins/private/vis_types/table/jest.config.js\r\n./src/platform/plugins/private/vis_types/tagcloud/jest.config.js\r\n./src/platform/plugins/private/vis_types/timelion/jest.config.js\r\n./src/platform/plugins/private/vis_types/vega/jest.config.js\r\n./src/platform/plugins/private/vis_types/vislib/jest.config.js\r\n./src/platform/plugins/private/vis_types/xy/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js\r\n./src/platform/plugins/shared/charts/jest.config.js\r\n./src/platform/plugins/shared/custom_integrations/jest.config.js\r\n./src/platform/plugins/shared/data/jest.config.js\r\n./src/platform/plugins/shared/expressions/README.asciidoc\r\n./src/platform/plugins/shared/expressions/jest.config.js\r\n./src/platform/plugins/shared/unified_search/jest.config.js\r\n./src/platform/plugins/shared/vis_types/timeseries/jest.config.js\r\n./src/platform/plugins/shared/visualizations/jest.config.js\r\n./src/plugins/vis_types/timeseries/public/application/components/aggs/math.js\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/kbn-random-sampling/jest.config.js\r\n./x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts\r\n./x-pack/platform/plugins/private/graph/README.md\r\n./x-pack/platform/plugins/private/graph/jest.config.js\r\n./x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/index.ts\r\n./x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js\r\n./x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts\r\n./x-pack/platform/plugins/shared/lens/jest.config.js\r\n./x-pack/platform/plugins/shared/lens/readme.md\r\n./x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts\r\n./x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts\r\n./x-pack/platform/plugins/shared/lens/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js\r\n./x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts\r\n./x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js\r\n./x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts\r\n./x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts\r\n./x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts\r\n./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts\r\n./x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/kbn-lens-formula-docs/jest.config.js:12\r\nsrc/platform/packages/private/kbn-lens-formula-docs/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-managed-content-badge/jest.config.js:12\r\nsrc/platform/packages/private/kbn-managed-content-badge/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-timelion-grammar/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-tinymath/jest.config.js:12\r\nsrc/platform/packages/private/kbn-tinymath/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-transpose-utils/jest.config.js:12\r\nsrc/platform/packages/private/kbn-transpose-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/chart-expressions-common/jest.config.js:12\r\nsrc/platform/packages/shared/chart-expressions-common/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-calculate-width-from-char-count/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-chart-icons/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-chart-icons/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-coloring/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-coloring/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-data-service/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-data-service/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-dom-drag-drop/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-dom-drag-drop/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-event-annotation-common/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-event-annotation-common/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-event-annotation-components/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-event-annotation-components/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-interpreter/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-interpreter/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sort-predicates/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sort-predicates/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-visualization-ui-components/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-visualization-ui-components/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-visualization-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-visualization-utils/tsconfig.json:2\r\nsrc/platform/plugins/private/event_annotation/jest.config.js:12\r\nsrc/platform/plugins/private/event_annotation/tsconfig.json:2\r\nsrc/platform/plugins/private/event_annotation_listing/jest.config.js:12\r\nsrc/platform/plugins/private/event_annotation_listing/tsconfig.json:2\r\nsrc/platform/plugins/private/url_forwarding/jest.config.js:12\r\nsrc/platform/plugins/private/url_forwarding/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_default_editor/README.md:8\r\nsrc/platform/plugins/private/vis_default_editor/jest.config.js:12\r\nsrc/platform/plugins/private/vis_default_editor/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/gauge/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/gauge/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/heatmap/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/heatmap/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/metric/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/metric/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/pie/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/pie/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/table/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/table/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/tagcloud/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/tagcloud/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/timelion/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/timelion/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/vega/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/vega/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/vislib/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/vislib/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/xy/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/xy/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_gauge/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_heatmap/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook/main.js:17\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/.storybook/main.js:17\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_partition_vis/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_tagcloud/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_xy/tsconfig.json:2\r\nsrc/platform/plugins/shared/charts/jest.config.js:12\r\nsrc/platform/plugins/shared/charts/tsconfig.json:2\r\nsrc/platform/plugins/shared/data/jest.config.js:12\r\nsrc/platform/plugins/shared/data/tsconfig.json:13\r\nsrc/platform/plugins/shared/data/tsconfig.json:2\r\nsrc/platform/plugins/shared/expressions/jest.config.js:12\r\nsrc/platform/plugins/shared/expressions/tsconfig.json:2\r\nsrc/platform/plugins/shared/unified_search/jest.config.js:12\r\nsrc/platform/plugins/shared/unified_search/tsconfig.json:2\r\nsrc/platform/plugins/shared/vis_types/timeseries/jest.config.js:12\r\nsrc/platform/plugins/shared/vis_types/timeseries/tsconfig.json:11\r\nsrc/platform/plugins/shared/vis_types/timeseries/tsconfig.json:2\r\nsrc/platform/plugins/shared/visualizations/jest.config.js:12\r\nsrc/platform/plugins/shared/visualizations/tsconfig.json:2\r\nsrc/platform/plugins/shared/visualizations/tsconfig.json:6\r\nx-pack/platform/packages/private/kbn-random-sampling/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-random-sampling/tsconfig.json:2\r\nx-pack/platform/plugins/private/graph/jest.config.js:10\r\nx-pack/platform/plugins/private/graph/tsconfig.json:13\r\nx-pack/platform/plugins/private/graph/tsconfig.json:3\r\nx-pack/platform/plugins/shared/lens/jest.config.js:10\r\nx-pack/platform/plugins/shared/lens/tsconfig.json:2\r\nx-pack/platform/plugins/shared/lens/tsconfig.json:6\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"a382d35dd28ae43053d28bcc74778118a92b9540","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:Visualizations","release_note:skip","v9.0.0","backport:prev-minor","plugin groups"],"number":202754,"url":"https://github.com/elastic/kibana/pull/202754","mergeCommit":{"message":"Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-visualizations` (#202754)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> * This PR has been auto-generated.\r\n> * Any manual contributions will be lost if the 'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews / approvals before applying manual\r\nfixes, and/or keep your changes in a .patch / git stash.\r\n> * Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve merge conflicts? Please follow\r\nthe steps describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n#### 29 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/charts-plugin` | `src/platform/plugins/shared/charts` |\r\n| `@kbn/data-plugin` | `src/platform/plugins/shared/data` |\r\n| `@kbn/event-annotation-listing-plugin` |\r\n`src/platform/plugins/private/event_annotation_listing` |\r\n| `@kbn/event-annotation-plugin` |\r\n`src/platform/plugins/private/event_annotation` |\r\n| `@kbn/expression-gauge-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_gauge` |\r\n| `@kbn/expression-heatmap-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_heatmap` |\r\n| `@kbn/expression-legacy-metric-vis-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_legacy_metric`\r\n|\r\n| `@kbn/expression-metric-vis-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_metric` |\r\n| `@kbn/expression-partition-vis-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_partition_vis`\r\n|\r\n| `@kbn/expression-tagcloud-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_tagcloud` |\r\n| `@kbn/expression-xy-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_xy` |\r\n| `@kbn/expressions-plugin` | `src/platform/plugins/shared/expressions`\r\n|\r\n| `@kbn/graph-plugin` | `x-pack/platform/plugins/private/graph` |\r\n| `@kbn/lens-plugin` | `x-pack/platform/plugins/shared/lens` |\r\n| `@kbn/unified-search-plugin` |\r\n`src/platform/plugins/shared/unified_search` |\r\n| `@kbn/url-forwarding-plugin` |\r\n`src/platform/plugins/private/url_forwarding` |\r\n| `@kbn/vis-default-editor-plugin` |\r\n`src/platform/plugins/private/vis_default_editor` |\r\n| `@kbn/vis-type-gauge-plugin` |\r\n`src/platform/plugins/private/vis_types/gauge` |\r\n| `@kbn/vis-type-heatmap-plugin` |\r\n`src/platform/plugins/private/vis_types/heatmap` |\r\n| `@kbn/vis-type-metric-plugin` |\r\n`src/platform/plugins/private/vis_types/metric` |\r\n| `@kbn/vis-type-pie-plugin` |\r\n`src/platform/plugins/private/vis_types/pie` |\r\n| `@kbn/vis-type-table-plugin` |\r\n`src/platform/plugins/private/vis_types/table` |\r\n| `@kbn/vis-type-tagcloud-plugin` |\r\n`src/platform/plugins/private/vis_types/tagcloud` |\r\n| `@kbn/vis-type-timelion-plugin` |\r\n`src/platform/plugins/private/vis_types/timelion` |\r\n| `@kbn/vis-type-timeseries-plugin` |\r\n`src/platform/plugins/shared/vis_types/timeseries` |\r\n| `@kbn/vis-type-vega-plugin` |\r\n`src/platform/plugins/private/vis_types/vega` |\r\n| `@kbn/vis-type-vislib-plugin` |\r\n`src/platform/plugins/private/vis_types/vislib` |\r\n| `@kbn/vis-type-xy-plugin` |\r\n`src/platform/plugins/private/vis_types/xy` |\r\n| `@kbn/visualizations-plugin` |\r\n`src/platform/plugins/shared/visualizations` |\r\n\r\n\r\n\r\n\r\n#### 18 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/calculate-width-from-char-count` |\r\n`src/platform/packages/shared/kbn-calculate-width-from-char-count` |\r\n| `@kbn/chart-expressions-common` |\r\n`src/platform/packages/shared/chart-expressions-common` |\r\n| `@kbn/chart-icons` | `src/platform/packages/shared/kbn-chart-icons` |\r\n| `@kbn/coloring` | `src/platform/packages/shared/kbn-coloring` |\r\n| `@kbn/data-service` | `src/platform/packages/shared/kbn-data-service`\r\n|\r\n| `@kbn/dom-drag-drop` |\r\n`src/platform/packages/shared/kbn-dom-drag-drop` |\r\n| `@kbn/event-annotation-common` |\r\n`src/platform/packages/shared/kbn-event-annotation-common` |\r\n| `@kbn/event-annotation-components` |\r\n`src/platform/packages/shared/kbn-event-annotation-components` |\r\n| `@kbn/interpreter` | `src/platform/packages/shared/kbn-interpreter` |\r\n| `@kbn/lens-formula-docs` |\r\n`src/platform/packages/private/kbn-lens-formula-docs` |\r\n| `@kbn/managed-content-badge` |\r\n`src/platform/packages/private/kbn-managed-content-badge` |\r\n| `@kbn/random-sampling` |\r\n`x-pack/platform/packages/private/kbn-random-sampling` |\r\n| `@kbn/sort-predicates` |\r\n`src/platform/packages/shared/kbn-sort-predicates` |\r\n| `@kbn/timelion-grammar` |\r\n`src/platform/packages/private/kbn-timelion-grammar` |\r\n| `@kbn/tinymath` | `src/platform/packages/private/kbn-tinymath` |\r\n| `@kbn/transpose-utils` |\r\n`src/platform/packages/private/kbn-transpose-utils` |\r\n| `@kbn/visualization-ui-components` |\r\n`src/platform/packages/shared/kbn-visualization-ui-components` |\r\n| `@kbn/visualization-utils` |\r\n`src/platform/packages/shared/kbn-visualization-utils` |\r\n\r\n\r\n<details >\r\n<summary>Updated references</summary>\r\n\r\n```\r\n./.eslintignore\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/architecture/core/elasticsearch-service.asciidoc\r\n./docs/developer/architecture/development-visualize-index.asciidoc\r\n./docs/developer/best-practices/index.asciidoc\r\n./docs/developer/plugin-list.asciidoc\r\n./examples/search_examples/public/plugin.ts\r\n./package.json\r\n./packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts\r\n./packages/kbn-docs-utils/src/utils.ts\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-repo-source-classifier/src/repo_source_classifier.ts\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/build/tasks/package_json/find_used_dependencies.ts\r\n./src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js\r\n./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt\r\n./src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js\r\n./src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/kbn-lens-formula-docs/jest.config.js\r\n./src/platform/packages/private/kbn-managed-content-badge/jest.config.js\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./src/platform/packages/private/kbn-tinymath/README.md\r\n./src/platform/packages/private/kbn-tinymath/jest.config.js\r\n./src/platform/packages/private/kbn-transpose-utils/jest.config.js\r\n./src/platform/packages/shared/chart-expressions-common/jest.config.js\r\n./src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js\r\n./src/platform/packages/shared/kbn-chart-icons/jest.config.js\r\n./src/platform/packages/shared/kbn-coloring/jest.config.js\r\n./src/platform/packages/shared/kbn-data-service/jest.config.js\r\n./src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js\r\n./src/platform/packages/shared/kbn-event-annotation-common/jest.config.js\r\n./src/platform/packages/shared/kbn-event-annotation-components/jest.config.js\r\n./src/platform/packages/shared/kbn-interpreter/jest.config.js\r\n./src/platform/packages/shared/kbn-sort-predicates/jest.config.js\r\n./src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js\r\n./src/platform/packages/shared/kbn-visualization-utils/jest.config.js\r\n./src/platform/plugins/private/event_annotation/jest.config.js\r\n./src/platform/plugins/private/event_annotation_listing/jest.config.js\r\n./src/platform/plugins/private/url_forwarding/jest.config.js\r\n./src/platform/plugins/private/vis_default_editor/jest.config.js\r\n./src/platform/plugins/private/vis_types/gauge/jest.config.js\r\n./src/platform/plugins/private/vis_types/heatmap/jest.config.js\r\n./src/platform/plugins/private/vis_types/metric/jest.config.js\r\n./src/platform/plugins/private/vis_types/pie/jest.config.js\r\n./src/platform/plugins/private/vis_types/table/jest.config.js\r\n./src/platform/plugins/private/vis_types/tagcloud/jest.config.js\r\n./src/platform/plugins/private/vis_types/timelion/jest.config.js\r\n./src/platform/plugins/private/vis_types/vega/jest.config.js\r\n./src/platform/plugins/private/vis_types/vislib/jest.config.js\r\n./src/platform/plugins/private/vis_types/xy/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js\r\n./src/platform/plugins/shared/charts/jest.config.js\r\n./src/platform/plugins/shared/custom_integrations/jest.config.js\r\n./src/platform/plugins/shared/data/jest.config.js\r\n./src/platform/plugins/shared/expressions/README.asciidoc\r\n./src/platform/plugins/shared/expressions/jest.config.js\r\n./src/platform/plugins/shared/unified_search/jest.config.js\r\n./src/platform/plugins/shared/vis_types/timeseries/jest.config.js\r\n./src/platform/plugins/shared/visualizations/jest.config.js\r\n./src/plugins/vis_types/timeseries/public/application/components/aggs/math.js\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/kbn-random-sampling/jest.config.js\r\n./x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts\r\n./x-pack/platform/plugins/private/graph/README.md\r\n./x-pack/platform/plugins/private/graph/jest.config.js\r\n./x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/index.ts\r\n./x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js\r\n./x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts\r\n./x-pack/platform/plugins/shared/lens/jest.config.js\r\n./x-pack/platform/plugins/shared/lens/readme.md\r\n./x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts\r\n./x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts\r\n./x-pack/platform/plugins/shared/lens/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js\r\n./x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts\r\n./x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js\r\n./x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts\r\n./x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts\r\n./x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts\r\n./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts\r\n./x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/kbn-lens-formula-docs/jest.config.js:12\r\nsrc/platform/packages/private/kbn-lens-formula-docs/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-managed-content-badge/jest.config.js:12\r\nsrc/platform/packages/private/kbn-managed-content-badge/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-timelion-grammar/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-tinymath/jest.config.js:12\r\nsrc/platform/packages/private/kbn-tinymath/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-transpose-utils/jest.config.js:12\r\nsrc/platform/packages/private/kbn-transpose-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/chart-expressions-common/jest.config.js:12\r\nsrc/platform/packages/shared/chart-expressions-common/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-calculate-width-from-char-count/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-chart-icons/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-chart-icons/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-coloring/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-coloring/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-data-service/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-data-service/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-dom-drag-drop/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-dom-drag-drop/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-event-annotation-common/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-event-annotation-common/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-event-annotation-components/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-event-annotation-components/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-interpreter/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-interpreter/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sort-predicates/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sort-predicates/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-visualization-ui-components/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-visualization-ui-components/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-visualization-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-visualization-utils/tsconfig.json:2\r\nsrc/platform/plugins/private/event_annotation/jest.config.js:12\r\nsrc/platform/plugins/private/event_annotation/tsconfig.json:2\r\nsrc/platform/plugins/private/event_annotation_listing/jest.config.js:12\r\nsrc/platform/plugins/private/event_annotation_listing/tsconfig.json:2\r\nsrc/platform/plugins/private/url_forwarding/jest.config.js:12\r\nsrc/platform/plugins/private/url_forwarding/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_default_editor/README.md:8\r\nsrc/platform/plugins/private/vis_default_editor/jest.config.js:12\r\nsrc/platform/plugins/private/vis_default_editor/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/gauge/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/gauge/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/heatmap/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/heatmap/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/metric/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/metric/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/pie/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/pie/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/table/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/table/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/tagcloud/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/tagcloud/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/timelion/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/timelion/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/vega/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/vega/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/vislib/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/vislib/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/xy/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/xy/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_gauge/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_heatmap/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook/main.js:17\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/.storybook/main.js:17\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_partition_vis/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_tagcloud/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_xy/tsconfig.json:2\r\nsrc/platform/plugins/shared/charts/jest.config.js:12\r\nsrc/platform/plugins/shared/charts/tsconfig.json:2\r\nsrc/platform/plugins/shared/data/jest.config.js:12\r\nsrc/platform/plugins/shared/data/tsconfig.json:13\r\nsrc/platform/plugins/shared/data/tsconfig.json:2\r\nsrc/platform/plugins/shared/expressions/jest.config.js:12\r\nsrc/platform/plugins/shared/expressions/tsconfig.json:2\r\nsrc/platform/plugins/shared/unified_search/jest.config.js:12\r\nsrc/platform/plugins/shared/unified_search/tsconfig.json:2\r\nsrc/platform/plugins/shared/vis_types/timeseries/jest.config.js:12\r\nsrc/platform/plugins/shared/vis_types/timeseries/tsconfig.json:11\r\nsrc/platform/plugins/shared/vis_types/timeseries/tsconfig.json:2\r\nsrc/platform/plugins/shared/visualizations/jest.config.js:12\r\nsrc/platform/plugins/shared/visualizations/tsconfig.json:2\r\nsrc/platform/plugins/shared/visualizations/tsconfig.json:6\r\nx-pack/platform/packages/private/kbn-random-sampling/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-random-sampling/tsconfig.json:2\r\nx-pack/platform/plugins/private/graph/jest.config.js:10\r\nx-pack/platform/plugins/private/graph/tsconfig.json:13\r\nx-pack/platform/plugins/private/graph/tsconfig.json:3\r\nx-pack/platform/plugins/shared/lens/jest.config.js:10\r\nx-pack/platform/plugins/shared/lens/tsconfig.json:2\r\nx-pack/platform/plugins/shared/lens/tsconfig.json:6\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"a382d35dd28ae43053d28bcc74778118a92b9540"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202754","number":202754,"mergeCommit":{"message":"Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-visualizations` (#202754)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> * This PR has been auto-generated.\r\n> * Any manual contributions will be lost if the 'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews / approvals before applying manual\r\nfixes, and/or keep your changes in a .patch / git stash.\r\n> * Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve merge conflicts? Please follow\r\nthe steps describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n#### 29 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/charts-plugin` | `src/platform/plugins/shared/charts` |\r\n| `@kbn/data-plugin` | `src/platform/plugins/shared/data` |\r\n| `@kbn/event-annotation-listing-plugin` |\r\n`src/platform/plugins/private/event_annotation_listing` |\r\n| `@kbn/event-annotation-plugin` |\r\n`src/platform/plugins/private/event_annotation` |\r\n| `@kbn/expression-gauge-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_gauge` |\r\n| `@kbn/expression-heatmap-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_heatmap` |\r\n| `@kbn/expression-legacy-metric-vis-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_legacy_metric`\r\n|\r\n| `@kbn/expression-metric-vis-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_metric` |\r\n| `@kbn/expression-partition-vis-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_partition_vis`\r\n|\r\n| `@kbn/expression-tagcloud-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_tagcloud` |\r\n| `@kbn/expression-xy-plugin` |\r\n`src/platform/plugins/shared/chart_expressions/expression_xy` |\r\n| `@kbn/expressions-plugin` | `src/platform/plugins/shared/expressions`\r\n|\r\n| `@kbn/graph-plugin` | `x-pack/platform/plugins/private/graph` |\r\n| `@kbn/lens-plugin` | `x-pack/platform/plugins/shared/lens` |\r\n| `@kbn/unified-search-plugin` |\r\n`src/platform/plugins/shared/unified_search` |\r\n| `@kbn/url-forwarding-plugin` |\r\n`src/platform/plugins/private/url_forwarding` |\r\n| `@kbn/vis-default-editor-plugin` |\r\n`src/platform/plugins/private/vis_default_editor` |\r\n| `@kbn/vis-type-gauge-plugin` |\r\n`src/platform/plugins/private/vis_types/gauge` |\r\n| `@kbn/vis-type-heatmap-plugin` |\r\n`src/platform/plugins/private/vis_types/heatmap` |\r\n| `@kbn/vis-type-metric-plugin` |\r\n`src/platform/plugins/private/vis_types/metric` |\r\n| `@kbn/vis-type-pie-plugin` |\r\n`src/platform/plugins/private/vis_types/pie` |\r\n| `@kbn/vis-type-table-plugin` |\r\n`src/platform/plugins/private/vis_types/table` |\r\n| `@kbn/vis-type-tagcloud-plugin` |\r\n`src/platform/plugins/private/vis_types/tagcloud` |\r\n| `@kbn/vis-type-timelion-plugin` |\r\n`src/platform/plugins/private/vis_types/timelion` |\r\n| `@kbn/vis-type-timeseries-plugin` |\r\n`src/platform/plugins/shared/vis_types/timeseries` |\r\n| `@kbn/vis-type-vega-plugin` |\r\n`src/platform/plugins/private/vis_types/vega` |\r\n| `@kbn/vis-type-vislib-plugin` |\r\n`src/platform/plugins/private/vis_types/vislib` |\r\n| `@kbn/vis-type-xy-plugin` |\r\n`src/platform/plugins/private/vis_types/xy` |\r\n| `@kbn/visualizations-plugin` |\r\n`src/platform/plugins/shared/visualizations` |\r\n\r\n\r\n\r\n\r\n#### 18 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/calculate-width-from-char-count` |\r\n`src/platform/packages/shared/kbn-calculate-width-from-char-count` |\r\n| `@kbn/chart-expressions-common` |\r\n`src/platform/packages/shared/chart-expressions-common` |\r\n| `@kbn/chart-icons` | `src/platform/packages/shared/kbn-chart-icons` |\r\n| `@kbn/coloring` | `src/platform/packages/shared/kbn-coloring` |\r\n| `@kbn/data-service` | `src/platform/packages/shared/kbn-data-service`\r\n|\r\n| `@kbn/dom-drag-drop` |\r\n`src/platform/packages/shared/kbn-dom-drag-drop` |\r\n| `@kbn/event-annotation-common` |\r\n`src/platform/packages/shared/kbn-event-annotation-common` |\r\n| `@kbn/event-annotation-components` |\r\n`src/platform/packages/shared/kbn-event-annotation-components` |\r\n| `@kbn/interpreter` | `src/platform/packages/shared/kbn-interpreter` |\r\n| `@kbn/lens-formula-docs` |\r\n`src/platform/packages/private/kbn-lens-formula-docs` |\r\n| `@kbn/managed-content-badge` |\r\n`src/platform/packages/private/kbn-managed-content-badge` |\r\n| `@kbn/random-sampling` |\r\n`x-pack/platform/packages/private/kbn-random-sampling` |\r\n| `@kbn/sort-predicates` |\r\n`src/platform/packages/shared/kbn-sort-predicates` |\r\n| `@kbn/timelion-grammar` |\r\n`src/platform/packages/private/kbn-timelion-grammar` |\r\n| `@kbn/tinymath` | `src/platform/packages/private/kbn-tinymath` |\r\n| `@kbn/transpose-utils` |\r\n`src/platform/packages/private/kbn-transpose-utils` |\r\n| `@kbn/visualization-ui-components` |\r\n`src/platform/packages/shared/kbn-visualization-ui-components` |\r\n| `@kbn/visualization-utils` |\r\n`src/platform/packages/shared/kbn-visualization-utils` |\r\n\r\n\r\n<details >\r\n<summary>Updated references</summary>\r\n\r\n```\r\n./.eslintignore\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/architecture/core/elasticsearch-service.asciidoc\r\n./docs/developer/architecture/development-visualize-index.asciidoc\r\n./docs/developer/best-practices/index.asciidoc\r\n./docs/developer/plugin-list.asciidoc\r\n./examples/search_examples/public/plugin.ts\r\n./package.json\r\n./packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts\r\n./packages/kbn-docs-utils/src/utils.ts\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-repo-source-classifier/src/repo_source_classifier.ts\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/build/tasks/package_json/find_used_dependencies.ts\r\n./src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js\r\n./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt\r\n./src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js\r\n./src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/kbn-lens-formula-docs/jest.config.js\r\n./src/platform/packages/private/kbn-managed-content-badge/jest.config.js\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./src/platform/packages/private/kbn-tinymath/README.md\r\n./src/platform/packages/private/kbn-tinymath/jest.config.js\r\n./src/platform/packages/private/kbn-transpose-utils/jest.config.js\r\n./src/platform/packages/shared/chart-expressions-common/jest.config.js\r\n./src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js\r\n./src/platform/packages/shared/kbn-chart-icons/jest.config.js\r\n./src/platform/packages/shared/kbn-coloring/jest.config.js\r\n./src/platform/packages/shared/kbn-data-service/jest.config.js\r\n./src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js\r\n./src/platform/packages/shared/kbn-event-annotation-common/jest.config.js\r\n./src/platform/packages/shared/kbn-event-annotation-components/jest.config.js\r\n./src/platform/packages/shared/kbn-interpreter/jest.config.js\r\n./src/platform/packages/shared/kbn-sort-predicates/jest.config.js\r\n./src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js\r\n./src/platform/packages/shared/kbn-visualization-utils/jest.config.js\r\n./src/platform/plugins/private/event_annotation/jest.config.js\r\n./src/platform/plugins/private/event_annotation_listing/jest.config.js\r\n./src/platform/plugins/private/url_forwarding/jest.config.js\r\n./src/platform/plugins/private/vis_default_editor/jest.config.js\r\n./src/platform/plugins/private/vis_types/gauge/jest.config.js\r\n./src/platform/plugins/private/vis_types/heatmap/jest.config.js\r\n./src/platform/plugins/private/vis_types/metric/jest.config.js\r\n./src/platform/plugins/private/vis_types/pie/jest.config.js\r\n./src/platform/plugins/private/vis_types/table/jest.config.js\r\n./src/platform/plugins/private/vis_types/tagcloud/jest.config.js\r\n./src/platform/plugins/private/vis_types/timelion/jest.config.js\r\n./src/platform/plugins/private/vis_types/vega/jest.config.js\r\n./src/platform/plugins/private/vis_types/vislib/jest.config.js\r\n./src/platform/plugins/private/vis_types/xy/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js\r\n./src/platform/plugins/shared/charts/jest.config.js\r\n./src/platform/plugins/shared/custom_integrations/jest.config.js\r\n./src/platform/plugins/shared/data/jest.config.js\r\n./src/platform/plugins/shared/expressions/README.asciidoc\r\n./src/platform/plugins/shared/expressions/jest.config.js\r\n./src/platform/plugins/shared/unified_search/jest.config.js\r\n./src/platform/plugins/shared/vis_types/timeseries/jest.config.js\r\n./src/platform/plugins/shared/visualizations/jest.config.js\r\n./src/plugins/vis_types/timeseries/public/application/components/aggs/math.js\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/kbn-random-sampling/jest.config.js\r\n./x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts\r\n./x-pack/platform/plugins/private/graph/README.md\r\n./x-pack/platform/plugins/private/graph/jest.config.js\r\n./x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/index.ts\r\n./x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js\r\n./x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts\r\n./x-pack/platform/plugins/shared/lens/jest.config.js\r\n./x-pack/platform/plugins/shared/lens/readme.md\r\n./x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts\r\n./x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts\r\n./x-pack/platform/plugins/shared/lens/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js\r\n./x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts\r\n./x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js\r\n./x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts\r\n./x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts\r\n./x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts\r\n./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts\r\n./x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/kbn-lens-formula-docs/jest.config.js:12\r\nsrc/platform/packages/private/kbn-lens-formula-docs/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-managed-content-badge/jest.config.js:12\r\nsrc/platform/packages/private/kbn-managed-content-badge/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-timelion-grammar/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-tinymath/jest.config.js:12\r\nsrc/platform/packages/private/kbn-tinymath/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-transpose-utils/jest.config.js:12\r\nsrc/platform/packages/private/kbn-transpose-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/chart-expressions-common/jest.config.js:12\r\nsrc/platform/packages/shared/chart-expressions-common/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-calculate-width-from-char-count/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-chart-icons/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-chart-icons/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-coloring/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-coloring/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-data-service/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-data-service/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-dom-drag-drop/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-dom-drag-drop/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-event-annotation-common/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-event-annotation-common/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-event-annotation-components/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-event-annotation-components/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-interpreter/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-interpreter/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sort-predicates/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sort-predicates/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-visualization-ui-components/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-visualization-ui-components/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-visualization-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-visualization-utils/tsconfig.json:2\r\nsrc/platform/plugins/private/event_annotation/jest.config.js:12\r\nsrc/platform/plugins/private/event_annotation/tsconfig.json:2\r\nsrc/platform/plugins/private/event_annotation_listing/jest.config.js:12\r\nsrc/platform/plugins/private/event_annotation_listing/tsconfig.json:2\r\nsrc/platform/plugins/private/url_forwarding/jest.config.js:12\r\nsrc/platform/plugins/private/url_forwarding/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_default_editor/README.md:8\r\nsrc/platform/plugins/private/vis_default_editor/jest.config.js:12\r\nsrc/platform/plugins/private/vis_default_editor/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/gauge/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/gauge/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/heatmap/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/heatmap/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/metric/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/metric/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/pie/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/pie/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/table/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/table/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/tagcloud/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/tagcloud/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/timelion/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/timelion/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/vega/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/vega/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/vislib/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/vislib/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/xy/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/xy/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_gauge/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_heatmap/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook/main.js:17\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/.storybook/main.js:17\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_partition_vis/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_tagcloud/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_xy/tsconfig.json:2\r\nsrc/platform/plugins/shared/charts/jest.config.js:12\r\nsrc/platform/plugins/shared/charts/tsconfig.json:2\r\nsrc/platform/plugins/shared/data/jest.config.js:12\r\nsrc/platform/plugins/shared/data/tsconfig.json:13\r\nsrc/platform/plugins/shared/data/tsconfig.json:2\r\nsrc/platform/plugins/shared/expressions/jest.config.js:12\r\nsrc/platform/plugins/shared/expressions/tsconfig.json:2\r\nsrc/platform/plugins/shared/unified_search/jest.config.js:12\r\nsrc/platform/plugins/shared/unified_search/tsconfig.json:2\r\nsrc/platform/plugins/shared/vis_types/timeseries/jest.config.js:12\r\nsrc/platform/plugins/shared/vis_types/timeseries/tsconfig.json:11\r\nsrc/platform/plugins/shared/vis_types/timeseries/tsconfig.json:2\r\nsrc/platform/plugins/shared/visualizations/jest.config.js:12\r\nsrc/platform/plugins/shared/visualizations/tsconfig.json:2\r\nsrc/platform/plugins/shared/visualizations/tsconfig.json:6\r\nx-pack/platform/packages/private/kbn-random-sampling/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-random-sampling/tsconfig.json:2\r\nx-pack/platform/plugins/private/graph/jest.config.js:10\r\nx-pack/platform/plugins/private/graph/tsconfig.json:13\r\nx-pack/platform/plugins/private/graph/tsconfig.json:3\r\nx-pack/platform/plugins/shared/lens/jest.config.js:10\r\nx-pack/platform/plugins/shared/lens/tsconfig.json:2\r\nx-pack/platform/plugins/shared/lens/tsconfig.json:6\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"a382d35dd28ae43053d28bcc74778118a92b9540"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
935d2e1444
|
[8.x] SKA: Categorise remaining packages (#205875) (#205973)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Categorise remaining packages (#205875)](https://github.com/elastic/kibana/pull/205875) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Gerard Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-01-08T21:20:14Z","message":"SKA: Categorise remaining packages (#205875)\n\n## Summary\r\n\r\n* Delete unused package `@kbn/formatters`\r\n* Delete unused package `@kbn/response-ops-feature-flag-service`\r\n* Flag `@kbn/generate-console-definitions` as `devOnly: true`\r\n* Flag `@kbn/plugin-check` as `devOnly: true`\r\n* Flag `@kbn/set-map` as `devOnly: true`\r\n* Flag `@kbn/synthetics-private-location` as `devOnly: true`\r\n* Categorise `@kbn/calculate-auto` as `platform/shared`\r\n* Categorise `@kbn/charts-theme` as `platform/shared`\r\n* Categorise `@kbn/saved-search-component` as `platform/shared`\r\n* Categorise `@kbn/use-tracked-promise` as `platform/shared`\r\n* Categorise `@kbn/charts-theme` as `platform/shared`\r\n* Categorise `@kbn/response-ops-rule-form` as `platform/shared`","sha":"2be928c489601fac46ce1e5136ed9ecc63fd4e22","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","Team:obs-ux-management"],"number":205875,"url":"https://github.com/elastic/kibana/pull/205875","mergeCommit":{"message":"SKA: Categorise remaining packages (#205875)\n\n## Summary\r\n\r\n* Delete unused package `@kbn/formatters`\r\n* Delete unused package `@kbn/response-ops-feature-flag-service`\r\n* Flag `@kbn/generate-console-definitions` as `devOnly: true`\r\n* Flag `@kbn/plugin-check` as `devOnly: true`\r\n* Flag `@kbn/set-map` as `devOnly: true`\r\n* Flag `@kbn/synthetics-private-location` as `devOnly: true`\r\n* Categorise `@kbn/calculate-auto` as `platform/shared`\r\n* Categorise `@kbn/charts-theme` as `platform/shared`\r\n* Categorise `@kbn/saved-search-component` as `platform/shared`\r\n* Categorise `@kbn/use-tracked-promise` as `platform/shared`\r\n* Categorise `@kbn/charts-theme` as `platform/shared`\r\n* Categorise `@kbn/response-ops-rule-form` as `platform/shared`","sha":"2be928c489601fac46ce1e5136ed9ecc63fd4e22"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205875","number":205875,"mergeCommit":{"message":"SKA: Categorise remaining packages (#205875)\n\n## Summary\r\n\r\n* Delete unused package `@kbn/formatters`\r\n* Delete unused package `@kbn/response-ops-feature-flag-service`\r\n* Flag `@kbn/generate-console-definitions` as `devOnly: true`\r\n* Flag `@kbn/plugin-check` as `devOnly: true`\r\n* Flag `@kbn/set-map` as `devOnly: true`\r\n* Flag `@kbn/synthetics-private-location` as `devOnly: true`\r\n* Categorise `@kbn/calculate-auto` as `platform/shared`\r\n* Categorise `@kbn/charts-theme` as `platform/shared`\r\n* Categorise `@kbn/saved-search-component` as `platform/shared`\r\n* Categorise `@kbn/use-tracked-promise` as `platform/shared`\r\n* Categorise `@kbn/charts-theme` as `platform/shared`\r\n* Categorise `@kbn/response-ops-rule-form` as `platform/shared`","sha":"2be928c489601fac46ce1e5136ed9ecc63fd4e22"}}]}] BACKPORT--> |
||
|
1384cedd84
|
[8.x] Upgrade EUI to v98.2.1-borealis.1 (#204783)
>[!IMPORTANT] This PR introduces the Borealis enabled EUI package to `8.x`. The intention is to support new features being developed that need to live in `main` as well as `8.x`. >[!IMPORTANT] All `8.x` versions should continue to use the current Amsterdam theme. To ensure this even with upcoming changes to the default theme for EUI, we're adding `euiThemeAmsterdam` on `EuiProvider` usages manually. ## Description This PR introduces all previous Borealis related PR changes but excludes the specific changes to support `@elastic/eui-theme-borealis` as only Amsterdam is supported as theme in `8.x`. Previous PRs - https://github.com/elastic/kibana/pull/199993 - https://github.com/elastic/kibana/pull/201049 - https://github.com/elastic/kibana/pull/202073 --- `v97.3.1`⏩`v98.2.1-borealis.1` _[Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_ --- # `@elastic/eui` ## [`v98.2.1`](https://github.com/elastic/eui/releases/v98.2.1) - Updated the EUI theme color values to use a full 6 char hex code format ([#8244](https://github.com/elastic/eui/pull/8244)) ## [`v98.2.0`](https://github.com/elastic/eui/releases/v98.2.0) - Added two new icons: `contrast` and `contrastHigh` ([#8216](https://github.com/elastic/eui/pull/8216)) - Updated `EuiDataGrid` content to have a transparent background. ([#8220](https://github.com/elastic/eui/pull/8220)) **Accessibility** - When the tooltips components (`EuiTooltip`, `EuiIconTip`) are used inside components that handle the Escape key (like `EuiFlyout` or `EuiModal`), pressing the Escape key will now only close the tooltip and not the entire wrapping component. ([#8140](https://github.com/elastic/eui/pull/8140)) - Improved the accessibility of `EuiCodeBlock`s by ([#8195](https://github.com/elastic/eui/pull/8195)) - adding screen reader only labels - adding `role="dialog"` on in fullscreen mode - ensuring focus is returned on closing fullscreen mode # Borealis updates - [Visual Refresh] Update color token mappings ([#8211](https://github.com/elastic/eui/pull/8211)) - [Visual Refresh] Introduce shared popover arrow styles to Borealis ([#8212](https://github.com/elastic/eui/pull/8212)) - [Visual Refresh] Add forms.maxWidth token ([#8221](https://github.com/elastic/eui/pull/8221)) - [Visual Refresh] Set darker shade for subdued text ([#8224](https://github.com/elastic/eui/pull/8224)) - [Visual Refresh] Remove support for accentSecondary badges ([#8224](https://github.com/elastic/eui/pull/8227)) - [Visual Refresh] Add severity vis colors ([#8247](https://github.com/elastic/eui/pull/8247)) --- # `@elastic/eui` ## [`v98.1.0`](https://github.com/elastic/eui/releases/v98.1.0) - Updated `EuiBetaBadge` with a new `warning` color variant ([#8177](https://github.com/elastic/eui/pull/8177)) **Accessibility** - Ensures `autoFocus` on `EuiSelectableList` triggers initial focus ([#8091](https://github.com/elastic/eui/pull/8091)) - Improved the accessibility of `EuiSearchBarFilters` by: ([#8091](https://github.com/elastic/eui/pull/8091)) - adding a more descriptive `aria-label` to selection filter buttons - ensuring the selection listbox is initially focused when opening a selection popover - Improved the accessibility experience of tabs (EuiTab, EuiTabs): tab group is a tab stop and tabs can be traversed with arrow keys. ([#8116](https://github.com/elastic/eui/pull/8116)) - Updated `EuiCodeBlock` with a new `copyAriaLabel` prop, which allows setting a custom screen reader label on the copy button. ([#8176](https://github.com/elastic/eui/pull/8176)) **CSS-in-JS conversions** - Removed the following global Sass variables: ([#8169](https://github.com/elastic/eui/pull/8169)) - `$euiButtonMinWidth` - `$euiDatePickerCalendarWidth` - Removed the following Sass animations: ([#8169](https://github.com/elastic/eui/pull/8169)) - `euiAnimFadeIn` - `euiGrow` - `focusRingAnimate` - `focusRingAnimateLarge` - `euiButtonActive` - Removed the following Sass mixins: ([#8169](https://github.com/elastic/eui/pull/8169)) - `euiFullHeight` - `euiSlightShadowHover` - `datePickerArrow` # Borealis updates - [Visual Refresh] Fix euiColorFullShade Sass variable mapping (https://github.com/elastic/eui/pull/8178) --- # `@elastic/eui` ## [`v98.0.0`](https://github.com/elastic/eui/releases/v98.0.0) **Bug fixes** - Fixed an `EuiDataGrid` bug where column actions where not clickable when `EuiDataGrid` with `columnVisibility.canDragAndDropColumns` was used inside a modal ([#8135](https://github.com/elastic/eui/pull/8135)) **Breaking changes** - Removed `EuiFormRow`'s deprecated `columnCompressedSwitch` display prop. Use `columnCompressed` instead ([#8113](https://github.com/elastic/eui/pull/8113)) # Borealis updates **Bug fixes** - Fixed computed border token mapping (https://github.com/elastic/eui/pull/8170) |
||
|
833ef864e5
|
[8.x] More strict plugin type definitions (#205232) (#205778)
# Backport This will backport the following commits from `main` to `8.x`: - [More strict plugin type definitions (#205232)](https://github.com/elastic/kibana/pull/205232) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dario Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2025-01-07T15:41:15Z","message":"More strict plugin type definitions (#205232)\n\nStricter defaults for plugin types: `Plugin` and `CoreSetup` now have\nempty objects as defaults instead of `object` which is assignable to\nanything basically. This catches some type errors, but my motivation for\nthis is to allow something like:\n\n```ts\nfunction createPlugin ():Plugin<MySetupContract, MyStartContract, MySetupDependencies, MyStartDependencies> {\n\treturn {\n\t\t// look ma, no additional typing necessary\n\t\tsetup ( coreSetup, pluginsSetup ) {\n\t\t},\n\t\tstart ( coreStart, pluginsStart ) {\n\t\t}\n\t}\n}\n```","sha":"98ce312ba36cbb7e4fc4a5cf16acc841c2f1b21f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:obs-ux-management","backport:version","v8.18.0"],"title":"More strict plugin type definitions","number":205232,"url":"https://github.com/elastic/kibana/pull/205232","mergeCommit":{"message":"More strict plugin type definitions (#205232)\n\nStricter defaults for plugin types: `Plugin` and `CoreSetup` now have\nempty objects as defaults instead of `object` which is assignable to\nanything basically. This catches some type errors, but my motivation for\nthis is to allow something like:\n\n```ts\nfunction createPlugin ():Plugin<MySetupContract, MyStartContract, MySetupDependencies, MyStartDependencies> {\n\treturn {\n\t\t// look ma, no additional typing necessary\n\t\tsetup ( coreSetup, pluginsSetup ) {\n\t\t},\n\t\tstart ( coreStart, pluginsStart ) {\n\t\t}\n\t}\n}\n```","sha":"98ce312ba36cbb7e4fc4a5cf16acc841c2f1b21f"}},"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/205232","number":205232,"mergeCommit":{"message":"More strict plugin type definitions (#205232)\n\nStricter defaults for plugin types: `Plugin` and `CoreSetup` now have\nempty objects as defaults instead of `object` which is assignable to\nanything basically. This catches some type errors, but my motivation for\nthis is to allow something like:\n\n```ts\nfunction createPlugin ():Plugin<MySetupContract, MyStartContract, MySetupDependencies, MyStartDependencies> {\n\treturn {\n\t\t// look ma, no additional typing necessary\n\t\tsetup ( coreSetup, pluginsSetup ) {\n\t\t},\n\t\tstart ( coreStart, pluginsStart ) {\n\t\t}\n\t}\n}\n```","sha":"98ce312ba36cbb7e4fc4a5cf16acc841c2f1b21f"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co> |
||
|
d58b812ece
|
[8.x] Sustainable Kibana Architecture: Move plugins owned by @elastic/appex-sharedux (#204959) (#205508)
# Backport This will backport the following commits from `main` to `8.x`: - [Sustainable Kibana Architecture: Move plugins owned by `@elastic/appex-sharedux` (#204959)](https://github.com/elastic/kibana/pull/204959) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Anton Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2025-01-03T11:38:57Z","message":"Sustainable Kibana Architecture: Move plugins owned by `@elastic/appex-sharedux` (#204959)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana/pull/203163\r\n\r\nRelocating only shared-ux-owned plugins for now","sha":"9215df9200edac72f2225760043ac45c9e82cdf0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:SharedUX","backport:prev-minor","plugin groups"],"number":204959,"url":"https://github.com/elastic/kibana/pull/204959","mergeCommit":{"message":"Sustainable Kibana Architecture: Move plugins owned by `@elastic/appex-sharedux` (#204959)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana/pull/203163\r\n\r\nRelocating only shared-ux-owned plugins for now","sha":"9215df9200edac72f2225760043ac45c9e82cdf0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204959","number":204959,"mergeCommit":{"message":"Sustainable Kibana Architecture: Move plugins owned by `@elastic/appex-sharedux` (#204959)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana/pull/203163\r\n\r\nRelocating only shared-ux-owned plugins for now","sha":"9215df9200edac72f2225760043ac45c9e82cdf0"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Timothy Sullivan <tsullivan@elastic.co> |
||
|
1ab448126b
|
[8.x] [Dashboard][Collapsable Panels] New collision resolution algorithm (#204134) (#205509)
# Backport This will backport the following commits from `main` to `8.x`: - [[Dashboard][Collapsable Panels] New collision resolution algorithm](https://github.com/elastic/kibana/pull/204134) <!--- Backport version: 8.9.8 --> |
||
|
19de8b4950
|
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-data-discovery (#205267)
**Manual backport of https://github.com/elastic/kibana/pull/203152** ## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > * This PR has been auto-generated. > * Any manual contributions will be lost if the 'relocate' script is re-run. > * Try to obtain the missing reviews / approvals before applying manual fixes, and/or keep your changes in a .patch / git stash. > * Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. Are you trying to rebase this PR to solve merge conflicts? Please follow the steps describe [here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E). #### 12 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/data-view-editor-plugin` | `src/platform/plugins/shared/data_view_editor` | | `@kbn/data-view-field-editor-plugin` | `src/platform/plugins/shared/data_view_field_editor` | | `@kbn/data-view-management-plugin` | `src/platform/plugins/shared/data_view_management` | | `@kbn/data-views-plugin` | `src/platform/plugins/shared/data_views` | | `@kbn/discover-enhanced-plugin` | `x-pack/platform/plugins/private/discover_enhanced` | | `@kbn/discover-plugin` | `src/platform/plugins/shared/discover` | | `@kbn/discover-shared-plugin` | `src/platform/plugins/shared/discover_shared` | | `@kbn/field-formats-plugin` | `src/platform/plugins/shared/field_formats` | | `@kbn/saved-objects-finder-plugin` | `src/platform/plugins/shared/saved_objects_finder` | | `@kbn/saved-search-plugin` | `src/platform/plugins/shared/saved_search` | | `@kbn/unified-doc-viewer-plugin` | `src/platform/plugins/shared/unified_doc_viewer` | | `@kbn/unified-histogram-plugin` | `src/platform/plugins/shared/unified_histogram` | #### 18 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/content-management-utils` | `src/platform/packages/shared/kbn-content-management-utils` | | `@kbn/data-view-utils` | `src/platform/packages/shared/kbn-data-view-utils` | | `@kbn/datemath` | `src/platform/packages/shared/kbn-datemath` | | `@kbn/deeplinks-analytics` | `src/platform/packages/shared/deeplinks/analytics` | | `@kbn/default-nav-analytics` | `src/platform/packages/private/default-nav/analytics` | | `@kbn/discover-utils` | `src/platform/packages/shared/kbn-discover-utils` | | `@kbn/es-query` | `src/platform/packages/shared/kbn-es-query` | | `@kbn/field-types` | `src/platform/packages/shared/kbn-field-types` | | `@kbn/field-utils` | `src/platform/packages/shared/kbn-field-utils` | | `@kbn/react-field` | `src/platform/packages/shared/kbn-react-field` | | `@kbn/resizable-layout` | `src/platform/packages/shared/kbn-resizable-layout` | | `@kbn/search-errors` | `src/platform/packages/shared/kbn-search-errors` | | `@kbn/search-response-warnings` | `src/platform/packages/shared/kbn-search-response-warnings` | | `@kbn/search-types` | `src/platform/packages/shared/kbn-search-types` | | `@kbn/unified-data-table` | `src/platform/packages/shared/kbn-unified-data-table` | | `@kbn/unified-doc-viewer` | `src/platform/packages/shared/kbn-unified-doc-viewer` | | `@kbn/unified-field-list` | `src/platform/packages/shared/kbn-unified-field-list` | | `@kbn/unsaved-changes-badge` | `src/platform/packages/private/kbn-unsaved-changes-badge` | <details > <summary>Updated relative paths</summary> ``` src/platform/packages/private/default-nav/analytics/jest.config.js:12 src/platform/packages/private/default-nav/analytics/tsconfig.json:2 src/platform/packages/private/default-nav/analytics/tsconfig.type_check.json:2 src/platform/packages/private/default-nav/analytics/tsconfig.type_check.json:22 src/platform/packages/private/default-nav/analytics/tsconfig.type_check.json:25 src/platform/packages/private/default-nav/analytics/tsconfig.type_check.json:28 src/platform/packages/private/kbn-unsaved-changes-badge/jest.config.js:12 src/platform/packages/private/kbn-unsaved-changes-badge/tsconfig.json:2 src/platform/packages/private/kbn-unsaved-changes-badge/tsconfig.type_check.json:2 src/platform/packages/private/kbn-unsaved-changes-badge/tsconfig.type_check.json:21 src/platform/packages/shared/deeplinks/analytics/jest.config.js:12 src/platform/packages/shared/deeplinks/analytics/tsconfig.json:2 src/platform/packages/shared/deeplinks/analytics/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-content-management-utils/jest.config.js:12 src/platform/packages/shared/kbn-content-management-utils/tsconfig.json:2 src/platform/packages/shared/kbn-content-management-utils/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-content-management-utils/tsconfig.type_check.json:22 src/platform/packages/shared/kbn-content-management-utils/tsconfig.type_check.json:43 src/platform/packages/shared/kbn-data-view-utils/jest.config.js:12 src/platform/packages/shared/kbn-data-view-utils/tsconfig.json:2 src/platform/packages/shared/kbn-data-view-utils/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-data-view-utils/tsconfig.type_check.json:22 src/platform/packages/shared/kbn-data-view-utils/tsconfig.type_check.json:25 src/platform/packages/shared/kbn-datemath/jest.config.js:22 src/platform/packages/shared/kbn-datemath/tsconfig.json:2 src/platform/packages/shared/kbn-datemath/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-discover-utils/jest.config.js:12 src/platform/packages/shared/kbn-discover-utils/tsconfig.json:2 src/platform/packages/shared/kbn-discover-utils/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-discover-utils/tsconfig.type_check.json:26 src/platform/packages/shared/kbn-discover-utils/tsconfig.type_check.json:35 src/platform/packages/shared/kbn-discover-utils/tsconfig.type_check.json:44 src/platform/packages/shared/kbn-discover-utils/tsconfig.type_check.json:47 src/platform/packages/shared/kbn-discover-utils/tsconfig.type_check.json:53 src/platform/packages/shared/kbn-es-query/jest.config.js:12 src/platform/packages/shared/kbn-es-query/tsconfig.json:2 src/platform/packages/shared/kbn-es-query/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-field-types/jest.config.js:12 src/platform/packages/shared/kbn-field-types/tsconfig.json:2 src/platform/packages/shared/kbn-field-types/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-field-utils/jest.config.js:12 src/platform/packages/shared/kbn-field-utils/tsconfig.json:2 src/platform/packages/shared/kbn-field-utils/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-field-utils/tsconfig.type_check.json:21 src/platform/packages/shared/kbn-field-utils/tsconfig.type_check.json:30 src/platform/packages/shared/kbn-field-utils/tsconfig.type_check.json:36 src/platform/packages/shared/kbn-react-field/jest.config.js:12 src/platform/packages/shared/kbn-react-field/tsconfig.json:2 src/platform/packages/shared/kbn-react-field/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-resizable-layout/jest.config.js:12 src/platform/packages/shared/kbn-resizable-layout/tsconfig.json:2 src/platform/packages/shared/kbn-resizable-layout/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-search-errors/jest.config.js:12 src/platform/packages/shared/kbn-search-errors/tsconfig.json:2 src/platform/packages/shared/kbn-search-errors/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-search-errors/tsconfig.type_check.json:25 src/platform/packages/shared/kbn-search-errors/tsconfig.type_check.json:28 src/platform/packages/shared/kbn-search-errors/tsconfig.type_check.json:31 src/platform/packages/shared/kbn-search-response-warnings/jest.config.js:12 src/platform/packages/shared/kbn-search-response-warnings/tsconfig.json:2 src/platform/packages/shared/kbn-search-response-warnings/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-search-response-warnings/tsconfig.type_check.json:21 src/platform/packages/shared/kbn-search-response-warnings/tsconfig.type_check.json:24 src/platform/packages/shared/kbn-search-types/jest.config.js:12 src/platform/packages/shared/kbn-search-types/tsconfig.json:2 src/platform/packages/shared/kbn-search-types/tsconfig.type_check.json:18 src/platform/packages/shared/kbn-search-types/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-search-types/tsconfig.type_check.json:21 src/platform/packages/shared/kbn-unified-data-table/jest.config.js:12 src/platform/packages/shared/kbn-unified-data-table/tsconfig.json:2 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:22 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:31 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:34 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:49 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:52 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:58 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:61 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:67 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:70 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:73 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:76 src/platform/packages/shared/kbn-unified-data-table/tsconfig.type_check.json:79 src/platform/packages/shared/kbn-unified-doc-viewer/jest.config.js:12 src/platform/packages/shared/kbn-unified-doc-viewer/tsconfig.json:2 src/platform/packages/shared/kbn-unified-doc-viewer/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-unified-doc-viewer/tsconfig.type_check.json:25 src/platform/packages/shared/kbn-unified-doc-viewer/tsconfig.type_check.json:31 src/platform/packages/shared/kbn-unified-field-list/jest.config.js:12 src/platform/packages/shared/kbn-unified-field-list/tsconfig.json:2 src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json:102 src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json:108 src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json:21 src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json:24 src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json:39 src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json:42 src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json:48 src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json:51 src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json:54 src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json:75 src/platform/plugins/shared/data_view_editor/jest.config.js:12 src/platform/plugins/shared/data_view_editor/tsconfig.json:2 src/platform/plugins/shared/data_view_editor/tsconfig.type_check.json:16 src/platform/plugins/shared/data_view_editor/tsconfig.type_check.json:2 src/platform/plugins/shared/data_view_editor/tsconfig.type_check.json:28 src/platform/plugins/shared/data_view_editor/tsconfig.type_check.json:31 src/platform/plugins/shared/data_view_editor/tsconfig.type_check.json:37 src/platform/plugins/shared/data_view_editor/tsconfig.type_check.json:40 src/platform/plugins/shared/data_view_editor/tsconfig.type_check.json:43 src/platform/plugins/shared/data_view_editor/tsconfig.type_check.json:49 src/platform/plugins/shared/data_view_editor/tsconfig.type_check.json:52 src/platform/plugins/shared/data_view_editor/tsconfig.type_check.json:55 src/platform/plugins/shared/data_view_field_editor/jest.config.js:12 src/platform/plugins/shared/data_view_field_editor/tsconfig.json:2 src/platform/plugins/shared/data_view_field_editor/tsconfig.json:7 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:2 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:20 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:32 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:38 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:41 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:47 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:50 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:53 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:56 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:59 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:62 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:65 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:68 src/platform/plugins/shared/data_view_field_editor/tsconfig.type_check.json:9 src/platform/plugins/shared/data_view_management/jest.config.js:12 src/platform/plugins/shared/data_view_management/tsconfig.json:2 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:104 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:107 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:110 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:113 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:116 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:119 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:122 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:125 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:131 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:17 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:2 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:23 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:47 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:50 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:59 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:62 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:65 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:68 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:71 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:74 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:77 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:80 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:83 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:86 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:89 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:92 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:95 src/platform/plugins/shared/data_view_management/tsconfig.type_check.json:98 src/platform/plugins/shared/data_views/jest.config.js:12 src/platform/plugins/shared/data_views/tsconfig.json:2 src/platform/plugins/shared/data_views/tsconfig.type_check.json:2 src/platform/plugins/shared/data_views/tsconfig.type_check.json:22 src/platform/plugins/shared/data_views/tsconfig.type_check.json:37 src/platform/plugins/shared/data_views/tsconfig.type_check.json:40 src/platform/plugins/shared/data_views/tsconfig.type_check.json:43 src/platform/plugins/shared/data_views/tsconfig.type_check.json:46 src/platform/plugins/shared/data_views/tsconfig.type_check.json:49 src/platform/plugins/shared/data_views/tsconfig.type_check.json:52 src/platform/plugins/shared/data_views/tsconfig.type_check.json:55 src/platform/plugins/shared/data_views/tsconfig.type_check.json:58 src/platform/plugins/shared/data_views/tsconfig.type_check.json:61 src/platform/plugins/shared/data_views/tsconfig.type_check.json:64 src/platform/plugins/shared/data_views/tsconfig.type_check.json:70 src/platform/plugins/shared/data_views/tsconfig.type_check.json:73 src/platform/plugins/shared/data_views/tsconfig.type_check.json:76 src/platform/plugins/shared/data_views/tsconfig.type_check.json:79 src/platform/plugins/shared/data_views/tsconfig.type_check.json:82 src/platform/plugins/shared/data_views/tsconfig.type_check.json:85 src/platform/plugins/shared/data_views/tsconfig.type_check.json:88 src/platform/plugins/shared/data_views/tsconfig.type_check.json:91 src/platform/plugins/shared/data_views/tsconfig.type_check.json:94 src/platform/plugins/shared/data_views/tsconfig.type_check.json:97 src/platform/plugins/shared/discover/jest.config.js:12 src/platform/plugins/shared/discover/public/application/context/context_app.scss:1 src/platform/plugins/shared/discover/public/application/main/components/layout/discover_layout.scss:1 src/platform/plugins/shared/discover/public/context_awareness/README.md:118 src/platform/plugins/shared/discover/public/context_awareness/README.md:119 src/platform/plugins/shared/discover/tsconfig.json:10 src/platform/plugins/shared/discover/tsconfig.json:2 src/platform/plugins/shared/discover/tsconfig.type_check.json:104 src/platform/plugins/shared/discover/tsconfig.type_check.json:107 src/platform/plugins/shared/discover/tsconfig.type_check.json:110 src/platform/plugins/shared/discover/tsconfig.type_check.json:113 src/platform/plugins/shared/discover/tsconfig.type_check.json:116 src/platform/plugins/shared/discover/tsconfig.type_check.json:119 src/platform/plugins/shared/discover/tsconfig.type_check.json:12 src/platform/plugins/shared/discover/tsconfig.type_check.json:122 src/platform/plugins/shared/discover/tsconfig.type_check.json:125 src/platform/plugins/shared/discover/tsconfig.type_check.json:128 src/platform/plugins/shared/discover/tsconfig.type_check.json:131 src/platform/plugins/shared/discover/tsconfig.type_check.json:134 src/platform/plugins/shared/discover/tsconfig.type_check.json:137 src/platform/plugins/shared/discover/tsconfig.type_check.json:140 src/platform/plugins/shared/discover/tsconfig.type_check.json:143 src/platform/plugins/shared/discover/tsconfig.type_check.json:146 src/platform/plugins/shared/discover/tsconfig.type_check.json:149 src/platform/plugins/shared/discover/tsconfig.type_check.json:152 src/platform/plugins/shared/discover/tsconfig.type_check.json:155 src/platform/plugins/shared/discover/tsconfig.type_check.json:158 src/platform/plugins/shared/discover/tsconfig.type_check.json:161 src/platform/plugins/shared/discover/tsconfig.type_check.json:164 src/platform/plugins/shared/discover/tsconfig.type_check.json:167 src/platform/plugins/shared/discover/tsconfig.type_check.json:170 src/platform/plugins/shared/discover/tsconfig.type_check.json:173 src/platform/plugins/shared/discover/tsconfig.type_check.json:179 src/platform/plugins/shared/discover/tsconfig.type_check.json:185 src/platform/plugins/shared/discover/tsconfig.type_check.json:188 src/platform/plugins/shared/discover/tsconfig.type_check.json:191 src/platform/plugins/shared/discover/tsconfig.type_check.json:197 src/platform/plugins/shared/discover/tsconfig.type_check.json:2 src/platform/plugins/shared/discover/tsconfig.type_check.json:20 src/platform/plugins/shared/discover/tsconfig.type_check.json:200 src/platform/plugins/shared/discover/tsconfig.type_check.json:203 src/platform/plugins/shared/discover/tsconfig.type_check.json:206 src/platform/plugins/shared/discover/tsconfig.type_check.json:209 src/platform/plugins/shared/discover/tsconfig.type_check.json:212 src/platform/plugins/shared/discover/tsconfig.type_check.json:215 src/platform/plugins/shared/discover/tsconfig.type_check.json:218 src/platform/plugins/shared/discover/tsconfig.type_check.json:221 src/platform/plugins/shared/discover/tsconfig.type_check.json:224 src/platform/plugins/shared/discover/tsconfig.type_check.json:227 src/platform/plugins/shared/discover/tsconfig.type_check.json:230 src/platform/plugins/shared/discover/tsconfig.type_check.json:233 src/platform/plugins/shared/discover/tsconfig.type_check.json:236 src/platform/plugins/shared/discover/tsconfig.type_check.json:239 src/platform/plugins/shared/discover/tsconfig.type_check.json:242 src/platform/plugins/shared/discover/tsconfig.type_check.json:245 src/platform/plugins/shared/discover/tsconfig.type_check.json:248 src/platform/plugins/shared/discover/tsconfig.type_check.json:251 src/platform/plugins/shared/discover/tsconfig.type_check.json:254 src/platform/plugins/shared/discover/tsconfig.type_check.json:257 src/platform/plugins/shared/discover/tsconfig.type_check.json:260 src/platform/plugins/shared/discover/tsconfig.type_check.json:263 src/platform/plugins/shared/discover/tsconfig.type_check.json:266 src/platform/plugins/shared/discover/tsconfig.type_check.json:269 src/platform/plugins/shared/discover/tsconfig.type_check.json:272 src/platform/plugins/shared/discover/tsconfig.type_check.json:275 src/platform/plugins/shared/discover/tsconfig.type_check.json:278 src/platform/plugins/shared/discover/tsconfig.type_check.json:281 src/platform/plugins/shared/discover/tsconfig.type_check.json:35 src/platform/plugins/shared/discover/tsconfig.type_check.json:38 src/platform/plugins/shared/discover/tsconfig.type_check.json:83 src/platform/plugins/shared/discover/tsconfig.type_check.json:89 src/platform/plugins/shared/discover/tsconfig.type_check.json:98 src/platform/plugins/shared/discover_shared/jest.config.js:12 src/platform/plugins/shared/discover_shared/tsconfig.json:10 src/platform/plugins/shared/discover_shared/tsconfig.json:2 src/platform/plugins/shared/discover_shared/tsconfig.type_check.json:12 src/platform/plugins/shared/discover_shared/tsconfig.type_check.json:19 src/platform/plugins/shared/discover_shared/tsconfig.type_check.json:2 src/platform/plugins/shared/discover_shared/tsconfig.type_check.json:22 src/platform/plugins/shared/discover_shared/tsconfig.type_check.json:25 src/platform/plugins/shared/field_formats/jest.config.js:12 src/platform/plugins/shared/field_formats/tsconfig.json:2 src/platform/plugins/shared/field_formats/tsconfig.type_check.json:2 src/platform/plugins/shared/field_formats/tsconfig.type_check.json:21 src/platform/plugins/shared/field_formats/tsconfig.type_check.json:24 src/platform/plugins/shared/field_formats/tsconfig.type_check.json:27 src/platform/plugins/shared/field_formats/tsconfig.type_check.json:30 src/platform/plugins/shared/field_formats/tsconfig.type_check.json:33 src/platform/plugins/shared/saved_objects_finder/jest.config.js:12 src/platform/plugins/shared/saved_objects_finder/tsconfig.json:2 src/platform/plugins/shared/saved_objects_finder/tsconfig.type_check.json:18 src/platform/plugins/shared/saved_objects_finder/tsconfig.type_check.json:2 src/platform/plugins/shared/saved_objects_finder/tsconfig.type_check.json:24 src/platform/plugins/shared/saved_objects_finder/tsconfig.type_check.json:30 src/platform/plugins/shared/saved_objects_finder/tsconfig.type_check.json:33 src/platform/plugins/shared/saved_objects_finder/tsconfig.type_check.json:36 src/platform/plugins/shared/saved_objects_finder/tsconfig.type_check.json:42 src/platform/plugins/shared/saved_objects_finder/tsconfig.type_check.json:45 src/platform/plugins/shared/saved_objects_finder/tsconfig.type_check.json:48 src/platform/plugins/shared/saved_search/jest.config.js:12 src/platform/plugins/shared/saved_search/tsconfig.json:2 src/platform/plugins/shared/saved_search/tsconfig.json:6 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:12 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:19 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:2 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:28 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:34 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:37 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:40 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:43 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:46 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:49 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:55 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:58 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:64 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:70 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:73 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:76 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:79 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:82 src/platform/plugins/shared/saved_search/tsconfig.type_check.json:85 src/platform/plugins/shared/unified_doc_viewer/jest.config.js:12 src/platform/plugins/shared/unified_doc_viewer/tsconfig.json:2 src/platform/plugins/shared/unified_doc_viewer/tsconfig.json:6 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:103 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:106 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:109 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:112 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:2 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:22 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:28 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:31 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:34 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:37 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:40 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:49 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:55 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:58 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:61 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:64 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:67 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:70 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:73 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:76 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:79 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:82 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:85 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:9 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:91 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:94 src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json:97 src/platform/plugins/shared/unified_histogram/jest.config.js:12 src/platform/plugins/shared/unified_histogram/tsconfig.json:2 src/platform/plugins/shared/unified_histogram/tsconfig.json:6 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:100 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:103 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:106 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:19 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:2 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:28 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:34 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:40 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:43 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:46 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:49 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:52 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:55 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:58 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:61 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:73 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:76 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:79 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:82 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:85 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:88 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:9 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:91 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:94 src/platform/plugins/shared/unified_histogram/tsconfig.type_check.json:97 x-pack/platform/plugins/private/discover_enhanced/jest.config.js:10 x-pack/platform/plugins/private/discover_enhanced/tsconfig.json:2 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:2 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:20 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:23 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:26 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:29 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:32 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:38 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:41 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:44 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:47 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:50 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:53 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:56 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:59 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:62 x-pack/platform/plugins/private/discover_enhanced/tsconfig.type_check.json:65 ``` </details> |
||
|
db1c118fa1
|
[8.x] [Discover] Rename Saved Search to Discover Session (#202217) (#204818)
# Backport This will backport the following commits from `main` to `8.x`: - [[Discover] Rename Saved Search to Discover Session (#202217)](https://github.com/elastic/kibana/pull/202217) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Julia Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2024-12-18T12:45:32Z","message":"[Discover] Rename Saved Search to Discover Session (#202217)\n\n- Closes https://github.com/elastic/kibana/issues/174144\r\n\r\n## Summary\r\n\r\nThis PR renames Saved Search into Discover Session in UI.\r\n\r\n- [x] Discover\r\n- [x] Saved Objects page and modal\r\n- [x] Docs\r\n- [x] Other occurrences \r\n\r\n<img width=\"810\" alt=\"Screenshot 2024-12-16 at 15 20 10\"\r\nsrc=\"https://github.com/user-attachments/assets/e39083da-f496-4ed5-bbdc-8e184897fc41\"\r\n/>\r\n<img width=\"1220\" alt=\"Screenshot 2024-12-11 at 14 40 15\"\r\nsrc=\"https://github.com/user-attachments/assets/a6dc3e29-e1a5-4304-8148-0108231cc9de\"\r\n/>\r\n<img width=\"1476\" alt=\"Screenshot 2024-12-16 at 14 57 39\"\r\nsrc=\"https://github.com/user-attachments/assets/4b34c70e-e21a-4d82-85f2-f5a3cb7a3826\"\r\n/>\r\n\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: wajihaparvez <wajiha.parvez@elastic.co>\r\nCo-authored-by: Davis McPhee <davismcphee@hotmail.com>\r\nCo-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>","sha":"40c90550f12f99f23e6b7d545c7427e30d648dab","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Fleet","v9.0.0","Team:DataDiscovery","backport:prev-minor","ci:project-deploy-observability"],"number":202217,"url":"https://github.com/elastic/kibana/pull/202217","mergeCommit":{"message":"[Discover] Rename Saved Search to Discover Session (#202217)\n\n- Closes https://github.com/elastic/kibana/issues/174144\r\n\r\n## Summary\r\n\r\nThis PR renames Saved Search into Discover Session in UI.\r\n\r\n- [x] Discover\r\n- [x] Saved Objects page and modal\r\n- [x] Docs\r\n- [x] Other occurrences \r\n\r\n<img width=\"810\" alt=\"Screenshot 2024-12-16 at 15 20 10\"\r\nsrc=\"https://github.com/user-attachments/assets/e39083da-f496-4ed5-bbdc-8e184897fc41\"\r\n/>\r\n<img width=\"1220\" alt=\"Screenshot 2024-12-11 at 14 40 15\"\r\nsrc=\"https://github.com/user-attachments/assets/a6dc3e29-e1a5-4304-8148-0108231cc9de\"\r\n/>\r\n<img width=\"1476\" alt=\"Screenshot 2024-12-16 at 14 57 39\"\r\nsrc=\"https://github.com/user-attachments/assets/4b34c70e-e21a-4d82-85f2-f5a3cb7a3826\"\r\n/>\r\n\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: wajihaparvez <wajiha.parvez@elastic.co>\r\nCo-authored-by: Davis McPhee <davismcphee@hotmail.com>\r\nCo-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>","sha":"40c90550f12f99f23e6b7d545c7427e30d648dab"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202217","number":202217,"mergeCommit":{"message":"[Discover] Rename Saved Search to Discover Session (#202217)\n\n- Closes https://github.com/elastic/kibana/issues/174144\r\n\r\n## Summary\r\n\r\nThis PR renames Saved Search into Discover Session in UI.\r\n\r\n- [x] Discover\r\n- [x] Saved Objects page and modal\r\n- [x] Docs\r\n- [x] Other occurrences \r\n\r\n<img width=\"810\" alt=\"Screenshot 2024-12-16 at 15 20 10\"\r\nsrc=\"https://github.com/user-attachments/assets/e39083da-f496-4ed5-bbdc-8e184897fc41\"\r\n/>\r\n<img width=\"1220\" alt=\"Screenshot 2024-12-11 at 14 40 15\"\r\nsrc=\"https://github.com/user-attachments/assets/a6dc3e29-e1a5-4304-8148-0108231cc9de\"\r\n/>\r\n<img width=\"1476\" alt=\"Screenshot 2024-12-16 at 14 57 39\"\r\nsrc=\"https://github.com/user-attachments/assets/4b34c70e-e21a-4d82-85f2-f5a3cb7a3826\"\r\n/>\r\n\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: wajihaparvez <wajiha.parvez@elastic.co>\r\nCo-authored-by: Davis McPhee <davismcphee@hotmail.com>\r\nCo-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>","sha":"40c90550f12f99f23e6b7d545c7427e30d648dab"}}]}] BACKPORT--> |
||
|
0862bdef38
|
[8.x] [Embeddables Rebuild] Make Serialize Function Synchronous (#203662) (#204470)
# Backport This will backport the following commits from `main` to `8.x`: - [[Embeddables Rebuild] Make Serialize Function Synchronous (#203662)](https://github.com/elastic/kibana/pull/203662) <!--- Backport version: 9.4.3 --> ### 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":"2024-12-13T02:25:03Z","message":"[Embeddables Rebuild] Make Serialize Function Synchronous (#203662)\n\nchanges the signature of the `serializeState` function so that\r\nit no longer returns MaybePromise","sha":"abfd590d4d6420da63d129757120e08278ac3211","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Embedding","Team:Presentation","loe:medium","release_note:skip","impact:high","v9.0.0","backport:prev-minor","Feature:Embeddables","project:embeddableRebuild"],"title":"[Embeddables Rebuild] Make Serialize Function Synchronous","number":203662,"url":"https://github.com/elastic/kibana/pull/203662","mergeCommit":{"message":"[Embeddables Rebuild] Make Serialize Function Synchronous (#203662)\n\nchanges the signature of the `serializeState` function so that\r\nit no longer returns MaybePromise","sha":"abfd590d4d6420da63d129757120e08278ac3211"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203662","number":203662,"mergeCommit":{"message":"[Embeddables Rebuild] Make Serialize Function Synchronous (#203662)\n\nchanges the signature of the `serializeState` function so that\r\nit no longer returns MaybePromise","sha":"abfd590d4d6420da63d129757120e08278ac3211"}}]}] BACKPORT--> Co-authored-by: Devon Thomson <devon.thomson@elastic.co> |
||
|
cfe4d8375a
|
[8.x] [ES|QL] Improve the `Builder` class (#203558) (#204240)
# Backport This will backport the following commits from `main` to `8.x`: - [[ES|QL] Improve the `Builder` class (#203558)](https://github.com/elastic/kibana/pull/203558) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Vadim Kibana","email":"82822460+vadimkibana@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-13T15:19:10Z","message":"[ES|QL] Improve the `Builder` class (#203558)\n\n## Summary\r\n\r\nPartially addresses https://github.com/elastic/kibana/issues/202113\r\n\r\n- Makes sure it is possible to construct any AST using the `Builder`\r\nclass\r\n- Fixes few bugs in pretty-printer\r\n- No space is added before unary `-` or `+` expression, for example,\r\n`-123`.\r\n - Source cluster is now printed `cluster:my_index` \r\n\r\n\r\n### Checklist\r\n\r\n- [x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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":"8904cb068cf6140f6cc4a8db5cde2524a4fa2240","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["review","release_note:skip","v9.0.0","backport:prev-minor","Feature:ES|QL","Team:ESQL","v8.18.0"],"title":"[ES|QL] Improve the `Builder` class","number":203558,"url":"https://github.com/elastic/kibana/pull/203558","mergeCommit":{"message":"[ES|QL] Improve the `Builder` class (#203558)\n\n## Summary\r\n\r\nPartially addresses https://github.com/elastic/kibana/issues/202113\r\n\r\n- Makes sure it is possible to construct any AST using the `Builder`\r\nclass\r\n- Fixes few bugs in pretty-printer\r\n- No space is added before unary `-` or `+` expression, for example,\r\n`-123`.\r\n - Source cluster is now printed `cluster:my_index` \r\n\r\n\r\n### Checklist\r\n\r\n- [x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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":"8904cb068cf6140f6cc4a8db5cde2524a4fa2240"}},"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/203558","number":203558,"mergeCommit":{"message":"[ES|QL] Improve the `Builder` class (#203558)\n\n## Summary\r\n\r\nPartially addresses https://github.com/elastic/kibana/issues/202113\r\n\r\n- Makes sure it is possible to construct any AST using the `Builder`\r\nclass\r\n- Fixes few bugs in pretty-printer\r\n- No space is added before unary `-` or `+` expression, for example,\r\n`-123`.\r\n - Source cluster is now printed `cluster:my_index` \r\n\r\n\r\n### Checklist\r\n\r\n- [x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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":"8904cb068cf6140f6cc4a8db5cde2524a4fa2240"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com> |
||
|
6e12acb428
|
[8.x] Preparation for High Contrast Mode, Analytics Experience domains (#202608) (#204120)
# Backport This will backport the following commits from `main` to `8.x`: - [Preparation for High Contrast Mode, Analytics Experience domains (#202608)](https://github.com/elastic/kibana/pull/202608) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Tim Sullivan","email":"tsullivan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-12T19:16:07Z","message":"Preparation for High Contrast Mode, Analytics Experience domains (#202608)\n\n## Summary\r\n\r\n**Reviewers: Please test the code paths affected by this PR. See the\r\n\"Risks\" section below.**\r\n\r\nPart of work for enabling \"high contrast mode\" in Kibana. See\r\nhttps://github.com/elastic/kibana/issues/176219.\r\n\r\n**Background:**\r\nKibana will soon have a user profile setting to allow users to enable\r\n\"high contrast mode.\" This setting will activate a flag with\r\n`<EuiProvider>` that causes EUI components to render with higher\r\ncontrast visual elements. Consumer plugins and packages need to be\r\nupdated selected places where `<EuiProvider>` is wrapped, to pass the\r\n`UserProfileService` service dependency from the CoreStart contract.\r\n\r\n**NOTE:** **EUI currently does not yet support the high-contrast mode\r\nflag**, but support for that is expected to come in around 2 weeks.\r\nThese first PRs are simply preparing the code by wiring up the\r\n`UserProvideService`.\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\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\r\n- [X] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Risks\r\n\r\nDoes this PR introduce any risks? For example, consider risks like hard\r\nto test bugs, performance regression, potential of data loss.\r\n\r\nDescribe the risk, its severity, and mitigation for each identified\r\nrisk. Invite stakeholders and evaluate how to proceed before merging.\r\n\r\n- [ ] [medium/high] The implementor of this change did not manually test\r\nthe affected code paths and relied on type-checking and functional tests\r\nto drive the changes. Code owners for this PR need to manually test the\r\naffected code paths.\r\n- [ ] [medium] The `UserProfileService` dependency comes from the\r\nCoreStart contract. If acquiring the service causes synchronous code to\r\nbecome asynchronous, check for race conditions or errors in rendering\r\nReact components. Code owners for this PR need to manually test the\r\naffected code paths.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"99aa884fa08beafd801588c0b38194ec03039008","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","Team:Visualizations","release_note:skip","v9.0.0","Team:DataDiscovery","backport:prev-minor","v8.18.0"],"title":"Preparation for High Contrast Mode, Analytics Experience domains","number":202608,"url":"https://github.com/elastic/kibana/pull/202608","mergeCommit":{"message":"Preparation for High Contrast Mode, Analytics Experience domains (#202608)\n\n## Summary\r\n\r\n**Reviewers: Please test the code paths affected by this PR. See the\r\n\"Risks\" section below.**\r\n\r\nPart of work for enabling \"high contrast mode\" in Kibana. See\r\nhttps://github.com/elastic/kibana/issues/176219.\r\n\r\n**Background:**\r\nKibana will soon have a user profile setting to allow users to enable\r\n\"high contrast mode.\" This setting will activate a flag with\r\n`<EuiProvider>` that causes EUI components to render with higher\r\ncontrast visual elements. Consumer plugins and packages need to be\r\nupdated selected places where `<EuiProvider>` is wrapped, to pass the\r\n`UserProfileService` service dependency from the CoreStart contract.\r\n\r\n**NOTE:** **EUI currently does not yet support the high-contrast mode\r\nflag**, but support for that is expected to come in around 2 weeks.\r\nThese first PRs are simply preparing the code by wiring up the\r\n`UserProvideService`.\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\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\r\n- [X] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Risks\r\n\r\nDoes this PR introduce any risks? For example, consider risks like hard\r\nto test bugs, performance regression, potential of data loss.\r\n\r\nDescribe the risk, its severity, and mitigation for each identified\r\nrisk. Invite stakeholders and evaluate how to proceed before merging.\r\n\r\n- [ ] [medium/high] The implementor of this change did not manually test\r\nthe affected code paths and relied on type-checking and functional tests\r\nto drive the changes. Code owners for this PR need to manually test the\r\naffected code paths.\r\n- [ ] [medium] The `UserProfileService` dependency comes from the\r\nCoreStart contract. If acquiring the service causes synchronous code to\r\nbecome asynchronous, check for race conditions or errors in rendering\r\nReact components. Code owners for this PR need to manually test the\r\naffected code paths.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"99aa884fa08beafd801588c0b38194ec03039008"}},"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/202608","number":202608,"mergeCommit":{"message":"Preparation for High Contrast Mode, Analytics Experience domains (#202608)\n\n## Summary\r\n\r\n**Reviewers: Please test the code paths affected by this PR. See the\r\n\"Risks\" section below.**\r\n\r\nPart of work for enabling \"high contrast mode\" in Kibana. See\r\nhttps://github.com/elastic/kibana/issues/176219.\r\n\r\n**Background:**\r\nKibana will soon have a user profile setting to allow users to enable\r\n\"high contrast mode.\" This setting will activate a flag with\r\n`<EuiProvider>` that causes EUI components to render with higher\r\ncontrast visual elements. Consumer plugins and packages need to be\r\nupdated selected places where `<EuiProvider>` is wrapped, to pass the\r\n`UserProfileService` service dependency from the CoreStart contract.\r\n\r\n**NOTE:** **EUI currently does not yet support the high-contrast mode\r\nflag**, but support for that is expected to come in around 2 weeks.\r\nThese first PRs are simply preparing the code by wiring up the\r\n`UserProvideService`.\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\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\r\n- [X] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Risks\r\n\r\nDoes this PR introduce any risks? For example, consider risks like hard\r\nto test bugs, performance regression, potential of data loss.\r\n\r\nDescribe the risk, its severity, and mitigation for each identified\r\nrisk. Invite stakeholders and evaluate how to proceed before merging.\r\n\r\n- [ ] [medium/high] The implementor of this change did not manually test\r\nthe affected code paths and relied on type-checking and functional tests\r\nto drive the changes. Code owners for this PR need to manually test the\r\naffected code paths.\r\n- [ ] [medium] The `UserProfileService` dependency comes from the\r\nCoreStart contract. If acquiring the service causes synchronous code to\r\nbecome asynchronous, check for race conditions or errors in rendering\r\nReact components. Code owners for this PR need to manually test the\r\naffected code paths.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"99aa884fa08beafd801588c0b38194ec03039008"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com> |
||
|
d223cd7df5
|
[8.x] [Dashboard] [Collapsable Panels] Add embeddable support (#198413) (#203652)
# Backport This will backport the following commits from `main` to `8.x`: - [[Dashboard] [Collapsable Panels] Add embeddable support (#198413)](https://github.com/elastic/kibana/pull/198413) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Hannah Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-10T17:14:31Z","message":"[Dashboard] [Collapsable Panels] Add embeddable support (#198413)\n\nCloses https://github.com/elastic/kibana/issues/190379\r\n\r\n## Summary\r\n\r\nThis PR switches the example grid layout app to render embeddables as\r\npanels rather than the simplified mock panel we were using previously.\r\nIn doing so, I had to add the ability for custom panels to add a custom\r\ndrag handle via the `renderPanelContents` callback - this required\r\nadding a `setDragHandles` callback to the `ReactEmbeddableRenderer` that\r\ncould be passed down to the `PresentationPanel` component.\r\n\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/9e2c68f9-34af-4360-a978-9113701a5ea2\r\n\r\n\r\n\r\n#### New scroll behaviour\r\n\r\nIn https://github.com/elastic/kibana/pull/201867, I introduced a small\r\n\"ease\" to the auto-scroll effect that happens when you drag a panel to\r\nthe top or bottom of the window. However, in that PR, I was using the\r\n`smooth` scrolling behaviour, which unfortunately became **very**\r\njittery once I switched to embeddables rather than simple panels\r\n(specifically in Chrome - it worked fine in Firefox).\r\n\r\nThe only way to prevent this jittery scroll was to switch to the default\r\nscroll behaviour, but this lead to a very **abrupt** stop when the\r\nscrollbar reached the top and/or bottom of the page - so, to give the\r\nsame \"gentle\" stop that the `smooth` scroll had, I decided to recreate\r\nthis effect by adding a slow down \"ease\" when close to the top or bottom\r\nof the page:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/cb7bf03f-4a9e-4446-be4f-8f54c0bc88ac\r\n\r\nThis effect is accomplished via the parabola formula `y = a(x-h)2 + k`\r\nand can be roughly visualized with the following, which shows that the\r\n\"speed up\" ease happens at a much slower pace than the \"slow down\" ease:\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n#### Notes about parent changes\r\nAs I investigated improving the efficiency of the grid layout with\r\nembeddables, one of the main things I noticed was that the grid panel\r\nwas **always** remounted when moving a panel from one collapsible\r\nsection to another. This lead me (and @ThomThomson) down a rabbit hole\r\nof React-reparenting, and we explored a few different options to see if\r\nwe could change the parent of a component **without** having it remount.\r\n\r\nIn summary, after various experiments and a whole bunch of research, we\r\ndetermined that, due to the reconciliation of the React tree, this is\r\nunfortunately impossible. So our priorities will instead have to move to\r\nmaking the remount of `ReactEmbeddableRenderer` **as efficient as\r\npossible** via caching, since the remount is inevitable.\r\n\r\n### Checklist\r\n\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nThere are no risks to this PR, since the most significant work is\r\ncontained in the `examples` plugin. Some changes were made to the\r\npresentation panel to allow for custom drag handles, but this isn't\r\nactually used in Dashboard - so for now, this code is only called in the\r\nexample plugin, as well.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"2a76fe3ee432d0b6746eae660cfe31fc71d15547","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Dashboard","Feature:Embedding","Team:Presentation","loe:medium","release_note:skip","impact:high","v9.0.0","backport:prev-minor","Project:Collapsable Panels"],"title":"[Dashboard] [Collapsable Panels] Add embeddable support","number":198413,"url":"https://github.com/elastic/kibana/pull/198413","mergeCommit":{"message":"[Dashboard] [Collapsable Panels] Add embeddable support (#198413)\n\nCloses https://github.com/elastic/kibana/issues/190379\r\n\r\n## Summary\r\n\r\nThis PR switches the example grid layout app to render embeddables as\r\npanels rather than the simplified mock panel we were using previously.\r\nIn doing so, I had to add the ability for custom panels to add a custom\r\ndrag handle via the `renderPanelContents` callback - this required\r\nadding a `setDragHandles` callback to the `ReactEmbeddableRenderer` that\r\ncould be passed down to the `PresentationPanel` component.\r\n\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/9e2c68f9-34af-4360-a978-9113701a5ea2\r\n\r\n\r\n\r\n#### New scroll behaviour\r\n\r\nIn https://github.com/elastic/kibana/pull/201867, I introduced a small\r\n\"ease\" to the auto-scroll effect that happens when you drag a panel to\r\nthe top or bottom of the window. However, in that PR, I was using the\r\n`smooth` scrolling behaviour, which unfortunately became **very**\r\njittery once I switched to embeddables rather than simple panels\r\n(specifically in Chrome - it worked fine in Firefox).\r\n\r\nThe only way to prevent this jittery scroll was to switch to the default\r\nscroll behaviour, but this lead to a very **abrupt** stop when the\r\nscrollbar reached the top and/or bottom of the page - so, to give the\r\nsame \"gentle\" stop that the `smooth` scroll had, I decided to recreate\r\nthis effect by adding a slow down \"ease\" when close to the top or bottom\r\nof the page:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/cb7bf03f-4a9e-4446-be4f-8f54c0bc88ac\r\n\r\nThis effect is accomplished via the parabola formula `y = a(x-h)2 + k`\r\nand can be roughly visualized with the following, which shows that the\r\n\"speed up\" ease happens at a much slower pace than the \"slow down\" ease:\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n#### Notes about parent changes\r\nAs I investigated improving the efficiency of the grid layout with\r\nembeddables, one of the main things I noticed was that the grid panel\r\nwas **always** remounted when moving a panel from one collapsible\r\nsection to another. This lead me (and @ThomThomson) down a rabbit hole\r\nof React-reparenting, and we explored a few different options to see if\r\nwe could change the parent of a component **without** having it remount.\r\n\r\nIn summary, after various experiments and a whole bunch of research, we\r\ndetermined that, due to the reconciliation of the React tree, this is\r\nunfortunately impossible. So our priorities will instead have to move to\r\nmaking the remount of `ReactEmbeddableRenderer` **as efficient as\r\npossible** via caching, since the remount is inevitable.\r\n\r\n### Checklist\r\n\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nThere are no risks to this PR, since the most significant work is\r\ncontained in the `examples` plugin. Some changes were made to the\r\npresentation panel to allow for custom drag handles, but this isn't\r\nactually used in Dashboard - so for now, this code is only called in the\r\nexample plugin, as well.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"2a76fe3ee432d0b6746eae660cfe31fc71d15547"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198413","number":198413,"mergeCommit":{"message":"[Dashboard] [Collapsable Panels] Add embeddable support (#198413)\n\nCloses https://github.com/elastic/kibana/issues/190379\r\n\r\n## Summary\r\n\r\nThis PR switches the example grid layout app to render embeddables as\r\npanels rather than the simplified mock panel we were using previously.\r\nIn doing so, I had to add the ability for custom panels to add a custom\r\ndrag handle via the `renderPanelContents` callback - this required\r\nadding a `setDragHandles` callback to the `ReactEmbeddableRenderer` that\r\ncould be passed down to the `PresentationPanel` component.\r\n\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/9e2c68f9-34af-4360-a978-9113701a5ea2\r\n\r\n\r\n\r\n#### New scroll behaviour\r\n\r\nIn https://github.com/elastic/kibana/pull/201867, I introduced a small\r\n\"ease\" to the auto-scroll effect that happens when you drag a panel to\r\nthe top or bottom of the window. However, in that PR, I was using the\r\n`smooth` scrolling behaviour, which unfortunately became **very**\r\njittery once I switched to embeddables rather than simple panels\r\n(specifically in Chrome - it worked fine in Firefox).\r\n\r\nThe only way to prevent this jittery scroll was to switch to the default\r\nscroll behaviour, but this lead to a very **abrupt** stop when the\r\nscrollbar reached the top and/or bottom of the page - so, to give the\r\nsame \"gentle\" stop that the `smooth` scroll had, I decided to recreate\r\nthis effect by adding a slow down \"ease\" when close to the top or bottom\r\nof the page:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/cb7bf03f-4a9e-4446-be4f-8f54c0bc88ac\r\n\r\nThis effect is accomplished via the parabola formula `y = a(x-h)2 + k`\r\nand can be roughly visualized with the following, which shows that the\r\n\"speed up\" ease happens at a much slower pace than the \"slow down\" ease:\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n#### Notes about parent changes\r\nAs I investigated improving the efficiency of the grid layout with\r\nembeddables, one of the main things I noticed was that the grid panel\r\nwas **always** remounted when moving a panel from one collapsible\r\nsection to another. This lead me (and @ThomThomson) down a rabbit hole\r\nof React-reparenting, and we explored a few different options to see if\r\nwe could change the parent of a component **without** having it remount.\r\n\r\nIn summary, after various experiments and a whole bunch of research, we\r\ndetermined that, due to the reconciliation of the React tree, this is\r\nunfortunately impossible. So our priorities will instead have to move to\r\nmaking the remount of `ReactEmbeddableRenderer` **as efficient as\r\npossible** via caching, since the remount is inevitable.\r\n\r\n### Checklist\r\n\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nThere are no risks to this PR, since the most significant work is\r\ncontained in the `examples` plugin. Some changes were made to the\r\npresentation panel to allow for custom drag handles, but this isn't\r\nactually used in Dashboard - so for now, this code is only called in the\r\nexample plugin, as well.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"2a76fe3ee432d0b6746eae660cfe31fc71d15547"}}]}] BACKPORT--> Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com> |
||
|
b935f644f1
|
[8.x] [dashboard] Do not reset panel to undefined or empty last saved state (#203158) (#203512)
# Backport This will backport the following commits from `main` to `8.x`: - [[dashboard] Do not reset panel to undefined or empty last saved state (#203158)](https://github.com/elastic/kibana/pull/203158) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2024-12-10T03:04:15Z","message":"[dashboard] Do not reset panel to undefined or empty last saved state (#203158)\n\nPart of https://github.com/elastic/kibana/issues/201627\r\n\r\nThis is a short term fix for serverless and 8.x branches (long term fix\r\nis an architectural change that will only be merged into 9.0 and 8.18\r\nbranches).\r\n\r\nFix prevents users from reseting a panel edited via embeddable transfer\r\nservice. This prevents panel from getting into an invalid state.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"e103a253d9b756605dbeb92955ff517597055970","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","v9.0.0","project:embeddableRebuild","backport:version","v8.18.0","v8.16.2","v8.15.6","v8.17.1"],"title":"[dashboard] Do not reset panel to undefined or empty last saved state","number":203158,"url":"https://github.com/elastic/kibana/pull/203158","mergeCommit":{"message":"[dashboard] Do not reset panel to undefined or empty last saved state (#203158)\n\nPart of https://github.com/elastic/kibana/issues/201627\r\n\r\nThis is a short term fix for serverless and 8.x branches (long term fix\r\nis an architectural change that will only be merged into 9.0 and 8.18\r\nbranches).\r\n\r\nFix prevents users from reseting a panel edited via embeddable transfer\r\nservice. This prevents panel from getting into an invalid state.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"e103a253d9b756605dbeb92955ff517597055970"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.15","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203158","number":203158,"mergeCommit":{"message":"[dashboard] Do not reset panel to undefined or empty last saved state (#203158)\n\nPart of https://github.com/elastic/kibana/issues/201627\r\n\r\nThis is a short term fix for serverless and 8.x branches (long term fix\r\nis an architectural change that will only be merged into 9.0 and 8.18\r\nbranches).\r\n\r\nFix prevents users from reseting a panel edited via embeddable transfer\r\nservice. This prevents panel from getting into an invalid state.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"e103a253d9b756605dbeb92955ff517597055970"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.15","label":"v8.15.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Nathan Reese <reese.nathan@elastic.co> |
||
|
da80d01ab5
|
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-esql (#202722) (#203390)
# Backport This will backport the following commits from `main` to `8.x`: - [Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-esql` (#202722)](https://github.com/elastic/kibana/pull/202722) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Gerard Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-09T10:33:55Z","message":"Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-esql` (#202722)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n> Do not attempt to push any changes unless you know what you are doing.\r\n> Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 2 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/esql` | `src/platform/plugins/shared/esql` |\r\n| `@kbn/esql-datagrid` | `src/platform/plugins/shared/esql_datagrid` |\r\n\r\n\r\n#### 5 package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n | -- | ------------- |\r\n | `@kbn/esql-ast` | `src/platform/packages/shared/kbn-esql-ast` |\r\n| `@kbn/esql-editor` | `src/platform/packages/private/kbn-esql-editor` |\r\n| `@kbn/esql-utils` | `src/platform/packages/shared/kbn-esql-utils` |\r\n| `@kbn/esql-validation-autocomplete` |\r\n`src/platform/packages/shared/kbn-esql-validation-autocomplete` |\r\n| `@kbn/language-documentation` |\r\n`src/platform/packages/private/kbn-language-documentation` |\r\n\r\n\r\n<details>\r\n<summary>Updated references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/esql_generate_function_metadata.sh\r\n./.buildkite/scripts/steps/esql_grammar_sync.sh\r\n./.eslintignore\r\n./.eslintrc.js\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./examples/esql_ast_inspector/public/plugin.ts\r\n./examples/esql_validation_example/public/plugin.ts\r\n./package.json\r\n./packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts\r\n./packages/kbn-monaco/BUILD.bazel\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./packages/kbn-ui-shared-deps-src/BUILD.bazel\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/kbn-esql-editor/jest.config.js\r\n./src/platform/packages/private/kbn-language-documentation/jest.config.js\r\n./src/platform/packages/private/kbn-language-documentation/package.json\r\n./src/platform/packages/shared/kbn-esql-ast/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts\r\n./src/platform/plugins/shared/esql/jest.config.js\r\n./src/platform/plugins/shared/esql_datagrid/jest.config.js\r\n./tsconfig.base.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/kbn-esql-editor/jest.config.js:12\r\nsrc/platform/packages/private/kbn-esql-editor/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-language-documentation/jest.config.js:12\r\nsrc/platform/packages/private/kbn-language-documentation/package.json:12\r\nsrc/platform/packages/private/kbn-language-documentation/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-ast/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-ast/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:10\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:11\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts:389\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql/jest.config.js:12\r\nsrc/platform/plugins/shared/esql/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql/tsconfig.json:7\r\nsrc/platform/plugins/shared/esql_datagrid/jest.config.js:12\r\nsrc/platform/plugins/shared/esql_datagrid/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql_datagrid/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Rudolf Meijering <skaapgif@gmail.com>","sha":"313f973aecac80f7eb6340ba517870999e0da1a3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","Team:ESQL"],"number":202722,"url":"https://github.com/elastic/kibana/pull/202722","mergeCommit":{"message":"Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-esql` (#202722)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n> Do not attempt to push any changes unless you know what you are doing.\r\n> Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 2 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/esql` | `src/platform/plugins/shared/esql` |\r\n| `@kbn/esql-datagrid` | `src/platform/plugins/shared/esql_datagrid` |\r\n\r\n\r\n#### 5 package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n | -- | ------------- |\r\n | `@kbn/esql-ast` | `src/platform/packages/shared/kbn-esql-ast` |\r\n| `@kbn/esql-editor` | `src/platform/packages/private/kbn-esql-editor` |\r\n| `@kbn/esql-utils` | `src/platform/packages/shared/kbn-esql-utils` |\r\n| `@kbn/esql-validation-autocomplete` |\r\n`src/platform/packages/shared/kbn-esql-validation-autocomplete` |\r\n| `@kbn/language-documentation` |\r\n`src/platform/packages/private/kbn-language-documentation` |\r\n\r\n\r\n<details>\r\n<summary>Updated references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/esql_generate_function_metadata.sh\r\n./.buildkite/scripts/steps/esql_grammar_sync.sh\r\n./.eslintignore\r\n./.eslintrc.js\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./examples/esql_ast_inspector/public/plugin.ts\r\n./examples/esql_validation_example/public/plugin.ts\r\n./package.json\r\n./packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts\r\n./packages/kbn-monaco/BUILD.bazel\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./packages/kbn-ui-shared-deps-src/BUILD.bazel\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/kbn-esql-editor/jest.config.js\r\n./src/platform/packages/private/kbn-language-documentation/jest.config.js\r\n./src/platform/packages/private/kbn-language-documentation/package.json\r\n./src/platform/packages/shared/kbn-esql-ast/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts\r\n./src/platform/plugins/shared/esql/jest.config.js\r\n./src/platform/plugins/shared/esql_datagrid/jest.config.js\r\n./tsconfig.base.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/kbn-esql-editor/jest.config.js:12\r\nsrc/platform/packages/private/kbn-esql-editor/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-language-documentation/jest.config.js:12\r\nsrc/platform/packages/private/kbn-language-documentation/package.json:12\r\nsrc/platform/packages/private/kbn-language-documentation/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-ast/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-ast/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:10\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:11\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts:389\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql/jest.config.js:12\r\nsrc/platform/plugins/shared/esql/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql/tsconfig.json:7\r\nsrc/platform/plugins/shared/esql_datagrid/jest.config.js:12\r\nsrc/platform/plugins/shared/esql_datagrid/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql_datagrid/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Rudolf Meijering <skaapgif@gmail.com>","sha":"313f973aecac80f7eb6340ba517870999e0da1a3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202722","number":202722,"mergeCommit":{"message":"Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-esql` (#202722)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n> Do not attempt to push any changes unless you know what you are doing.\r\n> Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 2 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/esql` | `src/platform/plugins/shared/esql` |\r\n| `@kbn/esql-datagrid` | `src/platform/plugins/shared/esql_datagrid` |\r\n\r\n\r\n#### 5 package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n | -- | ------------- |\r\n | `@kbn/esql-ast` | `src/platform/packages/shared/kbn-esql-ast` |\r\n| `@kbn/esql-editor` | `src/platform/packages/private/kbn-esql-editor` |\r\n| `@kbn/esql-utils` | `src/platform/packages/shared/kbn-esql-utils` |\r\n| `@kbn/esql-validation-autocomplete` |\r\n`src/platform/packages/shared/kbn-esql-validation-autocomplete` |\r\n| `@kbn/language-documentation` |\r\n`src/platform/packages/private/kbn-language-documentation` |\r\n\r\n\r\n<details>\r\n<summary>Updated references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/esql_generate_function_metadata.sh\r\n./.buildkite/scripts/steps/esql_grammar_sync.sh\r\n./.eslintignore\r\n./.eslintrc.js\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./examples/esql_ast_inspector/public/plugin.ts\r\n./examples/esql_validation_example/public/plugin.ts\r\n./package.json\r\n./packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts\r\n./packages/kbn-monaco/BUILD.bazel\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./packages/kbn-ui-shared-deps-src/BUILD.bazel\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/kbn-esql-editor/jest.config.js\r\n./src/platform/packages/private/kbn-language-documentation/jest.config.js\r\n./src/platform/packages/private/kbn-language-documentation/package.json\r\n./src/platform/packages/shared/kbn-esql-ast/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts\r\n./src/platform/plugins/shared/esql/jest.config.js\r\n./src/platform/plugins/shared/esql_datagrid/jest.config.js\r\n./tsconfig.base.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/kbn-esql-editor/jest.config.js:12\r\nsrc/platform/packages/private/kbn-esql-editor/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-language-documentation/jest.config.js:12\r\nsrc/platform/packages/private/kbn-language-documentation/package.json:12\r\nsrc/platform/packages/private/kbn-language-documentation/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-ast/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-ast/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:10\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:11\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts:389\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql/jest.config.js:12\r\nsrc/platform/plugins/shared/esql/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql/tsconfig.json:7\r\nsrc/platform/plugins/shared/esql_datagrid/jest.config.js:12\r\nsrc/platform/plugins/shared/esql_datagrid/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql_datagrid/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Rudolf Meijering <skaapgif@gmail.com>","sha":"313f973aecac80f7eb6340ba517870999e0da1a3"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
d2a78a91b4
|
[8.x] Preparation for High Contrast Mode, Core/SharedUX domains (#202606) (#203147)
# Backport This will backport the following commits from `main` to `8.x`: - [Preparation for High Contrast Mode, Core/SharedUX domains (#202606)](https://github.com/elastic/kibana/pull/202606) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Tim Sullivan","email":"tsullivan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-05T15:26:41Z","message":"Preparation for High Contrast Mode, Core/SharedUX domains (#202606)\n\n## Summary\r\n\r\n**Reviewers: Please test the code paths affected by this PR. See the\r\n\"Risks\" section below.**\r\n\r\nPart of work for enabling \"high contrast mode\" in Kibana. See\r\nhttps://github.com/elastic/kibana/issues/176219.\r\n\r\n**Background:**\r\nKibana will soon have a user profile setting to allow users to enable\r\n\"high contrast mode.\" This setting will activate a flag with\r\n`<EuiProvider>` that causes EUI components to render with higher\r\ncontrast visual elements. Consumer plugins and packages need to be\r\nupdated selected places where `<EuiProvider>` is wrapped, to pass the\r\n`UserProfileService` service dependency from the CoreStart contract.\r\n\r\n**NOTE:** **EUI currently does not yet support the high-contrast mode\r\nflag**, but support for that is expected to come in around 2 weeks.\r\nThese first PRs are simply preparing the code by wiring up the\r\n`UserProvideService`.\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\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\r\n- [X] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Risks\r\n\r\nDoes this PR introduce any risks? For example, consider risks like hard\r\nto test bugs, performance regression, potential of data loss.\r\n\r\nDescribe the risk, its severity, and mitigation for each identified\r\nrisk. Invite stakeholders and evaluate how to proceed before merging.\r\n\r\n- [ ] [medium/high] The implementor of this change did not manually test\r\nthe affected code paths and relied on type-checking and functional tests\r\nto drive the changes. Code owners for this PR need to manually test the\r\naffected code paths.\r\n- [ ] [medium] The `UserProfileService` dependency comes from the\r\nCoreStart contract. If acquiring the service causes synchronous code to\r\nbecome asynchronous, check for race conditions or errors in rendering\r\nReact components. Code owners for this PR need to manually test the\r\naffected code paths.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"6178e8295dc35343ab1847416a6d40432a35e4a5","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","Team:SharedUX","backport:prev-minor"],"number":202606,"url":"https://github.com/elastic/kibana/pull/202606","mergeCommit":{"message":"Preparation for High Contrast Mode, Core/SharedUX domains (#202606)\n\n## Summary\r\n\r\n**Reviewers: Please test the code paths affected by this PR. See the\r\n\"Risks\" section below.**\r\n\r\nPart of work for enabling \"high contrast mode\" in Kibana. See\r\nhttps://github.com/elastic/kibana/issues/176219.\r\n\r\n**Background:**\r\nKibana will soon have a user profile setting to allow users to enable\r\n\"high contrast mode.\" This setting will activate a flag with\r\n`<EuiProvider>` that causes EUI components to render with higher\r\ncontrast visual elements. Consumer plugins and packages need to be\r\nupdated selected places where `<EuiProvider>` is wrapped, to pass the\r\n`UserProfileService` service dependency from the CoreStart contract.\r\n\r\n**NOTE:** **EUI currently does not yet support the high-contrast mode\r\nflag**, but support for that is expected to come in around 2 weeks.\r\nThese first PRs are simply preparing the code by wiring up the\r\n`UserProvideService`.\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\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\r\n- [X] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Risks\r\n\r\nDoes this PR introduce any risks? For example, consider risks like hard\r\nto test bugs, performance regression, potential of data loss.\r\n\r\nDescribe the risk, its severity, and mitigation for each identified\r\nrisk. Invite stakeholders and evaluate how to proceed before merging.\r\n\r\n- [ ] [medium/high] The implementor of this change did not manually test\r\nthe affected code paths and relied on type-checking and functional tests\r\nto drive the changes. Code owners for this PR need to manually test the\r\naffected code paths.\r\n- [ ] [medium] The `UserProfileService` dependency comes from the\r\nCoreStart contract. If acquiring the service causes synchronous code to\r\nbecome asynchronous, check for race conditions or errors in rendering\r\nReact components. Code owners for this PR need to manually test the\r\naffected code paths.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"6178e8295dc35343ab1847416a6d40432a35e4a5"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202606","number":202606,"mergeCommit":{"message":"Preparation for High Contrast Mode, Core/SharedUX domains (#202606)\n\n## Summary\r\n\r\n**Reviewers: Please test the code paths affected by this PR. See the\r\n\"Risks\" section below.**\r\n\r\nPart of work for enabling \"high contrast mode\" in Kibana. See\r\nhttps://github.com/elastic/kibana/issues/176219.\r\n\r\n**Background:**\r\nKibana will soon have a user profile setting to allow users to enable\r\n\"high contrast mode.\" This setting will activate a flag with\r\n`<EuiProvider>` that causes EUI components to render with higher\r\ncontrast visual elements. Consumer plugins and packages need to be\r\nupdated selected places where `<EuiProvider>` is wrapped, to pass the\r\n`UserProfileService` service dependency from the CoreStart contract.\r\n\r\n**NOTE:** **EUI currently does not yet support the high-contrast mode\r\nflag**, but support for that is expected to come in around 2 weeks.\r\nThese first PRs are simply preparing the code by wiring up the\r\n`UserProvideService`.\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\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\r\n- [X] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Risks\r\n\r\nDoes this PR introduce any risks? For example, consider risks like hard\r\nto test bugs, performance regression, potential of data loss.\r\n\r\nDescribe the risk, its severity, and mitigation for each identified\r\nrisk. Invite stakeholders and evaluate how to proceed before merging.\r\n\r\n- [ ] [medium/high] The implementor of this change did not manually test\r\nthe affected code paths and relied on type-checking and functional tests\r\nto drive the changes. Code owners for this PR need to manually test the\r\naffected code paths.\r\n- [ ] [medium] The `UserProfileService` dependency comes from the\r\nCoreStart contract. If acquiring the service causes synchronous code to\r\nbecome asynchronous, check for race conditions or errors in rendering\r\nReact components. Code owners for this PR need to manually test the\r\naffected code paths.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"6178e8295dc35343ab1847416a6d40432a35e4a5"}}]}] BACKPORT--> |
||
|
8bce4806ac
|
[8.x] [embeddable] remove legacy embeddable factories from 'Add from library' flyout (#202823) (#203181)
# Backport This will backport the following commits from `main` to `8.x`: - [[embeddable] remove legacy embeddable factories from 'Add from library' flyout (#202823)](https://github.com/elastic/kibana/pull/202823) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2024-12-05T19:55:40Z","message":"[embeddable] remove legacy embeddable factories from 'Add from library' flyout (#202823)\n\nPart of https://github.com/elastic/kibana/issues/180059\r\n\r\nPR removes legacy embeddable factory support from Canvas and Dashboard\r\n`Add from library` flyout\r\n\r\nPR also does the following clean-ups\r\n1) Renames folder, files, and component from `add_panel_flyout` to\r\n`add_from_library_flyout`. When component was originally created,\r\ndashboard `Add panel` button did not exist, and `Add from library`\r\nbutton was called `Add panel`. Now that dashboard contains `Add panel`\r\nand `Add from library` buttons, the old naming convention is super\r\nconfusing and not longer lines up with the current UI.\r\n2) moves registry to `add_from_library` folder so that the registry is\r\nin closer proximity to its usage.\r\n2) Renames `registerReactEmbeddableSavedObject` to\r\n`registerAddFromLibraryType` because\r\n`registerReactEmbeddableSavedObject` does not clearly specifying what\r\nthe registry enables.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"d508b5da9ce4664565c1594d23688663eff66522","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Embedding","Team:Presentation","release_note:skip","v9.0.0","ci:project-deploy-observability","project:embeddableRebuild","backport:version","v8.18.0"],"title":"[embeddable] remove legacy embeddable factories from 'Add from library' flyout","number":202823,"url":"https://github.com/elastic/kibana/pull/202823","mergeCommit":{"message":"[embeddable] remove legacy embeddable factories from 'Add from library' flyout (#202823)\n\nPart of https://github.com/elastic/kibana/issues/180059\r\n\r\nPR removes legacy embeddable factory support from Canvas and Dashboard\r\n`Add from library` flyout\r\n\r\nPR also does the following clean-ups\r\n1) Renames folder, files, and component from `add_panel_flyout` to\r\n`add_from_library_flyout`. When component was originally created,\r\ndashboard `Add panel` button did not exist, and `Add from library`\r\nbutton was called `Add panel`. Now that dashboard contains `Add panel`\r\nand `Add from library` buttons, the old naming convention is super\r\nconfusing and not longer lines up with the current UI.\r\n2) moves registry to `add_from_library` folder so that the registry is\r\nin closer proximity to its usage.\r\n2) Renames `registerReactEmbeddableSavedObject` to\r\n`registerAddFromLibraryType` because\r\n`registerReactEmbeddableSavedObject` does not clearly specifying what\r\nthe registry enables.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"d508b5da9ce4664565c1594d23688663eff66522"}},"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/202823","number":202823,"mergeCommit":{"message":"[embeddable] remove legacy embeddable factories from 'Add from library' flyout (#202823)\n\nPart of https://github.com/elastic/kibana/issues/180059\r\n\r\nPR removes legacy embeddable factory support from Canvas and Dashboard\r\n`Add from library` flyout\r\n\r\nPR also does the following clean-ups\r\n1) Renames folder, files, and component from `add_panel_flyout` to\r\n`add_from_library_flyout`. When component was originally created,\r\ndashboard `Add panel` button did not exist, and `Add from library`\r\nbutton was called `Add panel`. Now that dashboard contains `Add panel`\r\nand `Add from library` buttons, the old naming convention is super\r\nconfusing and not longer lines up with the current UI.\r\n2) moves registry to `add_from_library` folder so that the registry is\r\nin closer proximity to its usage.\r\n2) Renames `registerReactEmbeddableSavedObject` to\r\n`registerAddFromLibraryType` because\r\n`registerReactEmbeddableSavedObject` does not clearly specifying what\r\nthe registry enables.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"d508b5da9ce4664565c1594d23688663eff66522"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Nathan Reese <reese.nathan@elastic.co> |
||
|
d10a3ce459
|
[8.x] [Dashboard][Collapsable Panels] Responsive layout (#200771) (#202225)
# Backport This will backport the following commits from `main` to `8.x`: - [[Dashboard][Collapsable Panels] Responsive layout (#200771)](https://github.com/elastic/kibana/pull/200771) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Marta Bondyra","email":"4283304+mbondyra@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-28T18:31:09Z","message":"[Dashboard][Collapsable Panels] Responsive layout (#200771)\n\n## Summary\r\n\r\nFixes https://github.com/elastic/kibana/issues/197714\r\n\r\n### Key Features\r\n\r\n#### Responsiveness\r\n\r\n1. Adds a responsive view controlled by the `accessMode` prop. \r\n2. For the responsive version (in the `VIEW` mode), panels retain height\r\nand are arranged based on screen order (left-to-right, top-to-bottom).\r\n3. Interactivity (drag/resize) is disabled in `view` mode.\r\n\r\n<img width=\"514\" alt=\"Screenshot 2024-11-25 at 17 34 56\"\r\nsrc=\"https://github.com/user-attachments/assets/6a5a97aa-de9b-495a-b1de-301bc935a5ab\">\r\n\r\n#### Maximization\r\n1. Supports expanded panel view using the `expandedPanelId` prop.\r\n2. Interactivity (drag/resize) is disabled when a panel is expanded.\r\n\r\n<img width=\"1254\" alt=\"Screenshot 2024-11-25 at 17 35 05\"\r\nsrc=\"https://github.com/user-attachments/assets/c83014f6-18ad-435b-a59d-1d3ba3f80d84\">\r\n\r\n#### Considerations\r\n1. CSS elements naming convention: Main component uses `kbnGrid` class,\r\nwith modifiers like `kbnGrid--nonInteractive`. For the drag handle of\r\n`GridPanel` I used `kbnGridPanel__dragHandle` classname.\r\n2. Classes vs. Inline Styles: I opted for using\r\n`kbnGrid--nonInteractive` instead of adding one more subscription to\r\n`GridPanel` to modify the styles inline. It's the first time in this\r\npackage that I used classes instead of inline styles for no-initial\r\nstyles setting.\r\n3. Naming Convention: I opted for using the `expanded` word to describe\r\nan expanded panel. Another one could be `maximized` as it's more used in\r\nUI, but less in the legacy code.\r\n4. Interactivity (drag/resize) is disabled in responsive mode but we\r\ncould consider to limit this to small viewports only (<768px).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d92aa91c3a8329057a2156ea7f1ecdc94a7a3cc2","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","loe:medium","release_note:skip","v9.0.0","backport:prev-minor","Project:Collapsable Panels"],"title":"[Dashboard][Collapsable Panels] Responsive layout","number":200771,"url":"https://github.com/elastic/kibana/pull/200771","mergeCommit":{"message":"[Dashboard][Collapsable Panels] Responsive layout (#200771)\n\n## Summary\r\n\r\nFixes https://github.com/elastic/kibana/issues/197714\r\n\r\n### Key Features\r\n\r\n#### Responsiveness\r\n\r\n1. Adds a responsive view controlled by the `accessMode` prop. \r\n2. For the responsive version (in the `VIEW` mode), panels retain height\r\nand are arranged based on screen order (left-to-right, top-to-bottom).\r\n3. Interactivity (drag/resize) is disabled in `view` mode.\r\n\r\n<img width=\"514\" alt=\"Screenshot 2024-11-25 at 17 34 56\"\r\nsrc=\"https://github.com/user-attachments/assets/6a5a97aa-de9b-495a-b1de-301bc935a5ab\">\r\n\r\n#### Maximization\r\n1. Supports expanded panel view using the `expandedPanelId` prop.\r\n2. Interactivity (drag/resize) is disabled when a panel is expanded.\r\n\r\n<img width=\"1254\" alt=\"Screenshot 2024-11-25 at 17 35 05\"\r\nsrc=\"https://github.com/user-attachments/assets/c83014f6-18ad-435b-a59d-1d3ba3f80d84\">\r\n\r\n#### Considerations\r\n1. CSS elements naming convention: Main component uses `kbnGrid` class,\r\nwith modifiers like `kbnGrid--nonInteractive`. For the drag handle of\r\n`GridPanel` I used `kbnGridPanel__dragHandle` classname.\r\n2. Classes vs. Inline Styles: I opted for using\r\n`kbnGrid--nonInteractive` instead of adding one more subscription to\r\n`GridPanel` to modify the styles inline. It's the first time in this\r\npackage that I used classes instead of inline styles for no-initial\r\nstyles setting.\r\n3. Naming Convention: I opted for using the `expanded` word to describe\r\nan expanded panel. Another one could be `maximized` as it's more used in\r\nUI, but less in the legacy code.\r\n4. Interactivity (drag/resize) is disabled in responsive mode but we\r\ncould consider to limit this to small viewports only (<768px).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d92aa91c3a8329057a2156ea7f1ecdc94a7a3cc2"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200771","number":200771,"mergeCommit":{"message":"[Dashboard][Collapsable Panels] Responsive layout (#200771)\n\n## Summary\r\n\r\nFixes https://github.com/elastic/kibana/issues/197714\r\n\r\n### Key Features\r\n\r\n#### Responsiveness\r\n\r\n1. Adds a responsive view controlled by the `accessMode` prop. \r\n2. For the responsive version (in the `VIEW` mode), panels retain height\r\nand are arranged based on screen order (left-to-right, top-to-bottom).\r\n3. Interactivity (drag/resize) is disabled in `view` mode.\r\n\r\n<img width=\"514\" alt=\"Screenshot 2024-11-25 at 17 34 56\"\r\nsrc=\"https://github.com/user-attachments/assets/6a5a97aa-de9b-495a-b1de-301bc935a5ab\">\r\n\r\n#### Maximization\r\n1. Supports expanded panel view using the `expandedPanelId` prop.\r\n2. Interactivity (drag/resize) is disabled when a panel is expanded.\r\n\r\n<img width=\"1254\" alt=\"Screenshot 2024-11-25 at 17 35 05\"\r\nsrc=\"https://github.com/user-attachments/assets/c83014f6-18ad-435b-a59d-1d3ba3f80d84\">\r\n\r\n#### Considerations\r\n1. CSS elements naming convention: Main component uses `kbnGrid` class,\r\nwith modifiers like `kbnGrid--nonInteractive`. For the drag handle of\r\n`GridPanel` I used `kbnGridPanel__dragHandle` classname.\r\n2. Classes vs. Inline Styles: I opted for using\r\n`kbnGrid--nonInteractive` instead of adding one more subscription to\r\n`GridPanel` to modify the styles inline. It's the first time in this\r\npackage that I used classes instead of inline styles for no-initial\r\nstyles setting.\r\n3. Naming Convention: I opted for using the `expanded` word to describe\r\nan expanded panel. Another one could be `maximized` as it's more used in\r\nUI, but less in the legacy code.\r\n4. Interactivity (drag/resize) is disabled in responsive mode but we\r\ncould consider to limit this to small viewports only (<768px).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d92aa91c3a8329057a2156ea7f1ecdc94a7a3cc2"}}]}] BACKPORT--> Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com> Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com> |
||
|
58c8aff91c
|
[8.x] Sustainable Kibana Architecture: Categorise straightforward packages (#199630) (#201340)
# Backport This will backport the following commits from `main` to `8.x`: - [Sustainable Kibana Architecture: Categorise `straightforward` packages (#199630)](https://github.com/elastic/kibana/pull/199630) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Gerard Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-11-22T09:33:25Z","message":"Sustainable Kibana Architecture: Categorise `straightforward` packages (#199630)\n\n## Summary\r\n\r\nThis PR is part of the Kibana Sustainable Architecture effort.\r\n\r\nThe goal is to start categorising Kibana packages into _generic\r\nplatform_ (`group: \"platform\"`) vs _solution-specific_.\r\n\r\n```\r\ngroup?: 'search' | 'security' | 'observability' | 'platform'\r\nvisibility?: 'private' | 'shared'\r\n```\r\nUncategorised modules are considered to be `group: 'common', visibility:\r\n'shared'` by default.\r\n\r\nWe want to prevent code from solution A to depend on code from solution\r\nB.\r\nThus, the rules are pretty simple:\r\n\r\n* Modules can only depend on:\r\n * Modules in the same group\r\n * OR modules with 'shared' visibility\r\n* Modules in `'observability', 'security', 'search'` groups are\r\nmandatorily `visibility: \"private\"`.\r\n\r\nLong term, the goal is to re-organise packages into dedicated folders,\r\ne.g.:\r\n\r\n```\r\nx-pack/platform/plugins/private\r\nx-pack/observability/packages\r\n```\r\n\r\nFor this first wave, we have categorised packages that seem\r\n\"straightforward\":\r\n* Any packages that have:\r\n * at least one dependant module\r\n * all dependants belong to the same group\r\n* Categorise all Core packages:\r\n * `@kbn/core-...-internal` => _platform/private_\r\n * everything else => _platform/shared_\r\n* Categorise as _platform/shared_ those packages that:\r\n * Have at least one dependant in the _platform_ group.\r\n * Don't have any `devOnly: true` dependants.\r\n\r\n### What we ask from you, as CODEOWNERS of the _package manifests_, is\r\nthat you confirm that the categorisation is correct:\r\n\r\n* `group: \"platform\", visibility: \"private\"` if it's a package that\r\nshould only be used from platform code, not from any solution code. It\r\nwill be loaded systematically in all serverless flavors, but solution\r\nplugins and packages won't be able to `import` from it.\r\n* `group: \"platform\", visibility: \"shared\"` if it's a package that can\r\nbe consumed by both platform and solutions code. It will be loaded\r\nsystematically in all serverless flavors, and anybody can import / use\r\ncode from it.\r\n* `group: \"observability\" | \"security\" | \"search\", visibility:\r\n\"private\"` if it's a package that is intented to be used exclusively\r\nfrom a given solution. It won't be accessible nor loaded from other\r\nsolutions nor platform code.\r\n\r\nPlease refer to\r\n[#kibana-sustainable-architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nfor any related questions.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"b24fdf5d3f6b7454a4edcedb8141b82f571e1d74","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services"],"number":199630,"url":"https://github.com/elastic/kibana/pull/199630","mergeCommit":{"message":"Sustainable Kibana Architecture: Categorise `straightforward` packages (#199630)\n\n## Summary\r\n\r\nThis PR is part of the Kibana Sustainable Architecture effort.\r\n\r\nThe goal is to start categorising Kibana packages into _generic\r\nplatform_ (`group: \"platform\"`) vs _solution-specific_.\r\n\r\n```\r\ngroup?: 'search' | 'security' | 'observability' | 'platform'\r\nvisibility?: 'private' | 'shared'\r\n```\r\nUncategorised modules are considered to be `group: 'common', visibility:\r\n'shared'` by default.\r\n\r\nWe want to prevent code from solution A to depend on code from solution\r\nB.\r\nThus, the rules are pretty simple:\r\n\r\n* Modules can only depend on:\r\n * Modules in the same group\r\n * OR modules with 'shared' visibility\r\n* Modules in `'observability', 'security', 'search'` groups are\r\nmandatorily `visibility: \"private\"`.\r\n\r\nLong term, the goal is to re-organise packages into dedicated folders,\r\ne.g.:\r\n\r\n```\r\nx-pack/platform/plugins/private\r\nx-pack/observability/packages\r\n```\r\n\r\nFor this first wave, we have categorised packages that seem\r\n\"straightforward\":\r\n* Any packages that have:\r\n * at least one dependant module\r\n * all dependants belong to the same group\r\n* Categorise all Core packages:\r\n * `@kbn/core-...-internal` => _platform/private_\r\n * everything else => _platform/shared_\r\n* Categorise as _platform/shared_ those packages that:\r\n * Have at least one dependant in the _platform_ group.\r\n * Don't have any `devOnly: true` dependants.\r\n\r\n### What we ask from you, as CODEOWNERS of the _package manifests_, is\r\nthat you confirm that the categorisation is correct:\r\n\r\n* `group: \"platform\", visibility: \"private\"` if it's a package that\r\nshould only be used from platform code, not from any solution code. It\r\nwill be loaded systematically in all serverless flavors, but solution\r\nplugins and packages won't be able to `import` from it.\r\n* `group: \"platform\", visibility: \"shared\"` if it's a package that can\r\nbe consumed by both platform and solutions code. It will be loaded\r\nsystematically in all serverless flavors, and anybody can import / use\r\ncode from it.\r\n* `group: \"observability\" | \"security\" | \"search\", visibility:\r\n\"private\"` if it's a package that is intented to be used exclusively\r\nfrom a given solution. It won't be accessible nor loaded from other\r\nsolutions nor platform code.\r\n\r\nPlease refer to\r\n[#kibana-sustainable-architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nfor any related questions.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"b24fdf5d3f6b7454a4edcedb8141b82f571e1d74"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199630","number":199630,"mergeCommit":{"message":"Sustainable Kibana Architecture: Categorise `straightforward` packages (#199630)\n\n## Summary\r\n\r\nThis PR is part of the Kibana Sustainable Architecture effort.\r\n\r\nThe goal is to start categorising Kibana packages into _generic\r\nplatform_ (`group: \"platform\"`) vs _solution-specific_.\r\n\r\n```\r\ngroup?: 'search' | 'security' | 'observability' | 'platform'\r\nvisibility?: 'private' | 'shared'\r\n```\r\nUncategorised modules are considered to be `group: 'common', visibility:\r\n'shared'` by default.\r\n\r\nWe want to prevent code from solution A to depend on code from solution\r\nB.\r\nThus, the rules are pretty simple:\r\n\r\n* Modules can only depend on:\r\n * Modules in the same group\r\n * OR modules with 'shared' visibility\r\n* Modules in `'observability', 'security', 'search'` groups are\r\nmandatorily `visibility: \"private\"`.\r\n\r\nLong term, the goal is to re-organise packages into dedicated folders,\r\ne.g.:\r\n\r\n```\r\nx-pack/platform/plugins/private\r\nx-pack/observability/packages\r\n```\r\n\r\nFor this first wave, we have categorised packages that seem\r\n\"straightforward\":\r\n* Any packages that have:\r\n * at least one dependant module\r\n * all dependants belong to the same group\r\n* Categorise all Core packages:\r\n * `@kbn/core-...-internal` => _platform/private_\r\n * everything else => _platform/shared_\r\n* Categorise as _platform/shared_ those packages that:\r\n * Have at least one dependant in the _platform_ group.\r\n * Don't have any `devOnly: true` dependants.\r\n\r\n### What we ask from you, as CODEOWNERS of the _package manifests_, is\r\nthat you confirm that the categorisation is correct:\r\n\r\n* `group: \"platform\", visibility: \"private\"` if it's a package that\r\nshould only be used from platform code, not from any solution code. It\r\nwill be loaded systematically in all serverless flavors, but solution\r\nplugins and packages won't be able to `import` from it.\r\n* `group: \"platform\", visibility: \"shared\"` if it's a package that can\r\nbe consumed by both platform and solutions code. It will be loaded\r\nsystematically in all serverless flavors, and anybody can import / use\r\ncode from it.\r\n* `group: \"observability\" | \"security\" | \"search\", visibility:\r\n\"private\"` if it's a package that is intented to be used exclusively\r\nfrom a given solution. It won't be accessible nor loaded from other\r\nsolutions nor platform code.\r\n\r\nPlease refer to\r\n[#kibana-sustainable-architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nfor any related questions.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"b24fdf5d3f6b7454a4edcedb8141b82f571e1d74"}}]}] BACKPORT--> |
||
|
85fd532617
|
[8.x] [Feature Flags Example Plugin] Change ctx provider (#201097) (#201356)
# Backport This will backport the following commits from `main` to `8.x`: - [[Feature Flags Example Plugin] Change ctx provider (#201097)](https://github.com/elastic/kibana/pull/201097) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alejandro Fernández Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2024-11-21T12:01:02Z","message":"[Feature Flags Example Plugin] Change ctx provider (#201097)","sha":"f0262080c806077876604569f2e7fd8a7082cf00","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Core","release_note:skip","v9.0.0","backport:prev-minor"],"number":201097,"url":"https://github.com/elastic/kibana/pull/201097","mergeCommit":{"message":"[Feature Flags Example Plugin] Change ctx provider (#201097)","sha":"f0262080c806077876604569f2e7fd8a7082cf00"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201097","number":201097,"mergeCommit":{"message":"[Feature Flags Example Plugin] Change ctx provider (#201097)","sha":"f0262080c806077876604569f2e7fd8a7082cf00"}}]}] BACKPORT--> Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co> |
||
|
8f11c13df9
|
[8.x] [Dashboard] [Collapsable Panels] Switch to using props (#200793) (#201253)
# Backport This will backport the following commits from `main` to `8.x`: - [[Dashboard] [Collapsable Panels] Switch to using props (#200793)](https://github.com/elastic/kibana/pull/200793) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Hannah Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-21T17:27:56Z","message":"[Dashboard] [Collapsable Panels] Switch to using props (#200793)\n\nCloses https://github.com/elastic/kibana/issues/200090\r\n\r\n## Summary\r\n\r\nThis PR migrates the `GridLayout` component a more traditional React\r\ndesign using **props** rather than providing an API. This change serves\r\ntwo purposes:\r\n1. It makes the eventual Dashboard migration easier, since it is more\r\nsimilar to `react-grid-layout`'s implementation\r\n3. It makes the `GridLayout` component less opinionated by moving the\r\nlogic for panel management (i.e. panel placement, etc) to the parent\r\ncomponent.\r\n\r\nI tried to keep efficiency in mind for this comparison, and ensured that\r\nwe are still keeping the number of rerenders **o a minimum**. This PR\r\nshould not introduce **any** extra renders in comparison to the API\r\nversion.\r\n\r\n### Checklist\r\n\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nThere are no risks to this PR, since all work is contained in the\r\n`examples` plugin.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"549532240cd8bc271a78b74846021c9023e2da64","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Dashboard","Team:Presentation","loe:medium","release_note:skip","impact:high","v9.0.0","backport:prev-minor","Project:Collapsable Panels"],"title":"[Dashboard] [Collapsable Panels] Switch to using props","number":200793,"url":"https://github.com/elastic/kibana/pull/200793","mergeCommit":{"message":"[Dashboard] [Collapsable Panels] Switch to using props (#200793)\n\nCloses https://github.com/elastic/kibana/issues/200090\r\n\r\n## Summary\r\n\r\nThis PR migrates the `GridLayout` component a more traditional React\r\ndesign using **props** rather than providing an API. This change serves\r\ntwo purposes:\r\n1. It makes the eventual Dashboard migration easier, since it is more\r\nsimilar to `react-grid-layout`'s implementation\r\n3. It makes the `GridLayout` component less opinionated by moving the\r\nlogic for panel management (i.e. panel placement, etc) to the parent\r\ncomponent.\r\n\r\nI tried to keep efficiency in mind for this comparison, and ensured that\r\nwe are still keeping the number of rerenders **o a minimum**. This PR\r\nshould not introduce **any** extra renders in comparison to the API\r\nversion.\r\n\r\n### Checklist\r\n\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nThere are no risks to this PR, since all work is contained in the\r\n`examples` plugin.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"549532240cd8bc271a78b74846021c9023e2da64"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200793","number":200793,"mergeCommit":{"message":"[Dashboard] [Collapsable Panels] Switch to using props (#200793)\n\nCloses https://github.com/elastic/kibana/issues/200090\r\n\r\n## Summary\r\n\r\nThis PR migrates the `GridLayout` component a more traditional React\r\ndesign using **props** rather than providing an API. This change serves\r\ntwo purposes:\r\n1. It makes the eventual Dashboard migration easier, since it is more\r\nsimilar to `react-grid-layout`'s implementation\r\n3. It makes the `GridLayout` component less opinionated by moving the\r\nlogic for panel management (i.e. panel placement, etc) to the parent\r\ncomponent.\r\n\r\nI tried to keep efficiency in mind for this comparison, and ensured that\r\nwe are still keeping the number of rerenders **o a minimum**. This PR\r\nshould not introduce **any** extra renders in comparison to the API\r\nversion.\r\n\r\n### Checklist\r\n\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Identify risks\r\n\r\nThere are no risks to this PR, since all work is contained in the\r\n`examples` plugin.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"549532240cd8bc271a78b74846021c9023e2da64"}}]}] BACKPORT--> Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com> |
||
|
8cf7edbcbc
|
[8.x] [EuiInMemoryTable] Persist table rows per page and sort (#198297) (#200569)
# Backport This will backport the following commits from `main` to `8.x`: - [[EuiInMemoryTable] Persist table rows per page and sort (#198297)](https://github.com/elastic/kibana/pull/198297) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sébastien Loix","email":"sebastien.loix@elastic.co"},"sourceCommit":{"committedDate":"2024-11-18T13:35:26Z","message":"[EuiInMemoryTable] Persist table rows per page and sort (#198297)","sha":"020acbeaa38c0807db4dc1d5ebdb7b112b484f1e","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Embedding","release_note:skip","v9.0.0","Team:SharedUX","backport:prev-minor"],"title":"[EuiInMemoryTable] Persist table rows per page and sort","number":198297,"url":"https://github.com/elastic/kibana/pull/198297","mergeCommit":{"message":"[EuiInMemoryTable] Persist table rows per page and sort (#198297)","sha":"020acbeaa38c0807db4dc1d5ebdb7b112b484f1e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198297","number":198297,"mergeCommit":{"message":"[EuiInMemoryTable] Persist table rows per page and sort (#198297)","sha":"020acbeaa38c0807db4dc1d5ebdb7b112b484f1e"}}]}] BACKPORT--> Co-authored-by: Sébastien Loix <sebastien.loix@elastic.co> |
||
|
cf6110a276
|
[8.x] [UA][Core] Surface integrations with internal APIs in upgrade assistant (#199026) (#199764)
# Backport This will backport the following commits from `main` to `8.x`: - [[UA][Core] Surface integrations with internal APIs in upgrade assistant (#199026)](https://github.com/elastic/kibana/pull/199026) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ahmad Bamieh","email":"ahmad.bamyeh@elastic.co"},"sourceCommit":{"committedDate":"2024-11-12T11:19:22Z","message":"[UA][Core] Surface integrations with internal APIs in upgrade assistant (#199026)\n\n## Summary\r\n\r\n> In https://github.com/elastic/kibana/issues/117241 we're surfacing\r\nusage of APIs marked as `deprecated: true` in the Upgrade Assistant to\r\nhelp users prepare for a major upgrade. While internal APIs aren't\r\nreally deprecated in the same sense we are making a breaking change by\r\nblocking external integrations with these APIs. Since this could be\r\nequally disruptive to users depending on these APIs it would help our\r\nusers to surface such usage in the UA too.\r\n\r\nThe `api` deprecations now have two sub types:\r\n1. routes deprecations `options.deprecated: { … }`\r\n2. access deprecations `options.access: 'internal'`\r\n\r\nThis PR adds the second `api` deprecation subtype. The reason i kept one\r\n`api` deprecation type and i didnt create a new type is that they have\r\nexactly the same registration process but are triggered by different\r\nattributes. The `api` deprecation is fully managed by the core team\r\ninternal services and are configured by the user through the route\r\ninterface so it makes sense to keep them as one type. I also can see us\r\nadding more subtypes to this and just piggybacking on the current flow\r\ninstead of duplicating it everytime.\r\n\r\n\r\n**Checklist**\r\n- [x] Create deprecation subtype\r\n- [x] Example plugin\r\n- [x] Surface the deprecation in UA\r\n- [x] Api access deprecation copy (@florent-leborgne )\r\n- [x] Update README and code annotations\r\n- [x] Unit tests\r\n- [x] Integration tests\r\n\r\n\r\nCloses https://github.com/elastic/kibana/issues/194675\r\n\r\n### Design decisions:\r\nIf the API has both route deprecation (`options.deprecated: { … }` ) AND\r\nis an internal api `options.access: 'internal'`\r\n\r\nThe current behavior i went for in my PR:\r\nI show this API once in the UA under the internal access deprecation.\r\nWhile showing the route deprecation details if defined. This seems to\r\nmake the most sense since users should stop using this API altogether.\r\n\r\n### Copy decisions:\r\n@florent-leborgne wrote the copy for this deprecation subtype.\r\n<img width=\"1319\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/9a32f6d1-686a-4405-aec6-786ac5e10130\">\r\n\r\n<img width=\"713\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/1304c98d-4c64-468e-a7d6-19c1193bf678\">\r\n\r\n\r\n## Testing\r\n\r\nRun kibana locally with the test example plugin that has deprecated\r\nroutes\r\n```\r\nyarn start --plugin-path=examples/routing_example --plugin-path=examples/developer_examples\r\n```\r\n\r\nThe following comprehensive deprecated routes examples are registered\r\ninside the folder:\r\n`examples/routing_example/server/routes/deprecated_routes`\r\n\r\nRun them in the dev console to trigger the deprecation condition so they\r\nshow up in the UA:\r\n\r\n```\r\nGET kbn:/api/routing_example/d/internal_deprecated_route?elasticInternalOrigin=false\r\nGET kbn:/internal/routing_example/d/internal_only_route?elasticInternalOrigin=false\r\nGET kbn:/internal/routing_example/d/internal_versioned_route?apiVersion=1&elasticInternalOrigin=false\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"a10eb1fe4e55aa0cfbbb4b12a8d740a867463283","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","v8.17.0"],"number":199026,"url":"https://github.com/elastic/kibana/pull/199026","mergeCommit":{"message":"[UA][Core] Surface integrations with internal APIs in upgrade assistant (#199026)\n\n## Summary\r\n\r\n> In https://github.com/elastic/kibana/issues/117241 we're surfacing\r\nusage of APIs marked as `deprecated: true` in the Upgrade Assistant to\r\nhelp users prepare for a major upgrade. While internal APIs aren't\r\nreally deprecated in the same sense we are making a breaking change by\r\nblocking external integrations with these APIs. Since this could be\r\nequally disruptive to users depending on these APIs it would help our\r\nusers to surface such usage in the UA too.\r\n\r\nThe `api` deprecations now have two sub types:\r\n1. routes deprecations `options.deprecated: { … }`\r\n2. access deprecations `options.access: 'internal'`\r\n\r\nThis PR adds the second `api` deprecation subtype. The reason i kept one\r\n`api` deprecation type and i didnt create a new type is that they have\r\nexactly the same registration process but are triggered by different\r\nattributes. The `api` deprecation is fully managed by the core team\r\ninternal services and are configured by the user through the route\r\ninterface so it makes sense to keep them as one type. I also can see us\r\nadding more subtypes to this and just piggybacking on the current flow\r\ninstead of duplicating it everytime.\r\n\r\n\r\n**Checklist**\r\n- [x] Create deprecation subtype\r\n- [x] Example plugin\r\n- [x] Surface the deprecation in UA\r\n- [x] Api access deprecation copy (@florent-leborgne )\r\n- [x] Update README and code annotations\r\n- [x] Unit tests\r\n- [x] Integration tests\r\n\r\n\r\nCloses https://github.com/elastic/kibana/issues/194675\r\n\r\n### Design decisions:\r\nIf the API has both route deprecation (`options.deprecated: { … }` ) AND\r\nis an internal api `options.access: 'internal'`\r\n\r\nThe current behavior i went for in my PR:\r\nI show this API once in the UA under the internal access deprecation.\r\nWhile showing the route deprecation details if defined. This seems to\r\nmake the most sense since users should stop using this API altogether.\r\n\r\n### Copy decisions:\r\n@florent-leborgne wrote the copy for this deprecation subtype.\r\n<img width=\"1319\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/9a32f6d1-686a-4405-aec6-786ac5e10130\">\r\n\r\n<img width=\"713\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/1304c98d-4c64-468e-a7d6-19c1193bf678\">\r\n\r\n\r\n## Testing\r\n\r\nRun kibana locally with the test example plugin that has deprecated\r\nroutes\r\n```\r\nyarn start --plugin-path=examples/routing_example --plugin-path=examples/developer_examples\r\n```\r\n\r\nThe following comprehensive deprecated routes examples are registered\r\ninside the folder:\r\n`examples/routing_example/server/routes/deprecated_routes`\r\n\r\nRun them in the dev console to trigger the deprecation condition so they\r\nshow up in the UA:\r\n\r\n```\r\nGET kbn:/api/routing_example/d/internal_deprecated_route?elasticInternalOrigin=false\r\nGET kbn:/internal/routing_example/d/internal_only_route?elasticInternalOrigin=false\r\nGET kbn:/internal/routing_example/d/internal_versioned_route?apiVersion=1&elasticInternalOrigin=false\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"a10eb1fe4e55aa0cfbbb4b12a8d740a867463283"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199026","number":199026,"mergeCommit":{"message":"[UA][Core] Surface integrations with internal APIs in upgrade assistant (#199026)\n\n## Summary\r\n\r\n> In https://github.com/elastic/kibana/issues/117241 we're surfacing\r\nusage of APIs marked as `deprecated: true` in the Upgrade Assistant to\r\nhelp users prepare for a major upgrade. While internal APIs aren't\r\nreally deprecated in the same sense we are making a breaking change by\r\nblocking external integrations with these APIs. Since this could be\r\nequally disruptive to users depending on these APIs it would help our\r\nusers to surface such usage in the UA too.\r\n\r\nThe `api` deprecations now have two sub types:\r\n1. routes deprecations `options.deprecated: { … }`\r\n2. access deprecations `options.access: 'internal'`\r\n\r\nThis PR adds the second `api` deprecation subtype. The reason i kept one\r\n`api` deprecation type and i didnt create a new type is that they have\r\nexactly the same registration process but are triggered by different\r\nattributes. The `api` deprecation is fully managed by the core team\r\ninternal services and are configured by the user through the route\r\ninterface so it makes sense to keep them as one type. I also can see us\r\nadding more subtypes to this and just piggybacking on the current flow\r\ninstead of duplicating it everytime.\r\n\r\n\r\n**Checklist**\r\n- [x] Create deprecation subtype\r\n- [x] Example plugin\r\n- [x] Surface the deprecation in UA\r\n- [x] Api access deprecation copy (@florent-leborgne )\r\n- [x] Update README and code annotations\r\n- [x] Unit tests\r\n- [x] Integration tests\r\n\r\n\r\nCloses https://github.com/elastic/kibana/issues/194675\r\n\r\n### Design decisions:\r\nIf the API has both route deprecation (`options.deprecated: { … }` ) AND\r\nis an internal api `options.access: 'internal'`\r\n\r\nThe current behavior i went for in my PR:\r\nI show this API once in the UA under the internal access deprecation.\r\nWhile showing the route deprecation details if defined. This seems to\r\nmake the most sense since users should stop using this API altogether.\r\n\r\n### Copy decisions:\r\n@florent-leborgne wrote the copy for this deprecation subtype.\r\n<img width=\"1319\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/9a32f6d1-686a-4405-aec6-786ac5e10130\">\r\n\r\n<img width=\"713\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/1304c98d-4c64-468e-a7d6-19c1193bf678\">\r\n\r\n\r\n## Testing\r\n\r\nRun kibana locally with the test example plugin that has deprecated\r\nroutes\r\n```\r\nyarn start --plugin-path=examples/routing_example --plugin-path=examples/developer_examples\r\n```\r\n\r\nThe following comprehensive deprecated routes examples are registered\r\ninside the folder:\r\n`examples/routing_example/server/routes/deprecated_routes`\r\n\r\nRun them in the dev console to trigger the deprecation condition so they\r\nshow up in the UA:\r\n\r\n```\r\nGET kbn:/api/routing_example/d/internal_deprecated_route?elasticInternalOrigin=false\r\nGET kbn:/internal/routing_example/d/internal_only_route?elasticInternalOrigin=false\r\nGET kbn:/internal/routing_example/d/internal_versioned_route?apiVersion=1&elasticInternalOrigin=false\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"a10eb1fe4e55aa0cfbbb4b12a8d740a867463283"}},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
113055b89d
|
[8.x] [UA][Core][API Deprecations] Add deprecate type and update copy (#198800) (#199079)
# Backport This will backport the following commits from `main` to `8.x`: - [[UA][Core][API Deprecations] Add deprecate type and update copy (#198800)](https://github.com/elastic/kibana/pull/198800) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ahmad Bamieh","email":"ahmad.bamyeh@elastic.co"},"sourceCommit":{"committedDate":"2024-11-06T05:43:56Z","message":"[UA][Core][API Deprecations] Add deprecate type and update copy (#198800)\n\n## Summary\r\n\r\n- [x] Add `deprecate` Type to the API Deprecations reasons.\r\n- [x] Add a `message` optional field that is surfaced in the UA\r\n- [x] Add IDE documentation in the autocomplete for all deprecation\r\nfields.\r\n- [x] Updated README and example plugin for the `deprecate` type\r\n- [x] Update copy for `deprecate`.\r\n\r\n\r\nCloses https://github.com/elastic/kibana/issues/197721\r\n\r\n## Testing\r\n\r\nRun kibana locally with the test example plugin that has deprecated\r\nroutes\r\n```\r\nyarn start --plugin-path=examples/routing_example --plugin-path=examples/developer_examples\r\n```\r\n\r\nThe following comprehensive deprecated routes examples are registered\r\ninside the folder:\r\n`examples/routing_example/server/routes/deprecated_routes`\r\n\r\nRun them in the dev console to trigger the deprecation condition so they\r\nshow up in the UA:\r\n\r\n```\r\nGET kbn:/api/routing_example/d/deprecated_route\r\n```\r\n\r\n<img width=\"628\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/3c0e1829-9a07-49bd-94a3-398514f448e2\">\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\r\nCo-authored-by: florent-leborgne <florent.leborgne@elastic.co>","sha":"665cf98067b6fbd8850866c75e189c937e1c2dbd","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","auto-backport","backport:prev-minor","v8.17.0"],"title":"[UA][Core][API Deprecations] Add deprecate type and update copy","number":198800,"url":"https://github.com/elastic/kibana/pull/198800","mergeCommit":{"message":"[UA][Core][API Deprecations] Add deprecate type and update copy (#198800)\n\n## Summary\r\n\r\n- [x] Add `deprecate` Type to the API Deprecations reasons.\r\n- [x] Add a `message` optional field that is surfaced in the UA\r\n- [x] Add IDE documentation in the autocomplete for all deprecation\r\nfields.\r\n- [x] Updated README and example plugin for the `deprecate` type\r\n- [x] Update copy for `deprecate`.\r\n\r\n\r\nCloses https://github.com/elastic/kibana/issues/197721\r\n\r\n## Testing\r\n\r\nRun kibana locally with the test example plugin that has deprecated\r\nroutes\r\n```\r\nyarn start --plugin-path=examples/routing_example --plugin-path=examples/developer_examples\r\n```\r\n\r\nThe following comprehensive deprecated routes examples are registered\r\ninside the folder:\r\n`examples/routing_example/server/routes/deprecated_routes`\r\n\r\nRun them in the dev console to trigger the deprecation condition so they\r\nshow up in the UA:\r\n\r\n```\r\nGET kbn:/api/routing_example/d/deprecated_route\r\n```\r\n\r\n<img width=\"628\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/3c0e1829-9a07-49bd-94a3-398514f448e2\">\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\r\nCo-authored-by: florent-leborgne <florent.leborgne@elastic.co>","sha":"665cf98067b6fbd8850866c75e189c937e1c2dbd"}},"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/198800","number":198800,"mergeCommit":{"message":"[UA][Core][API Deprecations] Add deprecate type and update copy (#198800)\n\n## Summary\r\n\r\n- [x] Add `deprecate` Type to the API Deprecations reasons.\r\n- [x] Add a `message` optional field that is surfaced in the UA\r\n- [x] Add IDE documentation in the autocomplete for all deprecation\r\nfields.\r\n- [x] Updated README and example plugin for the `deprecate` type\r\n- [x] Update copy for `deprecate`.\r\n\r\n\r\nCloses https://github.com/elastic/kibana/issues/197721\r\n\r\n## Testing\r\n\r\nRun kibana locally with the test example plugin that has deprecated\r\nroutes\r\n```\r\nyarn start --plugin-path=examples/routing_example --plugin-path=examples/developer_examples\r\n```\r\n\r\nThe following comprehensive deprecated routes examples are registered\r\ninside the folder:\r\n`examples/routing_example/server/routes/deprecated_routes`\r\n\r\nRun them in the dev console to trigger the deprecation condition so they\r\nshow up in the UA:\r\n\r\n```\r\nGET kbn:/api/routing_example/d/deprecated_route\r\n```\r\n\r\n<img width=\"628\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/3c0e1829-9a07-49bd-94a3-398514f448e2\">\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\r\nCo-authored-by: florent-leborgne <florent.leborgne@elastic.co>","sha":"665cf98067b6fbd8850866c75e189c937e1c2dbd"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Ahmad Bamieh <ahmad.bamyeh@elastic.co> |
||
|
7c70868efe
|
[8.x] [Expamples][Guided onboarding] - added missing EuiProvider to fix errors (#199070) (#199076)
# Backport This will backport the following commits from `main` to `8.x`: - [[Expamples][Guided onboarding] - added missing EuiProvider to fix errors (#199070)](https://github.com/elastic/kibana/pull/199070) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2024-11-06T02:17:16Z","message":"[Expamples][Guided onboarding] - added missing EuiProvider to fix errors (#199070)\n\n## Summary\r\n\r\nThis PR fixes a missing `EuiProvider` within the guided onboarding\r\nexample. Currently the app is barely usable as it throws hundreds or\r\neven thousands of errors which make the page extremely slow.\r\n\r\n#### Before fix\r\n\r\n\r\nhttps://github.com/user-attachments/assets/87b8252a-82ac-4094-8adf-3cd4c12236ef\r\n\r\n#### After fix\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0382192b-94b7-4d4b-bada-2d438a750b14\r\n\r\n\r\n### Notes\r\n**_This PR does NOT fix all the console errors, that's why you see a\r\ncouple of errors in the console still on the second video above. It just\r\nfixes the bare minimum to make the app at least usable._**\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"833658f094bfec06b1bfdb34c32376cbb5862f53","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat Hunting:Investigations","backport:version","v8.17.0"],"title":"[Expamples][Guided onboarding] - added missing EuiProvider to fix errors","number":199070,"url":"https://github.com/elastic/kibana/pull/199070","mergeCommit":{"message":"[Expamples][Guided onboarding] - added missing EuiProvider to fix errors (#199070)\n\n## Summary\r\n\r\nThis PR fixes a missing `EuiProvider` within the guided onboarding\r\nexample. Currently the app is barely usable as it throws hundreds or\r\neven thousands of errors which make the page extremely slow.\r\n\r\n#### Before fix\r\n\r\n\r\nhttps://github.com/user-attachments/assets/87b8252a-82ac-4094-8adf-3cd4c12236ef\r\n\r\n#### After fix\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0382192b-94b7-4d4b-bada-2d438a750b14\r\n\r\n\r\n### Notes\r\n**_This PR does NOT fix all the console errors, that's why you see a\r\ncouple of errors in the console still on the second video above. It just\r\nfixes the bare minimum to make the app at least usable._**\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"833658f094bfec06b1bfdb34c32376cbb5862f53"}},"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/199070","number":199070,"mergeCommit":{"message":"[Expamples][Guided onboarding] - added missing EuiProvider to fix errors (#199070)\n\n## Summary\r\n\r\nThis PR fixes a missing `EuiProvider` within the guided onboarding\r\nexample. Currently the app is barely usable as it throws hundreds or\r\neven thousands of errors which make the page extremely slow.\r\n\r\n#### Before fix\r\n\r\n\r\nhttps://github.com/user-attachments/assets/87b8252a-82ac-4094-8adf-3cd4c12236ef\r\n\r\n#### After fix\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0382192b-94b7-4d4b-bada-2d438a750b14\r\n\r\n\r\n### Notes\r\n**_This PR does NOT fix all the console errors, that's why you see a\r\ncouple of errors in the console still on the second video above. It just\r\nfixes the bare minimum to make the app at least usable._**\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"833658f094bfec06b1bfdb34c32376cbb5862f53"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co> |
||
|
ee77e0387b
|
[8.x] [Dashboard] [Collapsable Panels] Add panel management API (#195513) (#199040)
# Backport This will backport the following commits from `main` to `8.x`: - [[Dashboard] [Collapsable Panels] Add panel management API (#195513)](https://github.com/elastic/kibana/pull/195513) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Hannah Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-05T18:11:11Z","message":"[Dashboard] [Collapsable Panels] Add panel management API (#195513)\n\nCloses https://github.com/elastic/kibana/issues/190445\r\n\r\n## Summary\r\n\r\nThis PR adds the first steps of a panel management API to the\r\n`GridLayout` component:\r\n- A method to delete a panel\r\n- A method to replace a panel\r\n- A method to add a panel with a given size and placement technique\r\n(`'placeAtTop' | 'findTopLeftMostOpenSpace'`)\r\n- Currently, we only support adding a panel to the first row, since this\r\nis all that is necessary for parity with the current Dashboard layout\r\nengine - we can revisit this decision as part of the [row\r\nAPI](https://github.com/elastic/kibana/issues/195807).\r\n- A method to get panel count\r\n- This might not be necessary for the dashboard (we'll see), but I\r\nneeded it for the example plugin to be able to generate suggested panel\r\nIDs. It's possible this will get removed 🤷\r\n- The ability to serialize the grid layout state\r\n\r\nI only included the bare minimum here that I know will be necessary for\r\na dashboard integration, but it's possible I missed some things and so\r\nthis API will most likely expand in the future.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/28df844c-5c12-40fd-b4f4-8fbd1a8abc20\r\n\r\n\r\n\r\n\r\n\r\n### Serialization\r\n\r\nWith respect to serialization, there are still some open questions about\r\nhow we want to handle it from the Dashboard side - therefore, in this\r\nPR, I opted to keep the serialization as simple as possible (i.e. both\r\nthe input and serialized output take identical forms for the\r\n`GridLayout` component).\r\n\r\nOur goal is to keep `kbn-grid-layout` as **generic** as possible so,\r\nwhile I considered making the serialize method return the form that the\r\nDashboard expects, I ultimately decided against that; instead, I think\r\nDashboard should be responsible for taking the grid layout's serialized\r\nform and turning it into a dashboard-specific serialization of a grid\r\nlayout and vice-versa for deserializing and sending the initial layout\r\nto the `GridLayout` component.\r\n\r\nThe dashboard grid layout serialization will be tackled as part of\r\nhttps://github.com/elastic/kibana/issues/190446, where it's possible my\r\nopinion might change :) This is just a first draft of the\r\n`kbn-grid-layout` API, after all.\r\n\r\n### Example Grid Layout\r\n\r\nIn the grid layout example plugin, I integrated the API by adding some\r\npretty bare-bones buttons to each panel in order to ensure the API works\r\nas expected - that being said, I didn't worry too much about the design\r\nof these things and so it looks pretty ugly 😆 My next step is\r\nhttps://github.com/elastic/kibana/issues/190379, where I will have to\r\nintegrate the grid layout API with the embeddable actions, at which\r\npoint the design will be improved - so this is a very temporary state\r\n🙇\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x] This was checked for [cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"a91427d71bfab9d6a47c3dcdfd5e1a08b8e3ee6f","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Dashboard","Team:Presentation","loe:medium","release_note:skip","impact:high","v9.0.0","backport:prev-minor","Project:Collapsable Panels"],"title":"[Dashboard] [Collapsable Panels] Add panel management API","number":195513,"url":"https://github.com/elastic/kibana/pull/195513","mergeCommit":{"message":"[Dashboard] [Collapsable Panels] Add panel management API (#195513)\n\nCloses https://github.com/elastic/kibana/issues/190445\r\n\r\n## Summary\r\n\r\nThis PR adds the first steps of a panel management API to the\r\n`GridLayout` component:\r\n- A method to delete a panel\r\n- A method to replace a panel\r\n- A method to add a panel with a given size and placement technique\r\n(`'placeAtTop' | 'findTopLeftMostOpenSpace'`)\r\n- Currently, we only support adding a panel to the first row, since this\r\nis all that is necessary for parity with the current Dashboard layout\r\nengine - we can revisit this decision as part of the [row\r\nAPI](https://github.com/elastic/kibana/issues/195807).\r\n- A method to get panel count\r\n- This might not be necessary for the dashboard (we'll see), but I\r\nneeded it for the example plugin to be able to generate suggested panel\r\nIDs. It's possible this will get removed 🤷\r\n- The ability to serialize the grid layout state\r\n\r\nI only included the bare minimum here that I know will be necessary for\r\na dashboard integration, but it's possible I missed some things and so\r\nthis API will most likely expand in the future.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/28df844c-5c12-40fd-b4f4-8fbd1a8abc20\r\n\r\n\r\n\r\n\r\n\r\n### Serialization\r\n\r\nWith respect to serialization, there are still some open questions about\r\nhow we want to handle it from the Dashboard side - therefore, in this\r\nPR, I opted to keep the serialization as simple as possible (i.e. both\r\nthe input and serialized output take identical forms for the\r\n`GridLayout` component).\r\n\r\nOur goal is to keep `kbn-grid-layout` as **generic** as possible so,\r\nwhile I considered making the serialize method return the form that the\r\nDashboard expects, I ultimately decided against that; instead, I think\r\nDashboard should be responsible for taking the grid layout's serialized\r\nform and turning it into a dashboard-specific serialization of a grid\r\nlayout and vice-versa for deserializing and sending the initial layout\r\nto the `GridLayout` component.\r\n\r\nThe dashboard grid layout serialization will be tackled as part of\r\nhttps://github.com/elastic/kibana/issues/190446, where it's possible my\r\nopinion might change :) This is just a first draft of the\r\n`kbn-grid-layout` API, after all.\r\n\r\n### Example Grid Layout\r\n\r\nIn the grid layout example plugin, I integrated the API by adding some\r\npretty bare-bones buttons to each panel in order to ensure the API works\r\nas expected - that being said, I didn't worry too much about the design\r\nof these things and so it looks pretty ugly 😆 My next step is\r\nhttps://github.com/elastic/kibana/issues/190379, where I will have to\r\nintegrate the grid layout API with the embeddable actions, at which\r\npoint the design will be improved - so this is a very temporary state\r\n🙇\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x] This was checked for [cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"a91427d71bfab9d6a47c3dcdfd5e1a08b8e3ee6f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195513","number":195513,"mergeCommit":{"message":"[Dashboard] [Collapsable Panels] Add panel management API (#195513)\n\nCloses https://github.com/elastic/kibana/issues/190445\r\n\r\n## Summary\r\n\r\nThis PR adds the first steps of a panel management API to the\r\n`GridLayout` component:\r\n- A method to delete a panel\r\n- A method to replace a panel\r\n- A method to add a panel with a given size and placement technique\r\n(`'placeAtTop' | 'findTopLeftMostOpenSpace'`)\r\n- Currently, we only support adding a panel to the first row, since this\r\nis all that is necessary for parity with the current Dashboard layout\r\nengine - we can revisit this decision as part of the [row\r\nAPI](https://github.com/elastic/kibana/issues/195807).\r\n- A method to get panel count\r\n- This might not be necessary for the dashboard (we'll see), but I\r\nneeded it for the example plugin to be able to generate suggested panel\r\nIDs. It's possible this will get removed 🤷\r\n- The ability to serialize the grid layout state\r\n\r\nI only included the bare minimum here that I know will be necessary for\r\na dashboard integration, but it's possible I missed some things and so\r\nthis API will most likely expand in the future.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/28df844c-5c12-40fd-b4f4-8fbd1a8abc20\r\n\r\n\r\n\r\n\r\n\r\n### Serialization\r\n\r\nWith respect to serialization, there are still some open questions about\r\nhow we want to handle it from the Dashboard side - therefore, in this\r\nPR, I opted to keep the serialization as simple as possible (i.e. both\r\nthe input and serialized output take identical forms for the\r\n`GridLayout` component).\r\n\r\nOur goal is to keep `kbn-grid-layout` as **generic** as possible so,\r\nwhile I considered making the serialize method return the form that the\r\nDashboard expects, I ultimately decided against that; instead, I think\r\nDashboard should be responsible for taking the grid layout's serialized\r\nform and turning it into a dashboard-specific serialization of a grid\r\nlayout and vice-versa for deserializing and sending the initial layout\r\nto the `GridLayout` component.\r\n\r\nThe dashboard grid layout serialization will be tackled as part of\r\nhttps://github.com/elastic/kibana/issues/190446, where it's possible my\r\nopinion might change :) This is just a first draft of the\r\n`kbn-grid-layout` API, after all.\r\n\r\n### Example Grid Layout\r\n\r\nIn the grid layout example plugin, I integrated the API by adding some\r\npretty bare-bones buttons to each panel in order to ensure the API works\r\nas expected - that being said, I didn't worry too much about the design\r\nof these things and so it looks pretty ugly 😆 My next step is\r\nhttps://github.com/elastic/kibana/issues/190379, where I will have to\r\nintegrate the grid layout API with the embeddable actions, at which\r\npoint the design will be improved - so this is a very temporary state\r\n🙇\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x] This was checked for [cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"a91427d71bfab9d6a47c3dcdfd5e1a08b8e3ee6f"}}]}] BACKPORT--> Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com> |
||
|
7f99b24394
|
[8.x] [ML] AIOps: Log Rate Analysis embeddable (#197943) (#198963)
# Backport This will backport the following commits from `main` to `8.x`: - [[ML] AIOps: Log Rate Analysis embeddable (#197943)](https://github.com/elastic/kibana/pull/197943) <!--- 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-11-05T14:48:45Z","message":"[ML] AIOps: Log Rate Analysis embeddable (#197943)\n\n## Summary\r\n\r\nFollow up to #192167 (rebase/push gone wrong)\r\n\r\n<img width=\"1920\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/0ee12b65-0bff-4a02-805d-adab1be2a52a\">\r\n\r\n- [x] Let's users create a Log Rate Analysis panel using the \"Add Panel\"\r\nbutton when editing dashboards.\r\n- [x] Retains functionality of links in results table to Discover and\r\nPattern Analysis.\r\n[41b4337]( |
||
|
2230a55278
|
[8.x] [ES|QL] Add`SORT` command mutation APIs (#197185) (#198440)
# Backport This will backport the following commits from `main` to `8.x`: - [[ES|QL] Add`SORT` command mutation APIs (#197185)](https://github.com/elastic/kibana/pull/197185) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Vadim Kibana","email":"82822460+vadimkibana@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-30T20:34:57Z","message":"[ES|QL] Add`SORT` command mutation APIs (#197185)\n\n## Summary\r\n\r\nPartially addresses https://github.com/elastic/kibana/issues/191812\r\n\r\n- Adds traversal and manipulation APIs for `SORT` command.\r\n - `commands.sort.listCommands()`\r\n - `commands.sort.getCommand()`\r\n - `commands.sort.list()`\r\n - `commands.sort.findByPredicate()`\r\n - `commands.sort.find()`\r\n - `commands.sort.remove()`\r\n - `commands.sort.insertIntoCommand()`\r\n - `commands.sort.insertExpression()`\r\n - `commands.sort.insertCommand()`\r\n- Refactors \"generic\" AST manipulation routines into (1) `commands`, (2)\r\n`commands.args`, (3) `commands.options`.\r\n - `generic.commands.*`\r\n - `generic.commands.args.*`\r\n - `generic.commands.options.*`\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\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\r\n\r\n### For maintainers\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)\r\n\r\n---------\r\n\r\nCo-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>","sha":"0cc89457124f9cefbdd08766a7a22b1c4bdcc440","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["review","release_note:skip","v9.0.0","backport:prev-minor","Feature:ES|QL","Team:ESQL","v8.17.0"],"title":"[ES|QL] Add`SORT` command mutation APIs","number":197185,"url":"https://github.com/elastic/kibana/pull/197185","mergeCommit":{"message":"[ES|QL] Add`SORT` command mutation APIs (#197185)\n\n## Summary\r\n\r\nPartially addresses https://github.com/elastic/kibana/issues/191812\r\n\r\n- Adds traversal and manipulation APIs for `SORT` command.\r\n - `commands.sort.listCommands()`\r\n - `commands.sort.getCommand()`\r\n - `commands.sort.list()`\r\n - `commands.sort.findByPredicate()`\r\n - `commands.sort.find()`\r\n - `commands.sort.remove()`\r\n - `commands.sort.insertIntoCommand()`\r\n - `commands.sort.insertExpression()`\r\n - `commands.sort.insertCommand()`\r\n- Refactors \"generic\" AST manipulation routines into (1) `commands`, (2)\r\n`commands.args`, (3) `commands.options`.\r\n - `generic.commands.*`\r\n - `generic.commands.args.*`\r\n - `generic.commands.options.*`\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\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\r\n\r\n### For maintainers\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)\r\n\r\n---------\r\n\r\nCo-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>","sha":"0cc89457124f9cefbdd08766a7a22b1c4bdcc440"}},"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/197185","number":197185,"mergeCommit":{"message":"[ES|QL] Add`SORT` command mutation APIs (#197185)\n\n## Summary\r\n\r\nPartially addresses https://github.com/elastic/kibana/issues/191812\r\n\r\n- Adds traversal and manipulation APIs for `SORT` command.\r\n - `commands.sort.listCommands()`\r\n - `commands.sort.getCommand()`\r\n - `commands.sort.list()`\r\n - `commands.sort.findByPredicate()`\r\n - `commands.sort.find()`\r\n - `commands.sort.remove()`\r\n - `commands.sort.insertIntoCommand()`\r\n - `commands.sort.insertExpression()`\r\n - `commands.sort.insertCommand()`\r\n- Refactors \"generic\" AST manipulation routines into (1) `commands`, (2)\r\n`commands.args`, (3) `commands.options`.\r\n - `generic.commands.*`\r\n - `generic.commands.args.*`\r\n - `generic.commands.options.*`\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\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\r\n\r\n### For maintainers\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)\r\n\r\n---------\r\n\r\nCo-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>","sha":"0cc89457124f9cefbdd08766a7a22b1c4bdcc440"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com> |
||
|
adf6b7dced
|
[8.x] [OneDiscover] Contextual App Menu Extension Point (#195448) (#198320)
# Backport This will backport the following commits from `main` to `8.x`: - [[OneDiscover] Contextual App Menu Extension Point (#195448)](https://github.com/elastic/kibana/pull/195448) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Julia Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2024-10-30T12:35:15Z","message":"[OneDiscover] Contextual App Menu Extension Point (#195448)\n\n- Closes https://github.com/elastic/kibana/issues/194269\r\n\r\n## Summary\r\n\r\nThis PR introduces a new extension point `getAppMenu` which allows to:\r\n- add custom App Menu items (as a button or a submenu with more actions)\r\n- extend Alerts menu item with more custom actions\r\n\r\nAdditionally, this PR rearranges the existing Discover menu items. The\r\nprimary actions are rendered as an icon only now.\r\n\r\n\r\n\r\n\r\nThe example usage of the new extension point can be found in\r\n |
||
|
21dd620443
|
[8.x][Core] [UA] Support API Deprecations #196081 (#198210)
## Summary Backport https://github.com/elastic/kibana/pull/196081 |
||
|
c6cb2f710e
|
[8.x] [Reporting] fix dashboard "Copy Post URL" action (#192530) (#195334)
# Backport This will backport the following commits from `main` to `8.x`: - [[Reporting] fix dashboard "Copy Post URL" action (#192530)](https://github.com/elastic/kibana/pull/192530) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Tim Sullivan","email":"tsullivan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-07T23:54:21Z","message":"[Reporting] fix dashboard \"Copy Post URL\" action (#192530)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/191673\r\nCloses https://github.com/elastic/kibana/issues/183566\r\n\r\nFixes the ability for the POST URL used to automate generation of\r\nreports by adding a `generateExportUrl` function to the ShareMenuItemV2\r\ninterface. This function returns a dynamic export URL for PDF generation\r\nby using the selected layout option.\r\n\r\nOther changes: provides more strictness in type definitions by:\r\n * splitting the types that define `ShareMenuProvider`:\r\n * `ShareMenuProviderV2` provides the `getShareMenuItems` function\r\n* `ShareMenuProviderLegacy` provides the `getShareMenuItemsLegacy`\r\nfunction\r\n\r\n### Release note\r\nFixed an issue with the export options for PNG/PDF reports in a\r\ndashboard.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Use the `generateExportUrl` function inputs to return a POST URL\r\nthat is aware of the layout mode (`print` or `preserve_layout`) and\r\nscreen dimensions\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\r\n- [x] Flaky test runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6986","sha":"38407ae6b01e071757083fe358116b6dd75c4422","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","v8.16.0","backport:version","v8.15.2"],"title":"[Reporting] fix dashboard \"Copy Post URL\" action","number":192530,"url":"https://github.com/elastic/kibana/pull/192530","mergeCommit":{"message":"[Reporting] fix dashboard \"Copy Post URL\" action (#192530)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/191673\r\nCloses https://github.com/elastic/kibana/issues/183566\r\n\r\nFixes the ability for the POST URL used to automate generation of\r\nreports by adding a `generateExportUrl` function to the ShareMenuItemV2\r\ninterface. This function returns a dynamic export URL for PDF generation\r\nby using the selected layout option.\r\n\r\nOther changes: provides more strictness in type definitions by:\r\n * splitting the types that define `ShareMenuProvider`:\r\n * `ShareMenuProviderV2` provides the `getShareMenuItems` function\r\n* `ShareMenuProviderLegacy` provides the `getShareMenuItemsLegacy`\r\nfunction\r\n\r\n### Release note\r\nFixed an issue with the export options for PNG/PDF reports in a\r\ndashboard.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Use the `generateExportUrl` function inputs to return a POST URL\r\nthat is aware of the layout mode (`print` or `preserve_layout`) and\r\nscreen dimensions\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\r\n- [x] Flaky test runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6986","sha":"38407ae6b01e071757083fe358116b6dd75c4422"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.15"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/192530","number":192530,"mergeCommit":{"message":"[Reporting] fix dashboard \"Copy Post URL\" action (#192530)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/191673\r\nCloses https://github.com/elastic/kibana/issues/183566\r\n\r\nFixes the ability for the POST URL used to automate generation of\r\nreports by adding a `generateExportUrl` function to the ShareMenuItemV2\r\ninterface. This function returns a dynamic export URL for PDF generation\r\nby using the selected layout option.\r\n\r\nOther changes: provides more strictness in type definitions by:\r\n * splitting the types that define `ShareMenuProvider`:\r\n * `ShareMenuProviderV2` provides the `getShareMenuItems` function\r\n* `ShareMenuProviderLegacy` provides the `getShareMenuItemsLegacy`\r\nfunction\r\n\r\n### Release note\r\nFixed an issue with the export options for PNG/PDF reports in a\r\ndashboard.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Use the `generateExportUrl` function inputs to return a POST URL\r\nthat is aware of the layout mode (`print` or `preserve_layout`) and\r\nscreen dimensions\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\r\n- [x] Flaky test runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6986","sha":"38407ae6b01e071757083fe358116b6dd75c4422"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.15","label":"v8.15.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com> |