mirror of
https://github.com/elastic/kibana.git
synced 2025-04-21 16:29:04 -04:00
113 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
5acb5506ac
|
[8.x] SKA: Relocate "platform" packages that remain on /packages (#208704) (#212474)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Relocate "platform" packages that remain on `/packages` (#208704)](https://github.com/elastic/kibana/pull/208704) <!--- Backport version: 9.6.6 --> ### 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-02-24T11:03:30Z","message":"SKA: Relocate \"platform\" packages that remain on `/packages` (#208704)\n\n## Summary\n\nThe `/packages` folder at the root of the Kibana repository used to\ncontain a lot of packages.\nIn the context of SKA, they have been gradually moved to various\nlocations:\n* `src/platform/packages`\n* `x-pack/platform/packages`\n* `src/core/packages`\n\nCurrently, only `devOnly: true` packages are left in this folder. This\ncomprises libraries for CLI scripts as well as testing utilities.\n\nWith this PR, we are moving ~half of these packages under\n`src/platform/packages/(private|shared)/`.\nIn particular, we are moving those packages that are being used from\nplatform and/or solutions.\n\nSince they are `\"devOnly\": true`, this means they are ONLY used from\ntests, cypress tests, storybook configs, ./scripts/ folders inside some\nmodules, or other non-prod-time logic. Nonetheless, they are effectively\nreferenced from platform and/or solutions code, hence I decided they\nshould be placed under `platform` folders.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"6a7c904f921434fe21dfa00eceabfb5e64e915dc","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","ci:project-deploy-observability","Team:obs-ux-infra_services","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA: Relocate \"platform\" packages that remain on `/packages`","number":208704,"url":"https://github.com/elastic/kibana/pull/208704","mergeCommit":{"message":"SKA: Relocate \"platform\" packages that remain on `/packages` (#208704)\n\n## Summary\n\nThe `/packages` folder at the root of the Kibana repository used to\ncontain a lot of packages.\nIn the context of SKA, they have been gradually moved to various\nlocations:\n* `src/platform/packages`\n* `x-pack/platform/packages`\n* `src/core/packages`\n\nCurrently, only `devOnly: true` packages are left in this folder. This\ncomprises libraries for CLI scripts as well as testing utilities.\n\nWith this PR, we are moving ~half of these packages under\n`src/platform/packages/(private|shared)/`.\nIn particular, we are moving those packages that are being used from\nplatform and/or solutions.\n\nSince they are `\"devOnly\": true`, this means they are ONLY used from\ntests, cypress tests, storybook configs, ./scripts/ folders inside some\nmodules, or other non-prod-time logic. Nonetheless, they are effectively\nreferenced from platform and/or solutions code, hence I decided they\nshould be placed under `platform` folders.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"6a7c904f921434fe21dfa00eceabfb5e64e915dc"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/212224","number":212224,"state":"OPEN"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208704","number":208704,"mergeCommit":{"message":"SKA: Relocate \"platform\" packages that remain on `/packages` (#208704)\n\n## Summary\n\nThe `/packages` folder at the root of the Kibana repository used to\ncontain a lot of packages.\nIn the context of SKA, they have been gradually moved to various\nlocations:\n* `src/platform/packages`\n* `x-pack/platform/packages`\n* `src/core/packages`\n\nCurrently, only `devOnly: true` packages are left in this folder. This\ncomprises libraries for CLI scripts as well as testing utilities.\n\nWith this PR, we are moving ~half of these packages under\n`src/platform/packages/(private|shared)/`.\nIn particular, we are moving those packages that are being used from\nplatform and/or solutions.\n\nSince they are `\"devOnly\": true`, this means they are ONLY used from\ntests, cypress tests, storybook configs, ./scripts/ folders inside some\nmodules, or other non-prod-time logic. Nonetheless, they are effectively\nreferenced from platform and/or solutions code, hence I decided they\nshould be placed under `platform` folders.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"6a7c904f921434fe21dfa00eceabfb5e64e915dc"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
2772ba7789
|
[8.x] SKA: Fix outdated eslint rules (#206961) (#208486)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Fix outdated eslint rules (#206961)](https://github.com/elastic/kibana/pull/206961) <!--- 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-28T07:49:39Z","message":"SKA: Fix outdated eslint rules (#206961)\n\n## Summary\r\n\r\nSome eslint rules' paths were outdated after the SKA relocations.\r\nThis PR aims at fixing them.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"c347582ffb4a27512148b7d125c7eef276477554","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-minor","Team:obs-ux-infra_services","Team:obs-ux-management"],"title":"SKA: Fix outdated eslint rules","number":206961,"url":"https://github.com/elastic/kibana/pull/206961","mergeCommit":{"message":"SKA: Fix outdated eslint rules (#206961)\n\n## Summary\r\n\r\nSome eslint rules' paths were outdated after the SKA relocations.\r\nThis PR aims at fixing them.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"c347582ffb4a27512148b7d125c7eef276477554"}},"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/206961","number":206961,"mergeCommit":{"message":"SKA: Fix outdated eslint rules (#206961)\n\n## Summary\r\n\r\nSome eslint rules' paths were outdated after the SKA relocations.\r\nThis PR aims at fixing them.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"c347582ffb4a27512148b7d125c7eef276477554"}}]}] BACKPORT--> |
||
|
5480b80ad6
|
[8.x] SKA: Relocate remaining modules (#206103) (#206471)
## Summary Backport https://github.com/elastic/kibana/pull/206103 by re-running the `relocate` script --------- Co-authored-by: kibanamachine <42973632+kibanamachine@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> |
||
|
5cd26eef91
|
[8.x] Sustainable Kibana Architecture: Move CodeEditor related packages #205587 (#205738) (#205919)
# Backport This will backport the following commits from `main` to `8.x`: - [Sustainable Kibana Architecture: Move `CodeEditor` related packages #205587 (#205738)](https://github.com/elastic/kibana/pull/205738) <!--- 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-08T14:25:47Z","message":"Sustainable Kibana Architecture: Move `CodeEditor` related packages #205587 (#205738)\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#### 3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/code-editor` |\r\n`src/platform/packages/shared/shared-ux/code_editor/impl` |\r\n| `@kbn/code-editor-mock` |\r\n`src/platform/packages/shared/shared-ux/code_editor/mocks` |\r\n| `@kbn/monaco` | `src/platform/packages/shared/kbn-monaco` |\r\n\r\n\r\n<details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-monaco/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-monaco/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-monaco/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/jest.config.js:12\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:16\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:18\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:31\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:37\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:40\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:16\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:18\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:25\r\n```\r\n\r\n</details>","sha":"3b2ab7b4134c05c00a74a70d7905f6b06e1364c1","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":205738,"url":"https://github.com/elastic/kibana/pull/205738","mergeCommit":{"message":"Sustainable Kibana Architecture: Move `CodeEditor` related packages #205587 (#205738)\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#### 3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/code-editor` |\r\n`src/platform/packages/shared/shared-ux/code_editor/impl` |\r\n| `@kbn/code-editor-mock` |\r\n`src/platform/packages/shared/shared-ux/code_editor/mocks` |\r\n| `@kbn/monaco` | `src/platform/packages/shared/kbn-monaco` |\r\n\r\n\r\n<details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-monaco/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-monaco/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-monaco/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/jest.config.js:12\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:16\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:18\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:31\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:37\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:40\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:16\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:18\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:25\r\n```\r\n\r\n</details>","sha":"3b2ab7b4134c05c00a74a70d7905f6b06e1364c1"}},"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/205738","number":205738,"mergeCommit":{"message":"Sustainable Kibana Architecture: Move `CodeEditor` related packages #205587 (#205738)\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#### 3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/code-editor` |\r\n`src/platform/packages/shared/shared-ux/code_editor/impl` |\r\n| `@kbn/code-editor-mock` |\r\n`src/platform/packages/shared/shared-ux/code_editor/mocks` |\r\n| `@kbn/monaco` | `src/platform/packages/shared/kbn-monaco` |\r\n\r\n\r\n<details >\r\n<summary>Updated relative paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-monaco/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-monaco/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-monaco/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/jest.config.js:12\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:16\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:18\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:31\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:37\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:40\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:16\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:18\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:25\r\n```\r\n\r\n</details>","sha":"3b2ab7b4134c05c00a74a70d7905f6b06e1364c1"}}]}] BACKPORT--> --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
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> |
||
|
861c2de3e5
|
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-core (#201653) (#205563)
# Backport This will backport the following commits from `main` to `8.x`: - [Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-core` (#201653)](https://github.com/elastic/kibana/pull/201653) <!--- 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-04T18:47:24Z","message":"Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-core` (#201653)\n\n## Summary\n\nStart relocating Kibana modules (packages and plugins) to the new folder\nstructure, according to the _Kibana Sustainable Architecture_\ninitiative.\n#### 16 plugin(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/cloud-chat-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_chat` |\n| `@kbn/cloud-experiments-plugin` |\n`x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments` |\n| `@kbn/cloud-full-story-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_full_story` |\n| `@kbn/cloud-links-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_links` |\n| `@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` |\n| `@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` |\n| `@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` |\n| `@kbn/kibana-usage-collection-plugin` |\n`src/platform/plugins/private/kibana_usage_collection` |\n| `@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing` |\n| `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed` |\n| `@kbn/saved-objects-management-plugin` |\n`src/platform/plugins/shared/saved_objects_management` |\n| `@kbn/telemetry-collection-manager-plugin` |\n`src/platform/plugins/shared/telemetry_collection_manager` |\n| `@kbn/telemetry-collection-xpack-plugin` |\n`x-pack/platform/plugins/private/telemetry_collection_xpack` |\n| `@kbn/telemetry-management-section-plugin` |\n`src/platform/plugins/shared/telemetry_management_section` |\n| `@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` |\n| `@kbn/usage-collection-plugin` |\n`src/platform/plugins/shared/usage_collection` |\n\n#### 22 package(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/analytics` | `src/platform/packages/shared/kbn-analytics` |\n| `@kbn/analytics-collection-utils` |\n`src/platform/packages/private/analytics/utils/analytics_collection_utils`\n|\n| `@kbn/apm-config-loader` |\n`src/platform/packages/private/kbn-apm-config-loader` |\n| `@kbn/cloud` | `src/platform/packages/shared/cloud` |\n| `@kbn/config` | `src/platform/packages/shared/kbn-config` |\n| `@kbn/config-mocks` | `src/platform/packages/private/kbn-config-mocks`\n|\n| `@kbn/config-schema` |\n`src/platform/packages/shared/kbn-config-schema` |\n| `@kbn/crypto-browser` |\n`src/platform/packages/shared/kbn-crypto-browser` |\n| `@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` |\n| `@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` |\n| `@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` |\n| `@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` |\n| `@kbn/health-gateway-server` |\n`src/platform/packages/private/kbn-health-gateway-server` |\n| `@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` |\n| `@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` |\n| `@kbn/logging` | `src/platform/packages/shared/kbn-logging` |\n| `@kbn/logging-mocks` |\n`src/platform/packages/shared/kbn-logging-mocks` |\n| `@kbn/router-to-openapispec` |\n`src/platform/packages/shared/kbn-router-to-openapispec` |\n| `@kbn/server-http-tools` |\n`src/platform/packages/shared/kbn-server-http-tools` |\n| `@kbn/std` | `src/platform/packages/shared/kbn-std` |\n| `@kbn/utility-types` |\n`src/platform/packages/shared/kbn-utility-types` |\n| `@kbn/zod` | `src/platform/packages/shared/kbn-zod` |\n\n---------\n\nCo-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"6049493e4a2372ea22986b231ad2bd59584fe9b8","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","plugin groups"],"number":201653,"url":"https://github.com/elastic/kibana/pull/201653","mergeCommit":{"message":"Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-core` (#201653)\n\n## Summary\n\nStart relocating Kibana modules (packages and plugins) to the new folder\nstructure, according to the _Kibana Sustainable Architecture_\ninitiative.\n#### 16 plugin(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/cloud-chat-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_chat` |\n| `@kbn/cloud-experiments-plugin` |\n`x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments` |\n| `@kbn/cloud-full-story-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_full_story` |\n| `@kbn/cloud-links-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_links` |\n| `@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` |\n| `@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` |\n| `@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` |\n| `@kbn/kibana-usage-collection-plugin` |\n`src/platform/plugins/private/kibana_usage_collection` |\n| `@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing` |\n| `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed` |\n| `@kbn/saved-objects-management-plugin` |\n`src/platform/plugins/shared/saved_objects_management` |\n| `@kbn/telemetry-collection-manager-plugin` |\n`src/platform/plugins/shared/telemetry_collection_manager` |\n| `@kbn/telemetry-collection-xpack-plugin` |\n`x-pack/platform/plugins/private/telemetry_collection_xpack` |\n| `@kbn/telemetry-management-section-plugin` |\n`src/platform/plugins/shared/telemetry_management_section` |\n| `@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` |\n| `@kbn/usage-collection-plugin` |\n`src/platform/plugins/shared/usage_collection` |\n\n#### 22 package(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/analytics` | `src/platform/packages/shared/kbn-analytics` |\n| `@kbn/analytics-collection-utils` |\n`src/platform/packages/private/analytics/utils/analytics_collection_utils`\n|\n| `@kbn/apm-config-loader` |\n`src/platform/packages/private/kbn-apm-config-loader` |\n| `@kbn/cloud` | `src/platform/packages/shared/cloud` |\n| `@kbn/config` | `src/platform/packages/shared/kbn-config` |\n| `@kbn/config-mocks` | `src/platform/packages/private/kbn-config-mocks`\n|\n| `@kbn/config-schema` |\n`src/platform/packages/shared/kbn-config-schema` |\n| `@kbn/crypto-browser` |\n`src/platform/packages/shared/kbn-crypto-browser` |\n| `@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` |\n| `@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` |\n| `@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` |\n| `@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` |\n| `@kbn/health-gateway-server` |\n`src/platform/packages/private/kbn-health-gateway-server` |\n| `@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` |\n| `@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` |\n| `@kbn/logging` | `src/platform/packages/shared/kbn-logging` |\n| `@kbn/logging-mocks` |\n`src/platform/packages/shared/kbn-logging-mocks` |\n| `@kbn/router-to-openapispec` |\n`src/platform/packages/shared/kbn-router-to-openapispec` |\n| `@kbn/server-http-tools` |\n`src/platform/packages/shared/kbn-server-http-tools` |\n| `@kbn/std` | `src/platform/packages/shared/kbn-std` |\n| `@kbn/utility-types` |\n`src/platform/packages/shared/kbn-utility-types` |\n| `@kbn/zod` | `src/platform/packages/shared/kbn-zod` |\n\n---------\n\nCo-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"6049493e4a2372ea22986b231ad2bd59584fe9b8"}},"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/201653","number":201653,"mergeCommit":{"message":"Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-core` (#201653)\n\n## Summary\n\nStart relocating Kibana modules (packages and plugins) to the new folder\nstructure, according to the _Kibana Sustainable Architecture_\ninitiative.\n#### 16 plugin(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/cloud-chat-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_chat` |\n| `@kbn/cloud-experiments-plugin` |\n`x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments` |\n| `@kbn/cloud-full-story-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_full_story` |\n| `@kbn/cloud-links-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_links` |\n| `@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` |\n| `@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` |\n| `@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` |\n| `@kbn/kibana-usage-collection-plugin` |\n`src/platform/plugins/private/kibana_usage_collection` |\n| `@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing` |\n| `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed` |\n| `@kbn/saved-objects-management-plugin` |\n`src/platform/plugins/shared/saved_objects_management` |\n| `@kbn/telemetry-collection-manager-plugin` |\n`src/platform/plugins/shared/telemetry_collection_manager` |\n| `@kbn/telemetry-collection-xpack-plugin` |\n`x-pack/platform/plugins/private/telemetry_collection_xpack` |\n| `@kbn/telemetry-management-section-plugin` |\n`src/platform/plugins/shared/telemetry_management_section` |\n| `@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` |\n| `@kbn/usage-collection-plugin` |\n`src/platform/plugins/shared/usage_collection` |\n\n#### 22 package(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/analytics` | `src/platform/packages/shared/kbn-analytics` |\n| `@kbn/analytics-collection-utils` |\n`src/platform/packages/private/analytics/utils/analytics_collection_utils`\n|\n| `@kbn/apm-config-loader` |\n`src/platform/packages/private/kbn-apm-config-loader` |\n| `@kbn/cloud` | `src/platform/packages/shared/cloud` |\n| `@kbn/config` | `src/platform/packages/shared/kbn-config` |\n| `@kbn/config-mocks` | `src/platform/packages/private/kbn-config-mocks`\n|\n| `@kbn/config-schema` |\n`src/platform/packages/shared/kbn-config-schema` |\n| `@kbn/crypto-browser` |\n`src/platform/packages/shared/kbn-crypto-browser` |\n| `@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` |\n| `@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` |\n| `@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` |\n| `@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` |\n| `@kbn/health-gateway-server` |\n`src/platform/packages/private/kbn-health-gateway-server` |\n| `@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` |\n| `@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` |\n| `@kbn/logging` | `src/platform/packages/shared/kbn-logging` |\n| `@kbn/logging-mocks` |\n`src/platform/packages/shared/kbn-logging-mocks` |\n| `@kbn/router-to-openapispec` |\n`src/platform/packages/shared/kbn-router-to-openapispec` |\n| `@kbn/server-http-tools` |\n`src/platform/packages/shared/kbn-server-http-tools` |\n| `@kbn/std` | `src/platform/packages/shared/kbn-std` |\n| `@kbn/utility-types` |\n`src/platform/packages/shared/kbn-utility-types` |\n| `@kbn/zod` | `src/platform/packages/shared/kbn-zod` |\n\n---------\n\nCo-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"6049493e4a2372ea22986b231ad2bd59584fe9b8"}}]}] BACKPORT--> --------- Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co> |
||
|
a27fee19e7
|
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-presentation (#204843) (#205120)
## 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). #### 21 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/canvas-plugin` | `x-pack/platform/plugins/private/canvas` | | `@kbn/controls-plugin` | `src/platform/plugins/shared/controls` | | `@kbn/dashboard-enhanced-plugin` | `x-pack/platform/plugins/shared/dashboard_enhanced` | | `@kbn/dashboard-plugin` | `src/platform/plugins/shared/dashboard` | | `@kbn/embeddable-enhanced-plugin` | `x-pack/platform/plugins/shared/embeddable_enhanced` | | `@kbn/embeddable-plugin` | `src/platform/plugins/shared/embeddable` | | `@kbn/expression-error-plugin` | `src/platform/plugins/shared/expression_error` | | `@kbn/expression-image-plugin` | `src/platform/plugins/shared/expression_image` | | `@kbn/expression-metric-plugin` | `src/platform/plugins/shared/expression_metric` | | `@kbn/expression-repeat-image-plugin` | `src/platform/plugins/shared/expression_repeat_image` | | `@kbn/expression-reveal-image-plugin` | `src/platform/plugins/shared/expression_reveal_image` | | `@kbn/expression-shape-plugin` | `src/platform/plugins/shared/expression_shape` | | `@kbn/file-upload-plugin` | `x-pack/platform/plugins/private/file_upload` | | `@kbn/input-control-vis-plugin` | `src/platform/plugins/private/input_control_vis` | | `@kbn/inspector-plugin` | `src/platform/plugins/shared/inspector` | | `@kbn/links-plugin` | `src/platform/plugins/private/links` | | `@kbn/maps-ems-plugin` | `src/platform/plugins/private/maps_ems` | | `@kbn/maps-plugin` | `x-pack/platform/plugins/shared/maps` | | `@kbn/presentation-panel-plugin` | `src/platform/plugins/private/presentation_panel` | | `@kbn/presentation-util-plugin` | `src/platform/plugins/shared/presentation_util` | | `@kbn/vis-type-markdown-plugin` | `src/platform/plugins/private/vis_type_markdown` | #### 3 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/panel-loader` | `src/platform/packages/private/kbn-panel-loader` | | `@kbn/presentation-containers` | `src/platform/packages/shared/presentation/presentation_containers` | | `@kbn/presentation-publishing` | `src/platform/packages/shared/presentation/presentation_publishing` | <details > <summary>Updated references</summary> ``` ./.eslintignore ./.eslintrc.js ./.github/codeql/codeql-config.yml ./.github/paths-labeller.yml ./.i18nrc.json ./docs/developer/best-practices/index.asciidoc ./docs/developer/contributing/development-tests.asciidoc ./docs/developer/plugin-list.asciidoc ./legacy_rfcs/text/0018_timeslider.md ./package.json ./packages/kbn-cli-dev-mode/src/watcher.ts ./packages/kbn-docs-utils/src/utils.test.ts ./packages/kbn-repo-packages/package-map.json ./packages/kbn-test/src/jest/setup/polyfills.jsdom.js ./packages/kbn-ts-projects/config-paths.json ./src/dev/build/tasks/build_canvas_shareable_runtime.ts ./src/dev/build/tasks/create_archives_sources_task.ts ./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt ./src/dev/precommit_hook/casing_check_config.js ./src/dev/storybook/aliases.ts ./src/platform/packages/private/kbn-panel-loader/jest.config.js ./src/platform/packages/shared/presentation/presentation_containers/jest.config.js ./src/platform/packages/shared/presentation/presentation_publishing/jest.config.js ./src/platform/plugins/private/input_control_vis/jest.config.js ./src/platform/plugins/private/links/jest.config.js ./src/platform/plugins/private/maps_ems/jest.config.js ./src/platform/plugins/private/presentation_panel/jest.config.js ./src/platform/plugins/private/vis_type_markdown/jest.config.js ./src/platform/plugins/shared/controls/jest.config.js ./src/platform/plugins/shared/dashboard/jest.config.js ./src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap ./src/platform/plugins/shared/embeddable/README.md ./src/platform/plugins/shared/embeddable/jest.config.js ./src/platform/plugins/shared/expression_image/jest.config.js ./src/platform/plugins/shared/expression_metric/jest.config.js ./src/platform/plugins/shared/expression_repeat_image/jest.config.js ./src/platform/plugins/shared/expression_reveal_image/jest.config.js ./src/platform/plugins/shared/expression_shape/jest.config.js ./src/platform/plugins/shared/inspector/jest.config.js ./src/platform/plugins/shared/presentation_util/jest.config.js ./src/platform/plugins/shared/presentation_util/storybook/manager.ts ./src/plugins/visualizations/public/visualize_app/utils/migrate_app_state.ts ./tsconfig.base.json ./x-pack/.i18nrc.json ./x-pack/platform/plugins/private/canvas/jest.config.js ./x-pack/platform/plugins/private/canvas/scripts/jest.js ./x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js ./x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts ./x-pack/platform/plugins/private/file_upload/jest.config.js ./x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts ./x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js ./x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts ./x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js ./x-pack/platform/plugins/shared/maps/README.md ./x-pack/platform/plugins/shared/maps/jest.config.js ./x-pack/plugins/reporting/server/config/ui_settings.ts ./x-pack/test/api_integration/apis/maps/fonts_api.js ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` src/platform/packages/private/kbn-panel-loader/jest.config.js:12 src/platform/packages/private/kbn-panel-loader/tsconfig.json:2 src/platform/packages/shared/presentation/presentation_containers/jest.config.js:12 src/platform/packages/shared/presentation/presentation_containers/tsconfig.json:2 src/platform/packages/shared/presentation/presentation_publishing/jest.config.js:12 src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json:2 src/platform/plugins/private/input_control_vis/jest.config.js:12 src/platform/plugins/private/input_control_vis/tsconfig.json:2 src/platform/plugins/private/links/jest.config.js:12 src/platform/plugins/private/links/public/_mixins.scss:1 src/platform/plugins/private/links/tsconfig.json:2 src/platform/plugins/private/maps_ems/jest.config.js:12 src/platform/plugins/private/maps_ems/tsconfig.json:2 src/platform/plugins/private/presentation_panel/jest.config.js:12 src/platform/plugins/private/presentation_panel/tsconfig.json:2 src/platform/plugins/private/presentation_panel/tsconfig.json:6 src/platform/plugins/private/vis_type_markdown/jest.config.js:12 src/platform/plugins/private/vis_type_markdown/tsconfig.json:2 src/platform/plugins/shared/controls/jest.config.js:12 src/platform/plugins/shared/controls/tsconfig.json:12 src/platform/plugins/shared/controls/tsconfig.json:2 src/platform/plugins/shared/dashboard/jest.config.js:12 src/platform/plugins/shared/dashboard/tsconfig.json:2 src/platform/plugins/shared/embeddable/jest.config.js:12 src/platform/plugins/shared/embeddable/tsconfig.json:2 src/platform/plugins/shared/expression_error/tsconfig.json:2 src/platform/plugins/shared/expression_image/jest.config.js:12 src/platform/plugins/shared/expression_image/tsconfig.json:2 src/platform/plugins/shared/expression_metric/jest.config.js:12 src/platform/plugins/shared/expression_metric/tsconfig.json:2 src/platform/plugins/shared/expression_repeat_image/jest.config.js:12 src/platform/plugins/shared/expression_repeat_image/tsconfig.json:2 src/platform/plugins/shared/expression_reveal_image/jest.config.js:12 src/platform/plugins/shared/expression_reveal_image/tsconfig.json:2 src/platform/plugins/shared/expression_shape/jest.config.js:12 src/platform/plugins/shared/expression_shape/tsconfig.json:2 src/platform/plugins/shared/inspector/jest.config.js:12 src/platform/plugins/shared/inspector/tsconfig.json:2 src/platform/plugins/shared/presentation_util/jest.config.js:12 src/platform/plugins/shared/presentation_util/storybook/main.ts:17 src/platform/plugins/shared/presentation_util/tsconfig.json:13 src/platform/plugins/shared/presentation_util/tsconfig.json:2 x-pack/platform/plugins/private/canvas/CONTRIBUTING.md:3 x-pack/platform/plugins/private/canvas/PLUGINS.mdx:174 x-pack/platform/plugins/private/canvas/PLUGINS.mdx:175 x-pack/platform/plugins/private/canvas/PLUGINS.mdx:63 x-pack/platform/plugins/private/canvas/PLUGINS.mdx:64 x-pack/platform/plugins/private/canvas/jest.config.js:10 x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js:11 x-pack/platform/plugins/private/canvas/storybook/constants.ts:10 x-pack/platform/plugins/private/canvas/storybook/storyshots.skipped_test.tsx:86 x-pack/platform/plugins/private/canvas/tsconfig.json:16 x-pack/platform/plugins/private/canvas/tsconfig.json:2 x-pack/platform/plugins/private/canvas/tsconfig.json:29 x-pack/platform/plugins/private/file_upload/jest.config.js:10 x-pack/platform/plugins/private/file_upload/tsconfig.json:2 x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js:10 x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json:2 x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js:10 x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json:2 x-pack/platform/plugins/shared/maps/jest.config.js:10 x-pack/platform/plugins/shared/maps/public/_main.scss:1 x-pack/platform/plugins/shared/maps/tsconfig.json:12 x-pack/platform/plugins/shared/maps/tsconfig.json:2 ``` </details> |
||
|
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> |
||
|
fb19e57a4e
|
[ES|QL] New @kbn/esql-services package (#179029)
## Summary Closes https://github.com/elastic/kibana/issues/172649 This PR extracts the ES|QL service like "validation", "autocomplete", "code_action" (quick fixes) and some other services into a separate package `@kbn/esql-validation-autocomplete` which has no tie with Monaco editor anymore. All the AST and grammar logic has been encapsulated into a single `@kbn/esql-ast` package who contains the `getAst` function together with the `parser` and `lexer`. ## Validation enhancements The validation API has been enhanced to gracefully degrade whenever callbacks are not provided, via the `ignoreOnMissingCallback` option. Tests are included as well for this scenario. ### Example plugin An example plugin app has been developed to show to to use the validation API <img width="500" alt="Screenshot 2024-03-22 at 17 45 38" src=" |
||
|
9c2a677f7f
|
Remove references to deleted .ci folder (#177168) | ||
|
de961a54a7
|
Remove Gainsight from cloud plugin (#172318)
## Summary - Remove gainsight plugin from cloud plugin - add config deprecation in fullstory Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
ca93cb60a1
|
[NOTICE.txt ] Fix notices for Gainsight and FullStory (#146004)
Resolves https://github.com/elastic/kibana/issues/143838 |
||
|
464a9f7cf0
|
[Step 1][ESQL] Syntax part (#146379)
Part of: #144296 ## Summary First step of `[ESQL] Improve the typing experience` (#144296). This PR is the skeleton for later parts, but already supports basic parsing scenarios. ## What was done: - [x] Added new `ESQL` language in `@kbn/monaco` package. Parsing was done using the `antl` syntax; - [x] `kbnUiSharedDeps`-srcJs bundle has been optimised, all workers have been moved into separate chunks. This gave almost minus` 2 MB` 🕺 - [x] existing `esql` lang was renamed to `sql`. In order not to confuse anyone in the future - [x] some code from `painless` folder was moved to `common` and reused in ESQL (probably needs some refactoring in future) ## Next steps: - [ ] improving `ANLT` syntax to cover all cases - [ ] implementing `Autocomplete` feature ## How to use new `ESQL Lang`: To use new language 2 properties should be set for `CodeEditor` component ```ts import { ESQL_LANG_ID, ESQL_THEME_ID } from '@kbn/monaco'; import { CodeEditor } from '@kbn/kibana-react-plugin/public'; <CodeEditor ... languageId={ESQL_LANG_ID} options={{ ... theme: ESQL_THEME_ID, }} /> ``` Currently syntax highlighting looks like: <img width="450" alt="image" src="https://user-images.githubusercontent.com/20072247/205685072-0658fad1-d034-4d36-a44d-6a49e7365ab3.png"> <img width="450" alt="image" src="https://user-images.githubusercontent.com/20072247/205685220-c67db50c-6f3b-49b5-9576-d1ee68428184.png"> Will be updated in Step 2 Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Marco Liberati <dej611@users.noreply.github.com> |
||
|
cea0d57cd9
|
[POC] Add Gainsight shipper for cloud (#141132)
* Add gainsight * Fix gainsight build * lint and prettier * tests * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * [CI] Auto-commit changed files from 'node scripts/generate codeowners' * fix tests * test * fix tests * move the configuration out of the cloud plugin 2 * tests * [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs' * pass deploymentId as user key * Add css and widget * lint * tests * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * tests * add render Css * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * fix gainSightApi * replace cluster id with cluster name * fix types and tests * Fix license * rename gainsight * remove formatpayload - remove formatPayload - remove typeDeps from shipper/g/kibana.jsonc - replace type shared-common with shared-browser * Add and fix tests - Add test for renderCss - update tests checking identify with different userId - remove optionalplugin security * add tests to gainsight shipper - test globalcontext request (set and remove) - hash only in dist ==false * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * move check on gainsight init * Remove translation update docs - update docs - always update userId * licence * fix tests Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
dea9159c5d
|
chore(NA): rename @elastic/eslint-config-kibana as @kbn/eslint-config (#132278) | ||
|
ad0eb60772
|
[kbn/generate] add basic package generator (#127095) | ||
|
eb68e95acd
|
[ts] enable sourcemaps in summarized types of @kbn/crypto (#126410)
* [ts] enable sourcemaps in summarized types of @kbn/crypto * update snapshots * remove unnecessary exports of @kbn/type-summarizer package * remove tsc from the build process * use `@kbn/type-summarizer` to summarize its own types * add tests for interface and function * switch to export type where necessary * ignore __tmp__ in global jest preset * ignore __tmp__ globally * remove `@kbn/crypto` types path |
||
|
356861d23b
|
chore(NA): splits types from code on @kbn/ui-shared-deps-src (#123313)
* chore(NA): splits types from code on @kbn/ui-shared-deps-src * chore(NA): break flot-charts into another package * chore(NA): skip failing tests * chore(NA): remove skip and add correct value * chore(NA): fix new ui-theme import * chore(NA): adding fleet cloned test * chore(NA): remove cloned test * chore(NA): remove added typo |
||
|
5a9bd20b27
|
[ci/flaky] support triggering with config via the env (#122041) | ||
|
eaf70a0b4e
|
[kbn/ui-shared-deps] split into two packages (#110558)
* [kbn/ui-shared-deps] split into two packages * fix asset categorizer * update snapshots * reference npm dll from optimizer Co-authored-by: spalger <spalger@users.noreply.github.com> |
||
|
17a4186ce8
|
[timelion] Move grammar to package (#111881)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> |
||
|
2711e7b1cc
|
Removing old e2e (#112170)
* removing old e2e * removing e2e * removing e2e Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> |
||
|
e20f530762
|
Move to vis_types folder part 3 (#112084)
* Move to vis_types folder part 3 * Fix jest tests |
||
|
f08005e0e7
|
[Reporting] Create reports with full state required to generate the report (#101048)
* very wip * - Reached first iteration of reporting body value being saved with the report for **PDF** - Removed v2 of the reporting since it looks like we may be able to make a backwards compatible change on existing PDF/PNG exports * reintroduced pdfv2 export type, see https://github.com/elastic/kibana/issues/99890\#issuecomment-851527878 * fix a whol bunch of imports * mapped out a working version for pdf * refactor to tuples * added v2 pdf to export type registry * a lot of hackery to get reports generated in v2 * added png v2, png reports with locator state * wip: refactored for loading the saved object on the redirect app URL * major wip: initial stages of reporting redirect app, need to add a way to generate v2 reports! * added a way to generate a v2 pdf from the example reporting plugin * updated reporting example app to read and accept forwarded app state * added reporting locator and updated server-side route to not use Boom * removed reporting locator for now, first iteration of reports being generated using the reporting redirect app * version with PNG working * moved png/v2 -> png_v2 * moved printable_pdf/v2 -> printable_pdf_v2 * updated share public setup and start mocks * fix types after merging master * locator -> locatorParams AND added a new endpoint for getting locator params to client * fix type import * fix types * clean up bad imports * forceNow required on v2 payloads * reworked create job interface for PNG task payload and updated consumer code report example for forcenow * put locatorparams[] back onto the reportsource interface because on baseparams it conflicts with the different export type params * move getCustomLogo and generatePng to common for export types * additional import fixes * urls -> url * chore: fix and update types and fix jest import mocks * - refactored v2 behaviour to avoid client-side request for locator instead this value is injected pre-page-load so that the redirect app can use it - refactored the interface for the getScreenshot observable factory. specifically we now expect 'urlsOrUrlTuples' to be passed in. tested with new and old report types. * updated the reporting example app to use locator migration for v2 report types * added functionality for setting forceNow * added forceNow to job payload for v2 report types and fixed shared components for v2 * write the output of v2 reports to stream * fix types for forceNow * added tests for execute job * added comments, organized imports, removed selectors from report params * fix some type issues * feedback: removed duplicated PDF code, cleaned screenshot observable function and other minor tweaks * use variable (not destructured values) and remove unused import Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> |
||
|
11e68fda87
|
[packages] Move @kbn/interpreter to Bazel (#101089)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> |
||
|
cee33b004c
|
chore(NA): moving @kbn/ui-shared-deps into bazel (#101669)
* chore(NA): moving @kbn/io-ts-utils into bazel
* chore(NA): moving @kbn/ui-shared-deps into bazel
* chore(NA): compelte working build for @kbn/ui-shared-deps
* chore(NA): solve eslint problems
* chore(NA): solve typechecking
* chore(NA): debugger changes
* chore(NA): update optimizer basic integration tests
* chore(NA): ship kbn/ui-shared-deps metrics.json from new location at shared_built_assets
* chore(NA): use correct ui-shared-deps metrics file location
* chore(NA): remove webpack bazel config
* chore(NA): implement improvements on webpack config
* chore(NA): remove extra comment
* chore(NA): try esbuild-loader minimizer
* Revert "chore(NA): try esbuild-loader minimizer"
This reverts commit
|
||
|
2744f70466
|
Remove the no longer used release-notes script (#97806)
* Remove the no longer used release-notes script * Commit missing file |
||
|
251bd9afc6
|
Remove /src/legacy (#95510)
* starting removing stuff * fix jest config * disable CLI mode until other PR is merged * fix the schema * add deprecation for maxPayloadBytes * fix legacy start logic * deletes `env` from unknown args * fix FTR test config * some legacy service deletion * move config validation * remove legacy exports from entrypoint * preserve legacy logging in core logging config * try to fix uiSettings integration tests * fix legacy service tests * more type fix * use fromRoot from @kbn/utils * cleanup kibana.d.ts * fix unit tests * remove src/core/server/utils * fix server script * add integration test for `/{path*}` route * add unit tests on legacy config * adapt uiSetting IT bis * fix tests * update generated doc * address some review comments * move review comments * fix some stuff * fix some stuff * fix some stuff * fix some stuff bis * generated doc * add test for ensureValidConfiguration |
||
|
7c689a5b5b
|
chore(NA): stop grouping bazel out symlink folders (#96066) | ||
|
03206b688a
|
[CI] Build and publish storybooks (#87701) | ||
|
aa468c1d56
|
[Timelion] Communicate the index pattern to the dashboard (#90623)
* [Timelion] Communicate the index pattern to the dashboard Closes #86418 * update types / limits.yml * Update timelion_vis_type.tsx * fix typo * remove extra await Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> |
||
|
4190ea4237
|
[eslint] stop ignoring .storybook files (#90447)
Co-authored-by: spalger <spalger@users.noreply.github.com> |
||
|
a0d5d5614d
|
chore(NA): introduce new yarn kbn reset command to support bazel workflow (#89597)
* chore(NA): introduce new yarn kbn destroy command to support bazel workflow * chore(NA): update wording for new kbn pm changes * chore(NA): update .bazelrc.common Co-authored-by: Tyler Smalley <tylersmalley@me.com> * chore(NA): update .bazelrc Co-authored-by: Tyler Smalley <tylersmalley@me.com> * chore(NA): update packages/kbn-pm/src/commands/clean.ts Co-authored-by: Tyler Smalley <tylersmalley@me.com> * chore(NA): update packages/kbn-pm/src/commands/destroy.ts Co-authored-by: Tyler Smalley <tylersmalley@me.com> * chore(NA): update packages/kbn-pm/src/commands/clean.ts Co-authored-by: Tyler Smalley <tylersmalley@me.com> * chore(NA): update packages/kbn-pm/src/commands/destroy.ts Co-authored-by: Tyler Smalley <tylersmalley@me.com> * chore(NA): rename destroy command into reset * chore(NA): update packages/kbn-pm/src/commands/clean.ts Co-authored-by: Tyler Smalley <tylersmalley@me.com> * chore(NA): restore old behaviour on kbn clean * chore(NA): update reset command to delete bazel caches on disk * chore(NA): update packages/kbn-pm/src/commands/clean.ts Co-authored-by: Tyler Smalley <tylersmalley@me.com> * chore(NA): update prefix to match bazel defined one for cache settings * chore(NA): update kbn pm dist file * chore(NA): update kbn pm dist * chore(NA): update gitignore * chore(NA): add new ignore files after changed bazel aggregated folder Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Tyler Smalley <tylersmalley@me.com> |
||
|
ac39321fc5
|
Tinymath is now a Kibana package (#89383)
* Tinymath is now a Kibana package * Rename to @kbn/tinymath * Update import style * Update README * Use commonjs import syntax * Fix to commonjs export * More commonjs fixes |
||
|
ecf7dd4628
|
chore(NA): add ignore and rc files for bazel (#89524)
* chore(NA): add bazel related ignore rules * chore(NA): add bazelrc files setup * chore(NA): reword on bazelrc comment * chore(NA): update .eslintignore Co-authored-by: Tyler Smalley <tylersmalley@me.com> * chore(NA): rename .bazelrc into .bazelrc-ci * chore(NA): update .gitignore Co-authored-by: Tyler Smalley <tylersmalley@me.com> Co-authored-by: Tyler Smalley <tylersmalley@me.com> |
||
|
a34cd20498
|
[@kbn/ui-framework] Removes all but dist files (#85347)
This package has long since been deprecated and no longer maintained. The only reason it still exists is that not all plugins have migrated away from using the kui classes to EUI. This removes all src and build files as a step forward. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> |
||
|
f8edc51ece
|
Implement error reporting in monaco for painless language (#84695) | ||
|
0eeaafa722
|
chore(NA): move into single pkg json (#80015)
* chore(NA): update gitignore to include first changes from moving into a single package.json * chore(NA): update gitignore * chore(NA): move all the dependencies into the single package.json and apply changes to bootstrap * chore(NA): fix types problems after the single package json * chore(NA): include code to find the dependencies used across the code * chore(NA): introduce pure lockfile for install dependencies on build * chore(NA): update clean task to not delete anything from xpack node_modules * chore(NA): update gitignore to remove development temporary rules * chore(NA): update notice file * chore(NA): update jest snapshots * chore(NA): fix whitelisted licenses to include a new specify form of an already included one * chore(NA): remove check lockfile symlinks from child projects * chore(NA): fix eslint and add missing declared deps on single pkg json * chore(NA): correctly update notice * chore(NA): fix failing jest test for storyshots.test.tsx * chore(NA): fix cypress multi reporter path * chore(NA): fix Project tests check * chore(NA): fix problem with logic to detect used dependes on oss build * chore(NA): include correct x-pack plugins dep discovery * chore(NA): discover entries under dynamic requires on vis_type_timelion * chore(NA): remove canvas * test(NA): fix jest unit tests * chore(NA): remove double react declaration from storyshot test file * chore(NA): try removing isOSS check * chore(NA): support for plugin development * chore(NA): update logic to fix unit tests and typechecking * chore(NA): support to run npm scripts in child kbn projects across all envs * chore(NA): support github checks reporter on x-pack and remove cpy types as the package correctly provides them * chore(NA): update cpy version * chore(NA): include last kbn pm changes * chore(NA): update style on build_production_projects.ts * chore(NA): remove any cast fom telemetry opt in stats * chore(NA): remove del and re-use rm -rf again Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> |
||
|
ba8e9a52b6
|
Timelion y-axis label not displayed (#80007)
* Moved flot in ui-shared-deps and leavt only one version. * Removed unneeded import * use commonJS so we can execute code between loading specific modules * prefix i18n keys with flot. * Fix Internationalization * remove duplicate pie plugin Co-authored-by: spalger <spalger@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> |
||
|
0068c87d6f
|
chore(NA): add elastic prefix to eslint-config-kibana (#76059)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
7b23e7cd8b
|
[kbn/plugin-generator] remove sao, modernize (#75465)
Co-authored-by: spalger <spalger@users.noreply.github.com> |
||
|
4c810be335
|
Remove legacy optimizer (#73154)
Co-authored-by: spalger <spalger@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
bfbb8d2138
|
[pre-req] Move .storybook to storybook; standardize files (#72384) | ||
|
d8823d8996
|
Migrate timelion to the NP. (#69160)
* Migrate timelion to the NP. * fixed ci * Fixed paths * fixed UI settings * Fixed ci * fix CI * Fixed some comments * Fixed browser tests * fixed state * Fixed comments * Fixed save expression * Fixed navigation * fix CI * Fixed some problem Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Alexey Antonov <alexwizp@gmail.com> |
||
|
afe785b43a
|
[build] Creates Linux aarch64 archive (#69165)
- Updates Linux Chromium builds to accept architecture argument (defaults to x64) for arm64 support. - Example: `python ~/chromium/build_chromium/build.py 312d84c8ce62810976feda0d3457108a6dfff9e6 arm64` - Updates all Chromium builds to include architecture in filename. - `chromium-312d84c-linux_arm64.zip` _(new)_ - `chromium-312d84c-linux.zip` > `chromium-312d84c-linux_x64.zip` - Moves Chromium install from data directory to `x-pack/plugins/reporting/chromium` - Moves Chromium download cache from `x-pack/plugins/reporting/.chromium` to `.chromium` - Installs Chromium during build (closes #53664) - Updates build to be architecture aware (x64 and aarch64) - Removed Chromium debug logs, they were not helpful and can not be written inside the Kibana root. If we were to keep them, we would need to write to `logging.dist`. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> |
||
|
83da3a8b4d
|
Add reporting assets to the eslint ignore file (#69968) | ||
|
fbb5f31698
|
[APM] Don’t run eslint on cypress snapshots (#67451)
* [APM] Don’t run eslint on cypress snapshots * ignore cypress videos * Fix interactive command * Fix gitignore * Use echo everywhere Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
2279b3dc0b
|
Add /config/apm.dev.js to .eslintignore (#67442) | ||
|
b8bea5b8b2
|
[Canvas] move files from legacy/plugins to plugins (#65283)
* Moves the files * Rename legacy/plugins/canvas paths * Correct paths * Fix shareable_runtime and storybook * ESLint Fixes * Fix jest test and paths |