Skip to content

Commit

Permalink
Sustainable Kibana Architecture: Move plugins owned by `@elastic/appe…
Browse files Browse the repository at this point in the history
…x-sharedux` (elastic#204959)

## Summary

Part of elastic#203163

Relocating only shared-ux-owned plugins for now
  • Loading branch information
Dosant authored Jan 3, 2025
1 parent 020e17e commit 9215df9
Show file tree
Hide file tree
Showing 2,026 changed files with 854 additions and 807 deletions.
6 changes: 3 additions & 3 deletions .buildkite/scripts/pipelines/pull_request/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,10 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^src\/platform\/plugins\/shared\/discover/,
/^src\/platform\/plugins\/shared\/field_formats/,
/^src\/platform\/plugins\/shared\/inspector/,
/^src\/plugins\/kibana_react/,
/^src\/plugins\/kibana_utils/,
/^src\/platform\/plugins\/shared\/kibana_react/,
/^src\/platform\/plugins\/shared\/kibana_utils/,
/^src\/platform\/plugins\/shared\/saved_search/,
/^src\/plugins\/ui_actions/,
/^src\/platform\/plugins\/shared\/ui_actions/,
/^src\/platform\/plugins\/shared\/unified_histogram/,
/^src\/plugins\/unified_search/,
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/,
Expand Down
4 changes: 2 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ snapshots.js
/x-pack/platform/plugins/private/canvas/canvas_plugin
/x-pack/platform/plugins/private/canvas/shareable_runtime/build
/x-pack/platform/plugins/private/canvas/storybook/build
/x-pack/plugins/reporting/server/export_types/printable_pdf/server/lib/pdf/assets/**
/x-pack/plugins/reporting/server/export_types/printable_pdf_v2/server/lib/pdf/assets/**
/x-pack/platform/plugins/private/reporting/server/export_types/printable_pdf/server/lib/pdf/assets/**
/x-pack/platform/plugins/private/reporting/server/export_types/printable_pdf_v2/server/lib/pdf/assets/**
/x-pack/plugins/cloud_integrations/cloud_full_story/server/assets/**

# package overrides
Expand Down
6 changes: 3 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,14 +283,14 @@ module.exports = {
* Temporarily disable some react rules for specific plugins, remove in separate PRs
*/
{
files: ['src/plugins/kibana_react/**/*.{js,mjs,ts,tsx}'],
files: ['src/platform/plugins/shared/kibana_react/**/*.{js,mjs,ts,tsx}'],
rules: {
'react-hooks/rules-of-hooks': 'off',
'react-hooks/exhaustive-deps': 'off',
},
},
{
files: ['src/plugins/kibana_utils/**/*.{js,mjs,ts,tsx}'],
files: ['src/platform/plugins/shared/kibana_utils/**/*.{js,mjs,ts,tsx}'],
rules: {
'react-hooks/exhaustive-deps': 'off',
},
Expand Down Expand Up @@ -1940,7 +1940,7 @@ module.exports = {
'src/core/**',
'x-pack/plugins/features/**',
'x-pack/plugins/licensing/**',
'x-pack/plugins/global_search/**',
'x-pack/platform/plugins/shared/global_search/**',
'x-pack/plugins/cloud/**',
'packages/kbn-config-schema',
'src/plugins/status_page/**',
Expand Down
54 changes: 27 additions & 27 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -603,13 +603,19 @@ src/platform/packages/shared/presentation/presentation_publishing @elastic/kiban
src/platform/packages/shared/response-ops/rule_params @elastic/response-ops
src/platform/packages/shared/serverless/settings/search_project @elastic/search-kibana @elastic/kibana-management
src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management
src/platform/plugins/private/advanced_settings @elastic/appex-sharedux @elastic/kibana-management
src/platform/plugins/private/files_management @elastic/appex-sharedux
src/platform/plugins/private/image_embeddable @elastic/appex-sharedux
src/platform/plugins/private/input_control_vis @elastic/kibana-presentation
src/platform/plugins/private/kibana_overview @elastic/appex-sharedux
src/platform/plugins/private/links @elastic/kibana-presentation
src/platform/plugins/private/maps_ems @elastic/kibana-presentation
src/platform/plugins/private/no_data_page @elastic/appex-sharedux
src/platform/plugins/private/presentation_panel @elastic/kibana-presentation
src/platform/plugins/private/vis_type_markdown @elastic/kibana-presentation
src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant
src/platform/plugins/shared/console @elastic/kibana-management
src/platform/plugins/shared/content_management @elastic/appex-sharedux
src/platform/plugins/shared/controls @elastic/kibana-presentation
src/platform/plugins/shared/custom_integrations @elastic/fleet
src/platform/plugins/shared/dashboard @elastic/kibana-presentation
Expand All @@ -631,14 +637,25 @@ src/platform/plugins/shared/expression_repeat_image @elastic/kibana-presentation
src/platform/plugins/shared/expression_reveal_image @elastic/kibana-presentation
src/platform/plugins/shared/expression_shape @elastic/kibana-presentation
src/platform/plugins/shared/field_formats @elastic/kibana-data-discovery
src/platform/plugins/shared/files @elastic/appex-sharedux
src/platform/plugins/shared/guided_onboarding @elastic/appex-sharedux
src/platform/plugins/shared/home @elastic/appex-sharedux
src/platform/plugins/shared/inspector @elastic/kibana-presentation
src/platform/plugins/shared/kibana_react @elastic/appex-sharedux
src/platform/plugins/shared/kibana_utils @elastic/appex-sharedux
src/platform/plugins/shared/management @elastic/kibana-management
src/platform/plugins/shared/navigation @elastic/appex-sharedux
src/platform/plugins/shared/presentation_util @elastic/kibana-presentation
src/platform/plugins/shared/saved_objects @elastic/appex-sharedux
src/platform/plugins/shared/saved_objects_finder @elastic/kibana-data-discovery
src/platform/plugins/shared/saved_objects_tagging_oss @elastic/appex-sharedux
src/platform/plugins/shared/saved_search @elastic/kibana-data-discovery
src/platform/plugins/shared/screenshot_mode @elastic/appex-sharedux
src/platform/plugins/shared/share @elastic/appex-sharedux
src/platform/plugins/shared/ui_actions @elastic/appex-sharedux
src/platform/plugins/shared/ui_actions_enhanced @elastic/appex-sharedux
src/platform/plugins/shared/unified_doc_viewer @elastic/kibana-data-discovery
src/platform/plugins/shared/unified_histogram @elastic/kibana-data-discovery
src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management
src/plugins/chart_expressions/common @elastic/kibana-visualizations
src/plugins/chart_expressions/expression_gauge @elastic/kibana-visualizations
src/plugins/chart_expressions/expression_heatmap @elastic/kibana-visualizations
Expand All @@ -648,35 +665,18 @@ src/plugins/chart_expressions/expression_partition_vis @elastic/kibana-visualiza
src/plugins/chart_expressions/expression_tagcloud @elastic/kibana-visualizations
src/plugins/chart_expressions/expression_xy @elastic/kibana-visualizations
src/plugins/charts @elastic/kibana-visualizations
src/plugins/content_management @elastic/appex-sharedux
src/plugins/data @elastic/kibana-visualizations @elastic/kibana-data-discovery
src/plugins/event_annotation @elastic/kibana-visualizations
src/plugins/event_annotation_listing @elastic/kibana-visualizations
src/plugins/expressions @elastic/kibana-visualizations
src/plugins/files @elastic/appex-sharedux
src/plugins/files_management @elastic/appex-sharedux
src/plugins/ftr_apis @elastic/kibana-core
src/plugins/guided_onboarding @elastic/appex-sharedux
src/plugins/home @elastic/appex-sharedux
src/plugins/image_embeddable @elastic/appex-sharedux
src/plugins/interactive_setup @elastic/kibana-security
src/plugins/kibana_overview @elastic/appex-sharedux
src/plugins/kibana_react @elastic/appex-sharedux
src/plugins/kibana_usage_collection @elastic/kibana-core
src/plugins/kibana_utils @elastic/appex-sharedux
src/plugins/navigation @elastic/appex-sharedux
src/plugins/newsfeed @elastic/kibana-core
src/plugins/no_data_page @elastic/appex-sharedux
src/plugins/saved_objects @elastic/appex-sharedux
src/plugins/saved_objects_management @elastic/kibana-core
src/plugins/saved_objects_tagging_oss @elastic/appex-sharedux
src/plugins/screenshot_mode @elastic/appex-sharedux
src/plugins/share @elastic/appex-sharedux
src/plugins/telemetry @elastic/kibana-core
src/plugins/telemetry_collection_manager @elastic/kibana-core
src/plugins/telemetry_management_section @elastic/kibana-core
src/plugins/ui_actions @elastic/appex-sharedux
src/plugins/ui_actions_enhanced @elastic/appex-sharedux
src/plugins/unified_search @elastic/kibana-visualizations
src/plugins/url_forwarding @elastic/kibana-visualizations
src/plugins/usage_collection @elastic/kibana-core
Expand Down Expand Up @@ -828,13 +828,17 @@ x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui
x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui
x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team
x-pack/platform/packages/shared/observability/logs_overview @elastic/obs-ux-logs-team
x-pack/platform/plugins/private/banners @elastic/appex-sharedux
x-pack/platform/plugins/private/canvas @elastic/kibana-presentation
x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration @elastic/kibana-management
x-pack/platform/plugins/private/cross_cluster_replication @elastic/kibana-management
x-pack/platform/plugins/private/custom_branding @elastic/appex-sharedux
x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution
x-pack/platform/plugins/private/data_visualizer @elastic/ml-ui
x-pack/platform/plugins/private/discover_enhanced @elastic/kibana-data-discovery
x-pack/platform/plugins/private/file_upload @elastic/kibana-presentation @elastic/ml-ui
x-pack/platform/plugins/private/global_search_bar @elastic/appex-sharedux
x-pack/platform/plugins/private/global_search_providers @elastic/appex-sharedux
x-pack/platform/plugins/private/grokdebugger @elastic/kibana-management
x-pack/platform/plugins/private/index_lifecycle_management @elastic/kibana-management
x-pack/platform/plugins/private/license_api_guard @elastic/kibana-management
Expand All @@ -843,8 +847,10 @@ x-pack/platform/plugins/private/monitoring @elastic/stack-monitoring
x-pack/platform/plugins/private/monitoring_collection @elastic/stack-monitoring
x-pack/platform/plugins/private/painless_lab @elastic/kibana-management
x-pack/platform/plugins/private/remote_clusters @elastic/kibana-management
x-pack/platform/plugins/private/reporting @elastic/appex-sharedux
x-pack/platform/plugins/private/rollup @elastic/kibana-management
x-pack/platform/plugins/private/runtime_fields @elastic/kibana-management
x-pack/platform/plugins/private/saved_objects_tagging @elastic/appex-sharedux
x-pack/platform/plugins/private/snapshot_restore @elastic/kibana-management
x-pack/platform/plugins/private/transform @elastic/ml-ui
x-pack/platform/plugins/private/translations @elastic/kibana-localization
Expand All @@ -863,6 +869,7 @@ x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities
x-pack/platform/plugins/shared/event_log @elastic/response-ops
x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team
x-pack/platform/plugins/shared/fleet @elastic/fleet
x-pack/platform/plugins/shared/global_search @elastic/appex-sharedux
x-pack/platform/plugins/shared/index_management @elastic/kibana-management
x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra
x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management
Expand All @@ -872,36 +879,29 @@ x-pack/platform/plugins/shared/logs_data_access @elastic/obs-ux-logs-team
x-pack/platform/plugins/shared/logs_shared @elastic/obs-ux-logs-team
x-pack/platform/plugins/shared/maps @elastic/kibana-presentation
x-pack/platform/plugins/shared/ml @elastic/ml-ui
x-pack/platform/plugins/shared/notifications @elastic/appex-sharedux
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant
x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows
x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs-ux-management-team
x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services
x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management
x-pack/platform/plugins/shared/serverless @elastic/appex-sharedux
x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops
x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops
x-pack/platform/plugins/shared/task_manager @elastic/response-ops
x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops
x-pack/plugins/banners @elastic/appex-sharedux
x-pack/plugins/cloud @elastic/kibana-core
x-pack/plugins/cloud_integrations/cloud_chat @elastic/kibana-core
x-pack/plugins/cloud_integrations/cloud_experiments @elastic/kibana-core
x-pack/plugins/cloud_integrations/cloud_full_story @elastic/kibana-core
x-pack/plugins/cloud_integrations/cloud_links @elastic/kibana-core
x-pack/plugins/custom_branding @elastic/appex-sharedux
x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux
x-pack/plugins/encrypted_saved_objects @elastic/kibana-security
x-pack/plugins/features @elastic/kibana-core
x-pack/plugins/global_search @elastic/appex-sharedux
x-pack/plugins/global_search_bar @elastic/appex-sharedux
x-pack/plugins/global_search_providers @elastic/appex-sharedux
x-pack/plugins/graph @elastic/kibana-visualizations
x-pack/plugins/lens @elastic/kibana-visualizations
x-pack/plugins/licensing @elastic/kibana-core
x-pack/plugins/notifications @elastic/appex-sharedux
x-pack/plugins/reporting @elastic/appex-sharedux
x-pack/plugins/saved_objects_tagging @elastic/appex-sharedux
x-pack/plugins/security @elastic/kibana-security
x-pack/plugins/serverless @elastic/appex-sharedux
x-pack/plugins/spaces @elastic/kibana-security
x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core
x-pack/plugins/upgrade_assistant @elastic/kibana-core
Expand Down
29 changes: 14 additions & 15 deletions .i18nrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"paths": {
"advancedSettings": "src/plugins/advanced_settings",
"advancedSettings": "src/platform/plugins/private/advanced_settings",
"aiAssistantManagementSelection": "src/platform/plugins/shared/ai_assistant_management/selection",
"alerts": "packages/kbn-alerts/src",
"alertsUIShared": "src/platform/packages/shared/kbn-alerts-ui-shared/src",
Expand Down Expand Up @@ -58,15 +58,15 @@
"eventAnnotationComponents": "packages/kbn-event-annotation-components",
"fieldUtils": "src/platform/packages/shared/kbn-field-utils",
"fieldFormats": "src/platform/plugins/shared/field_formats",
"files": "src/plugins/files",
"filesManagement": "src/plugins/files_management",
"files": "src/platform/plugins/shared/files",
"filesManagement": "src/platform/plugins/private/files_management",
"flot": "src/platform/packages/shared/kbn-flot-charts/lib",
"generateCsv": "packages/kbn-generate-csv",
"grouping": "src/platform/packages/shared/kbn-grouping/src",
"alertsGrouping": "x-pack/solutions/observability/packages/kbn-alerts-grouping",
"guidedOnboarding": "src/plugins/guided_onboarding",
"guidedOnboarding": "src/platform/plugins/shared/guided_onboarding",
"guidedOnboardingPackage": "packages/kbn-guided-onboarding",
"home": "src/plugins/home",
"home": "src/platform/plugins/shared/home",
"homePackages": "packages/home",
"indexPatternEditor": "src/platform/plugins/shared/data_view_editor",
"indexPatternFieldEditor": "src/platform/plugins/shared/data_view_field_editor",
Expand All @@ -76,15 +76,14 @@
"inspectorViews": "src/legacy/core_plugins/inspector_views",
"interactiveSetup": "src/plugins/interactive_setup",
"interpreter": "src/legacy/core_plugins/interpreter",
"imageEmbeddable": "src/plugins/image_embeddable",
"imageEmbeddable": "src/platform/plugins/private/image_embeddable",
"kbn": "src/legacy/core_plugins/kibana",
"kbn-esql-validation-autocomplete": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src",
"kbnConfig": "packages/kbn-config/src",
"kbnDocViews": "src/legacy/core_plugins/kbn_doc_views",
"kibana_react": "src/legacy/core_plugins/kibana_react",
"kibana_utils": "src/plugins/kibana_utils",
"kibana-react": "src/plugins/kibana_react",
"kibanaOverview": "src/plugins/kibana_overview",
"kibana_utils": "src/platform/plugins/shared/kibana_utils",
"kibana-react": "src/platform/plugins/shared/kibana_react",
"kibanaOverview": "src/platform/plugins/private/kibana_overview",
"lensFormulaDocs": "packages/kbn-lens-formula-docs",
"lists": "x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src",
"exceptionList-components": "x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/src",
Expand All @@ -95,7 +94,7 @@
"packages/kbn-management"
],
"monaco": "packages/kbn-monaco/src",
"navigation": ["src/plugins/navigation", "packages/solution-nav"],
"navigation": ["src/platform/plugins/shared/navigation", "packages/solution-nav"],
"links": "src/platform/plugins/private/links",
"newsfeed": "src/plugins/newsfeed",
"presentationUtil": "src/platform/plugins/shared/presentation_util",
Expand All @@ -104,13 +103,13 @@
"esqlEditor": "src/platform/packages/private/kbn-esql-editor",
"esqlUtils": "src/platform/packages/shared/kbn-esql-utils",
"reporting": "packages/kbn-reporting",
"savedObjects": "src/plugins/saved_objects",
"savedObjects": "src/platform/plugins/shared/saved_objects",
"savedObjectsFinder": "src/platform/plugins/shared/saved_objects_finder",
"savedObjectsManagement": "src/plugins/saved_objects_management",
"searchConnectors": "src/platform/packages/shared/kbn-search-connectors",
"searchConnectorsPlugin": "x-pack/solutions/search/plugins/search_connectors",
"server": "src/legacy/server",
"share": ["src/plugins/share", "packages/kbn-reporting-share"],
"share": ["src/platform/plugins/shared/share", "packages/kbn-reporting-share"],
"sharedUXPackages": "packages/shared-ux",
"searchApiKeysComponents": "x-pack/solutions/search/packages/kbn-search-api-keys-components",
"searchApiPanels": "src/platform/packages/shared/kbn-search-api-panels/",
Expand Down Expand Up @@ -138,8 +137,8 @@
"telemetry": ["src/plugins/telemetry", "src/plugins/telemetry_management_section"],
"timelion": ["src/plugins/vis_types/timelion"],
"tryInConsole": "src/platform/packages/shared/kbn-try-in-console/",
"uiActions": ["src/plugins/ui_actions", "packages/kbn-ui-actions-browser"],
"uiActionsEnhanced": "src/plugins/ui_actions_enhanced",
"uiActions": ["src/platform/plugins/shared/ui_actions", "packages/kbn-ui-actions-browser"],
"uiActionsEnhanced": "src/platform/plugins/shared/ui_actions_enhanced",
"uiActionsExamples": "examples/ui_action_examples",
"usageCollection": "src/plugins/usage_collection",
"userProfileComponents": "packages/kbn-user-profile-components",
Expand Down
Loading

0 comments on commit 9215df9

Please sign in to comment.