[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>
|
@ -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/,
|
||||
|
|
|
@ -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/platform/plugins/private/cloud_integrations/cloud_full_story/server/assets/**
|
||||
|
||||
# package overrides
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
|
@ -1926,7 +1926,7 @@ module.exports = {
|
|||
'src/core/**',
|
||||
'x-pack/platform/plugins/shared/features/**',
|
||||
'x-pack/platform/plugins/shared/licensing/**',
|
||||
'x-pack/plugins/global_search/**',
|
||||
'x-pack/platform/plugins/shared/global_search/**',
|
||||
'x-pack/platform/plugins/shared/cloud/**',
|
||||
'src/platform/packages/shared/kbn-config-schema',
|
||||
'src/plugins/status_page/**',
|
||||
|
|
54
.github/CODEOWNERS
vendored
|
@ -9,7 +9,7 @@ x-pack/test/alerting_api_integration/common/plugins/aad @elastic/response-ops
|
|||
x-pack/platform/plugins/shared/actions @elastic/response-ops
|
||||
x-pack/test/alerting_api_integration/common/plugins/actions_simulators @elastic/response-ops
|
||||
src/platform/packages/shared/kbn-actions-types @elastic/response-ops
|
||||
src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management
|
||||
src/platform/plugins/private/advanced_settings @elastic/appex-sharedux @elastic/kibana-management
|
||||
x-pack/platform/packages/shared/kbn-ai-assistant @elastic/search-kibana
|
||||
x-pack/platform/packages/shared/ai-assistant/common @elastic/search-kibana
|
||||
x-pack/platform/packages/shared/ai-assistant/icon @elastic/appex-sharedux
|
||||
|
@ -58,7 +58,7 @@ packages/kbn-axe-config @elastic/kibana-qa
|
|||
packages/kbn-babel-preset @elastic/kibana-operations
|
||||
packages/kbn-babel-register @elastic/kibana-operations
|
||||
packages/kbn-babel-transform @elastic/kibana-operations
|
||||
x-pack/plugins/banners @elastic/appex-sharedux
|
||||
x-pack/platform/plugins/private/banners @elastic/appex-sharedux
|
||||
packages/kbn-bazel-runner @elastic/kibana-operations
|
||||
packages/kbn-bfetch-error @elastic/appex-sharedux
|
||||
examples/bfetch_explorer @elastic/appex-sharedux
|
||||
|
@ -110,7 +110,7 @@ examples/content_management_examples @elastic/appex-sharedux
|
|||
packages/content-management/favorites/favorites_common @elastic/appex-sharedux
|
||||
packages/content-management/favorites/favorites_public @elastic/appex-sharedux
|
||||
packages/content-management/favorites/favorites_server @elastic/appex-sharedux
|
||||
src/plugins/content_management @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/content_management @elastic/appex-sharedux
|
||||
packages/content-management/tabbed_table_list_view @elastic/appex-sharedux
|
||||
packages/content-management/table_list_view @elastic/appex-sharedux
|
||||
packages/content-management/table_list_view_common @elastic/appex-sharedux
|
||||
|
@ -346,7 +346,7 @@ packages/core/user-settings/core-user-settings-server-mocks @elastic/kibana-secu
|
|||
x-pack/platform/plugins/private/cross_cluster_replication @elastic/kibana-management
|
||||
packages/kbn-crypto @elastic/kibana-security
|
||||
src/platform/packages/shared/kbn-crypto-browser @elastic/kibana-core
|
||||
x-pack/plugins/custom_branding @elastic/appex-sharedux
|
||||
x-pack/platform/plugins/private/custom_branding @elastic/appex-sharedux
|
||||
src/platform/packages/shared/kbn-custom-icons @elastic/obs-ux-logs-team
|
||||
x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team
|
||||
src/platform/plugins/shared/custom_integrations @elastic/fleet
|
||||
|
@ -482,8 +482,8 @@ src/platform/packages/shared/kbn-field-utils @elastic/kibana-data-discovery
|
|||
x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team
|
||||
x-pack/platform/plugins/private/file_upload @elastic/kibana-presentation @elastic/ml-ui
|
||||
examples/files_example @elastic/appex-sharedux
|
||||
src/plugins/files_management @elastic/appex-sharedux
|
||||
src/plugins/files @elastic/appex-sharedux
|
||||
src/platform/plugins/private/files_management @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/files @elastic/appex-sharedux
|
||||
packages/kbn-find-used-node-modules @elastic/kibana-operations
|
||||
x-pack/platform/plugins/shared/fleet @elastic/fleet
|
||||
packages/kbn-flot-charts @elastic/kibana-operations
|
||||
|
@ -500,9 +500,9 @@ packages/kbn-generate @elastic/kibana-operations
|
|||
packages/kbn-generate-console-definitions @elastic/kibana-management
|
||||
packages/kbn-generate-csv @elastic/appex-sharedux
|
||||
packages/kbn-get-repo-files @elastic/kibana-operations
|
||||
x-pack/plugins/global_search_bar @elastic/appex-sharedux
|
||||
x-pack/plugins/global_search @elastic/appex-sharedux
|
||||
x-pack/plugins/global_search_providers @elastic/appex-sharedux
|
||||
x-pack/platform/plugins/private/global_search_bar @elastic/appex-sharedux
|
||||
x-pack/platform/plugins/shared/global_search @elastic/appex-sharedux
|
||||
x-pack/platform/plugins/private/global_search_providers @elastic/appex-sharedux
|
||||
x-pack/test/plugin_functional/plugins/global_search_test @elastic/kibana-core
|
||||
x-pack/plugins/graph @elastic/kibana-visualizations
|
||||
examples/grid_example @elastic/kibana-presentation
|
||||
|
@ -511,20 +511,20 @@ x-pack/platform/plugins/private/grokdebugger @elastic/kibana-management
|
|||
src/platform/packages/shared/kbn-grouping @elastic/response-ops
|
||||
packages/kbn-guided-onboarding @elastic/appex-sharedux
|
||||
examples/guided_onboarding_example @elastic/appex-sharedux
|
||||
src/plugins/guided_onboarding @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/guided_onboarding @elastic/appex-sharedux
|
||||
packages/kbn-handlebars @elastic/kibana-security
|
||||
src/platform/packages/private/kbn-hapi-mocks @elastic/kibana-core
|
||||
test/plugin_functional/plugins/hardening @elastic/kibana-security
|
||||
src/platform/packages/private/kbn-health-gateway-server @elastic/kibana-core
|
||||
examples/hello_world @elastic/kibana-core
|
||||
src/plugins/home @elastic/kibana-core
|
||||
src/platform/plugins/shared/home @elastic/kibana-core
|
||||
packages/home/sample_data_card @elastic/appex-sharedux
|
||||
packages/home/sample_data_tab @elastic/appex-sharedux
|
||||
packages/home/sample_data_types @elastic/appex-sharedux
|
||||
src/platform/packages/shared/kbn-i18n @elastic/kibana-core
|
||||
src/platform/packages/shared/kbn-i18n-react @elastic/kibana-core
|
||||
x-pack/test/functional_embedded/plugins/iframe_embedded @elastic/kibana-core
|
||||
src/plugins/image_embeddable @elastic/appex-sharedux
|
||||
src/platform/plugins/private/image_embeddable @elastic/appex-sharedux
|
||||
packages/kbn-import-locator @elastic/kibana-operations
|
||||
packages/kbn-import-resolver @elastic/kibana-operations
|
||||
x-pack/solutions/security/packages/index-adapter @elastic/security-threat-hunting
|
||||
|
@ -564,10 +564,10 @@ test/plugin_functional/plugins/kbn_tp_custom_visualizations @elastic/kibana-visu
|
|||
test/interpreter_functional/plugins/kbn_tp_run_pipeline @elastic/kibana-core
|
||||
x-pack/test/functional_cors/plugins/kibana_cors_test @elastic/kibana-security
|
||||
packages/kbn-kibana-manifest-schema @elastic/kibana-operations
|
||||
src/plugins/kibana_overview @elastic/appex-sharedux
|
||||
src/plugins/kibana_react @elastic/appex-sharedux
|
||||
src/platform/plugins/private/kibana_overview @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/kibana_react @elastic/appex-sharedux
|
||||
src/platform/plugins/private/kibana_usage_collection @elastic/kibana-core
|
||||
src/plugins/kibana_utils @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/kibana_utils @elastic/appex-sharedux
|
||||
x-pack/solutions/security/plugins/kubernetes_security @elastic/kibana-cloud-security-posture
|
||||
x-pack/platform/packages/shared/kbn-langchain @elastic/security-generative-ai
|
||||
src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql
|
||||
|
@ -654,11 +654,11 @@ packages/kbn-mock-idp-utils @elastic/kibana-security
|
|||
packages/kbn-monaco @elastic/appex-sharedux
|
||||
x-pack/platform/plugins/private/monitoring_collection @elastic/stack-monitoring
|
||||
x-pack/platform/plugins/private/monitoring @elastic/stack-monitoring
|
||||
src/plugins/navigation @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/navigation @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/newsfeed @elastic/kibana-core
|
||||
test/common/plugins/newsfeed @elastic/kibana-core
|
||||
src/plugins/no_data_page @elastic/appex-sharedux
|
||||
x-pack/plugins/notifications @elastic/appex-sharedux
|
||||
src/platform/plugins/private/no_data_page @elastic/appex-sharedux
|
||||
x-pack/platform/plugins/shared/notifications @elastic/appex-sharedux
|
||||
packages/kbn-object-versioning @elastic/appex-sharedux
|
||||
packages/kbn-object-versioning-utils @elastic/appex-sharedux
|
||||
x-pack/solutions/observability/plugins/observability_ai_assistant_app @elastic/obs-ai-assistant
|
||||
|
@ -742,7 +742,7 @@ packages/kbn-reporting/export_types/pdf_common @elastic/appex-sharedux
|
|||
packages/kbn-reporting/export_types/png @elastic/appex-sharedux
|
||||
packages/kbn-reporting/export_types/png_common @elastic/appex-sharedux
|
||||
packages/kbn-reporting/mocks_server @elastic/appex-sharedux
|
||||
x-pack/plugins/reporting @elastic/appex-sharedux
|
||||
x-pack/platform/plugins/private/reporting @elastic/appex-sharedux
|
||||
packages/kbn-reporting/public @elastic/appex-sharedux
|
||||
packages/kbn-reporting/server @elastic/appex-sharedux
|
||||
src/platform/packages/shared/kbn-resizable-layout @elastic/kibana-data-discovery
|
||||
|
@ -773,17 +773,17 @@ src/platform/plugins/shared/saved_objects_finder @elastic/kibana-data-discovery
|
|||
test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type @elastic/kibana-core
|
||||
test/plugin_functional/plugins/saved_objects_hidden_type @elastic/kibana-core
|
||||
src/platform/plugins/shared/saved_objects_management @elastic/kibana-core
|
||||
src/plugins/saved_objects @elastic/kibana-core
|
||||
src/platform/plugins/shared/saved_objects @elastic/kibana-core
|
||||
packages/kbn-saved-objects-settings @elastic/appex-sharedux
|
||||
src/plugins/saved_objects_tagging_oss @elastic/appex-sharedux
|
||||
x-pack/plugins/saved_objects_tagging @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/saved_objects_tagging_oss @elastic/appex-sharedux
|
||||
x-pack/platform/plugins/private/saved_objects_tagging @elastic/appex-sharedux
|
||||
packages/kbn-saved-search-component @elastic/obs-ux-logs-team
|
||||
src/platform/plugins/shared/saved_search @elastic/kibana-data-discovery
|
||||
packages/kbn-scout @elastic/appex-qa
|
||||
packages/kbn-scout-info @elastic/appex-qa
|
||||
packages/kbn-scout-reporting @elastic/appex-qa
|
||||
examples/screenshot_mode_example @elastic/appex-sharedux
|
||||
src/plugins/screenshot_mode @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/screenshot_mode @elastic/appex-sharedux
|
||||
x-pack/examples/screenshotting_example @elastic/appex-sharedux
|
||||
x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services
|
||||
packages/kbn-screenshotting-server @elastic/appex-sharedux
|
||||
|
@ -853,7 +853,7 @@ src/platform/packages/shared/kbn-server-http-tools @elastic/kibana-core
|
|||
src/platform/packages/shared/kbn-server-route-repository @elastic/obs-knowledge-team
|
||||
src/platform/packages/shared/kbn-server-route-repository-client @elastic/obs-knowledge-team
|
||||
src/platform/packages/shared/kbn-server-route-repository-utils @elastic/obs-knowledge-team
|
||||
x-pack/plugins/serverless @elastic/appex-sharedux
|
||||
x-pack/platform/plugins/shared/serverless @elastic/appex-sharedux
|
||||
packages/serverless/settings/common @elastic/appex-sharedux @elastic/kibana-management
|
||||
x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team
|
||||
packages/serverless/settings/observability_project @elastic/appex-sharedux @elastic/kibana-management @elastic/obs-ux-management-team
|
||||
|
@ -867,7 +867,7 @@ test/plugin_functional/plugins/session_notifications @elastic/kibana-core
|
|||
x-pack/solutions/security/plugins/session_view @elastic/kibana-cloud-security-posture
|
||||
packages/kbn-set-map @elastic/kibana-operations
|
||||
examples/share_examples @elastic/appex-sharedux
|
||||
src/plugins/share @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/share @elastic/appex-sharedux
|
||||
src/platform/packages/shared/kbn-shared-svg @elastic/obs-ux-infra_services-team
|
||||
packages/shared-ux/avatar/solution @elastic/appex-sharedux
|
||||
packages/shared-ux/button/exit_full_screen @elastic/appex-sharedux
|
||||
|
@ -985,10 +985,10 @@ packages/kbn-ts-type-check-cli @elastic/kibana-operations
|
|||
src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-management-team
|
||||
packages/kbn-ui-actions-browser @elastic/appex-sharedux
|
||||
x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux
|
||||
src/plugins/ui_actions_enhanced @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/ui_actions_enhanced @elastic/appex-sharedux
|
||||
examples/ui_action_examples @elastic/appex-sharedux
|
||||
examples/ui_actions_explorer @elastic/appex-sharedux
|
||||
src/plugins/ui_actions @elastic/appex-sharedux
|
||||
src/platform/plugins/shared/ui_actions @elastic/appex-sharedux
|
||||
test/plugin_functional/plugins/ui_settings_plugin @elastic/kibana-core
|
||||
src/platform/packages/private/kbn-ui-shared-deps-npm @elastic/kibana-operations
|
||||
src/platform/packages/private/kbn-ui-shared-deps-src @elastic/kibana-operations
|
||||
|
|
29
.i18nrc.json
|
@ -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",
|
||||
|
@ -60,15 +60,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": "packages/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",
|
||||
|
@ -78,15 +78,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": "src/platform/packages/shared/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",
|
||||
|
@ -97,7 +96,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/platform/plugins/shared/newsfeed",
|
||||
"presentationUtil": "src/platform/plugins/shared/presentation_util",
|
||||
|
@ -106,13 +105,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/platform/plugins/shared/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/",
|
||||
|
@ -140,8 +139,8 @@
|
|||
"telemetry": ["src/platform/plugins/shared/telemetry", "src/platform/plugins/shared/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/platform/plugins/shared/usage_collection",
|
||||
"userProfileComponents": "packages/kbn-user-profile-components",
|
||||
|
|
|
@ -11,10 +11,10 @@ Each tutorial contains three sets of instructions:
|
|||
|
||||
[discrete]
|
||||
=== Creating a new tutorial
|
||||
1. Create a new directory in the link:https://github.com/elastic/kibana/tree/main/src/plugins/home/server/tutorials[tutorials directory].
|
||||
1. Create a new directory in the link:https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/home/server/tutorials[tutorials directory].
|
||||
2. In the new directory, create a file called `index.ts` that exports a function.
|
||||
The function must return a function object that conforms to the `TutorialSchema` interface link:{kib-repo}tree/{branch}/src/plugins/home/server/services/tutorials/lib/tutorial_schema.ts[tutorial schema].
|
||||
3. Register the tutorial in link:{kib-repo}tree/{branch}/src/plugins/home/server/tutorials/register.ts[register.ts] by adding it to the `builtInTutorials`.
|
||||
The function must return a function object that conforms to the `TutorialSchema` interface link:{kib-repo}tree/{branch}/src/platform/plugins/shared/home/server/services/tutorials/lib/tutorial_schema.ts[tutorial schema].
|
||||
3. Register the tutorial in link:{kib-repo}tree/{branch}/src/platform/plugins/shared/home/server/tutorials/register.ts[register.ts] by adding it to the `builtInTutorials`.
|
||||
// TODO update path once assets are migrated
|
||||
4. Add image assets to the `tutorial_resources` directory.
|
||||
5. Run {kib} locally to preview the tutorial.
|
||||
|
@ -28,7 +28,7 @@ Then register the tutorial object by calling `home.tutorials.registerTutorial(tu
|
|||
String values can contain variables that are substituted when rendered. Variables are specified by `{}`.
|
||||
For example: `{config.docs.version}` is rendered as `6.2` when running the tutorial in {kib} 6.2.
|
||||
|
||||
link:{kib-repo}tree/{branch}/src/plugins/home/public/application/components/tutorial/replace_template_strings.js[Provided variables]
|
||||
link:{kib-repo}tree/{branch}/src/platform/plugins/shared/home/public/application/components/tutorial/replace_template_strings.js[Provided variables]
|
||||
|
||||
[discrete]
|
||||
==== Markdown
|
||||
|
|
|
@ -24,5 +24,5 @@ export class MyPlugin implements Plugin {
|
|||
}
|
||||
----
|
||||
|
||||
For advanced use-cases, such as a search for specific objects, use the {kib-repo}blob/{branch}/x-pack/plugins/global_search/README.md[Global search plugin].
|
||||
For advanced use-cases, such as a search for specific objects, use the {kib-repo}blob/{branch}/x-pack/platform/plugins/shared/global_search/README.md[Global search plugin].
|
||||
|
||||
|
|
|
@ -82,17 +82,17 @@ right advanced settings like whether to include frozen indices or not.
|
|||
** Rendering maps, visualizations, dashboards in your application
|
||||
** Register new widgets that will can be added to a dashboard or Canvas
|
||||
workpad, or rendered in another plugin.
|
||||
* {kib-repo}tree/{branch}/src/plugins/ui_actions/README.asciidoc[UiActions]
|
||||
* {kib-repo}tree/{branch}/src/platform/plugins/shared/ui_actions/README.asciidoc[UiActions]
|
||||
** Let other plugins inject functionality into your application
|
||||
** Inject custom functionality into other plugins
|
||||
* Stateless helper utilities
|
||||
* {kib-repo}tree/{branch}/src/plugins/kibana_utils/docs/state_sync/README.md[state
|
||||
* {kib-repo}tree/{branch}/src/platform/plugins/shared/kibana_utils/docs/state_sync/README.md[state
|
||||
syncing] and
|
||||
* {kib-repo}tree/{branch}/src/plugins/kibana_utils/docs/state_containers/README.md[state
|
||||
* {kib-repo}tree/{branch}/src/platform/plugins/shared/kibana_utils/docs/state_containers/README.md[state
|
||||
container] utilities provided by
|
||||
* {kib-repo}tree/{branch}/src/plugins/kibana_utils/README.md[kibana_utils]
|
||||
* {kib-repo}tree/{branch}/src/platform/plugins/shared/kibana_utils/README.md[kibana_utils]
|
||||
if you want to sync your application state to the URL?
|
||||
** {kib-repo}tree/{branch}/src/plugins/kibana_react/README.md[kibana_react]
|
||||
** {kib-repo}tree/{branch}/src/platform/plugins/shared/kibana_react/README.md[kibana_react]
|
||||
for react specific helpers
|
||||
|
||||
Re-using these services will help create a consistent experience across
|
||||
|
|
|
@ -47,7 +47,7 @@ console.log(discoverUrl); // http://localhost:5601/bpr/s/space/app/discover
|
|||
const discoverUrlWithSomeState = core.http.basePath.prepend(`/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:'2020-09-10T11:39:50.203Z',to:'2020-09-10T11:40:20.249Z'))&_a=(columns:!(_source),filters:!(),index:'90943e30-9a47-11e8-b64d-95841ca0b247',interval:auto,query:(language:kuery,query:''),sort:!())`);
|
||||
----
|
||||
|
||||
Instead, each app should expose {kib-repo}tree/{branch}/src/plugins/share/common/url_service/locators/README.md[a locator].
|
||||
Instead, each app should expose {kib-repo}tree/{branch}/src/platform/plugins/shared/share/common/url_service/locators/README.md[a locator].
|
||||
Other apps should use those locators for navigation or URL creation.
|
||||
|
||||
[source,typescript jsx]
|
||||
|
@ -222,7 +222,7 @@ There are utils to help you to implement such kind of state syncing.
|
|||
|
||||
* Adding a query param flag or simple key/value to the URL.
|
||||
|
||||
Follow {kib-repo}tree/{branch}/src/plugins/kibana_utils/docs/state_sync#state-syncing-utilities[these] docs to learn more.
|
||||
Follow {kib-repo}tree/{branch}/src/platform/plugins/shared/kibana_utils/docs/state_sync#state-syncing-utilities[these] docs to learn more.
|
||||
|
||||
|
||||
[[preserve-state]]
|
||||
|
@ -246,7 +246,7 @@ you'd notice that state is stored inside that link, and it also gets updated whe
|
|||
image:images/state_inside_the_link.png[State is stored inside the navigation link]
|
||||
|
||||
This is where <<query-params, separation>> into `_a` and `_g` query params comes into play. What is considered a *global* state gets constantly updated in those navigation links. In the example above it was a time filter.
|
||||
This is backed by {kib-repo}tree/{branch}/src/plugins/kibana_utils/public/state_management/url/kbn_url_tracker.ts#L57[KbnUrlTracker] util. You can use it to achieve similar behavior.
|
||||
This is backed by {kib-repo}tree/{branch}/src/platform/plugins/shared/kibana_utils/public/state_management/url/kbn_url_tracker.ts#L57[KbnUrlTracker] util. You can use it to achieve similar behavior.
|
||||
|
||||
NOTE: After migrating to KP navigation works without page reloads and all plugins are loaded simultaneously.
|
||||
Hence, likely there are simpler ways to preserve state of your application, unless you want to do it through URL.
|
||||
|
|
|
@ -22,7 +22,7 @@ NOTE:
|
|||
|Description
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/advanced_settings/README.md[advancedSettings]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/private/advanced_settings/README.md[advancedSettings]
|
||||
|This plugin registers the management settings application
|
||||
allowing users to configure their advanced settings, also known
|
||||
as uiSettings within the code.
|
||||
|
@ -44,7 +44,7 @@ as uiSettings within the code.
|
|||
|Console provides the user with tools for storing and executing requests against Elasticsearch.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/content_management/README.md[contentManagement]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/shared/content_management/README.md[contentManagement]
|
||||
|The content management plugin provides functionality to manage content in Kibana.
|
||||
|
||||
|
||||
|
@ -200,11 +200,11 @@ for use in their own application.
|
|||
|Index pattern fields formatters
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/files/README.md[files]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/shared/files/README.md[files]
|
||||
|The files service provides functionality to manage, retrieve, share files in Kibana.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/files_management/README.md[filesManagement]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/private/files_management/README.md[filesManagement]
|
||||
|Minimal interface for admins to manage files in Kibana.
|
||||
|
||||
|
||||
|
@ -212,15 +212,15 @@ for use in their own application.
|
|||
|This plugin exposes a set of APIs used internally during functional tests by the FTR.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/guided_onboarding/README.md[guidedOnboarding]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/shared/guided_onboarding/README.md[guidedOnboarding]
|
||||
|This plugin contains the code for the Guided Onboarding project. Guided onboarding consists of guides for Solutions (Enterprise Search, Observability, Security) that can be completed as a checklist of steps. The guides help users to ingest their data and to navigate to the correct Solutions pages.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/home/README.md[home]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/shared/home/README.md[home]
|
||||
|Moves the legacy ui/registry/feature_catalogue module for registering "features" that should be shown in the home page's feature catalogue to a service within a "home" plugin. The feature catalogue refered to here should not be confused with the "feature" plugin for registering features used to derive UI capabilities for feature controls.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/image_embeddable/README.md[imageEmbeddable]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/private/image_embeddable/README.md[imageEmbeddable]
|
||||
|This plugin contains image embeddable. Image embeddable allows to embed images into the dashboard.
|
||||
Images can be added either by URL or by uploading the image file via file service.
|
||||
|
||||
|
@ -238,11 +238,11 @@ in Kibana, e.g. visualizations. It has the form of a flyout panel.
|
|||
|This plugin provides UI and APIs for interactive setup mode a.k.a "enrollment flow".
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/kibana_overview/README.md[kibanaOverview]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/private/kibana_overview/README.md[kibanaOverview]
|
||||
|An overview page highlighting Kibana apps
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/kibana_react/README.md[kibanaReact]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/shared/kibana_react/README.md[kibanaReact]
|
||||
|Tools for building React applications in Kibana.
|
||||
|
||||
|
||||
|
@ -250,7 +250,7 @@ in Kibana, e.g. visualizations. It has the form of a flyout panel.
|
|||
|This plugin registers the Platform Usage Collectors in Kibana.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/kibana_utils/README.md[kibanaUtils]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/shared/kibana_utils/README.md[kibanaUtils]
|
||||
|Utilities for building Kibana plugins.
|
||||
|
||||
|
||||
|
@ -268,7 +268,7 @@ management section itself.
|
|||
|Utility plugin:
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/navigation/README.md[navigation]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/shared/navigation/README.md[navigation]
|
||||
|The navigation plugins exports the TopNavMenu component.
|
||||
It also provides a stateful version of it on the start contract.
|
||||
|
||||
|
@ -278,7 +278,7 @@ It also provides a stateful version of it on the start contract.
|
|||
Content is fetched from the remote (https://feeds.elastic.co) once a day, with periodic checks if the content needs to be refreshed. All newsfeed content is hosted remotely.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/no_data_page/README.md[noDataPage]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/private/no_data_page/README.md[noDataPage]
|
||||
|Helps to globally configure the no data page components
|
||||
|
||||
|
||||
|
@ -290,7 +290,7 @@ Content is fetched from the remote (https://feeds.elastic.co) once a day, with p
|
|||
|The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas).
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/saved_objects/README.md[savedObjects]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/shared/saved_objects/README.md[savedObjects]
|
||||
|NOTE: This plugin is deprecated and will be removed in 8.0. See https://github.com/elastic/kibana/issues/46435 for more information.
|
||||
|
||||
|
||||
|
@ -302,7 +302,7 @@ Content is fetched from the remote (https://feeds.elastic.co) once a day, with p
|
|||
|The savedObjectsManagement plugin manages the Saved Objects management section.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/saved_objects_tagging_oss/README.md[savedObjectsTaggingOss]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/shared/saved_objects_tagging_oss/README.md[savedObjectsTaggingOss]
|
||||
|Bridge plugin for consumption of the saved object tagging feature from
|
||||
oss plugins.
|
||||
|
||||
|
@ -312,11 +312,11 @@ oss plugins.
|
|||
This object is created when a user saves their current session in the Discover app.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/screenshot_mode/README.md[screenshotMode]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/shared/screenshot_mode/README.md[screenshotMode]
|
||||
|The service exposed by this plugin informs consumers whether they should optimize for non-interactivity. In this way plugins can avoid loading unnecessary code, data or other services.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/share/README.mdx[share]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/shared/share/README.mdx[share]
|
||||
|The share plugin contains various utilities for displaying sharing context menu,
|
||||
generating deep links to other apps using locators, and creating short URLs.
|
||||
|
||||
|
@ -357,7 +357,7 @@ In general this plugin provides:
|
|||
- Exposing a context menu for the user to choose the appropriate action when there are multiple actions attached to a single trigger.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/src/plugins/ui_actions_enhanced/README.md[uiActionsEnhanced]
|
||||
|{kib-repo}blob/{branch}/src/platform/plugins/shared/ui_actions_enhanced/README.md[uiActionsEnhanced]
|
||||
|Registers commercially licensed generic actions like per panel time range and contains some code that supports drilldown work.
|
||||
|
||||
|
||||
|
@ -471,7 +471,7 @@ The plugin exposes the static DefaultEditorController class to consume.
|
|||
|WARNING: Missing README.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/banners/README.md[banners]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/banners/README.md[banners]
|
||||
|Allow to add a header banner that will be displayed on every page of the Kibana application
|
||||
|
||||
|
||||
|
@ -521,7 +521,7 @@ This plugin no-longer exposes any evaluation APIs. Refer to <DocLink id="kibFeat
|
|||
|You can run a local cluster and simulate a remote cluster within a single Kibana directory.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/custom_branding/README.md[customBranding]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/custom_branding/README.md[customBranding]
|
||||
|This is a plugin to configure custom branding.
|
||||
Plugin server-side only. Plugin has three main functions:
|
||||
|
||||
|
@ -609,16 +609,16 @@ activities.
|
|||
|Fleet provides a web-based UI in Kibana for centrally managing Elastic Agents and their policies.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/global_search/README.md[globalSearch]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/global_search/README.md[globalSearch]
|
||||
|The GlobalSearch plugin provides an easy way to search for various objects, such as applications
|
||||
or dashboards from the Kibana instance, from both server and client-side plugins
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/global_search_bar/README.md[globalSearchBar]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/global_search_bar/README.md[globalSearchBar]
|
||||
|The GlobalSearchBar plugin provides a search interface for navigating Kibana. (It is the UI to the GlobalSearch plugin.)
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/global_search_providers/README.md[globalSearchProviders]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/global_search_providers/README.md[globalSearchProviders]
|
||||
|The globalSearchProviders plugin provides Kibana default search providers for the GlobalSearch plugin.
|
||||
|
||||
|
||||
|
@ -736,7 +736,7 @@ Elastic.
|
|||
|This plugin allows for other plugins to add data to Kibana stack monitoring documents.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/notifications/README.mdx[notifications]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/notifications/README.mdx[notifications]
|
||||
|The Notifications plugin provides a set of services to help Solutions and plugins send notifications to users.
|
||||
|
||||
|
||||
|
@ -792,7 +792,7 @@ Elastic.
|
|||
|This plugin helps users manage their remote clusters, which enable cross-cluster search and cross-cluster replication.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/reporting/README.md[reporting]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/reporting/README.md[reporting]
|
||||
|An awesome Kibana reporting plugin
|
||||
|
||||
|
||||
|
@ -808,7 +808,7 @@ Elastic.
|
|||
|Welcome to the home of the runtime field editor and everything related to runtime fields!
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/saved_objects_tagging/README.md[savedObjectsTagging]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/saved_objects_tagging/README.md[savedObjectsTagging]
|
||||
|Add tagging capability to saved objects
|
||||
|
||||
|
||||
|
@ -875,7 +875,7 @@ This plugin is only enabled when the application is built for stateful deploymen
|
|||
This plugin is only enabled when the application is built for serverless project, keeping the main security_solution plugin clean and agnostic of the offering model.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/serverless/README.mdx[serverless]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/serverless/README.mdx[serverless]
|
||||
|
|
||||
|
||||
|
||||
|
@ -982,7 +982,7 @@ in their infrastructure.
|
|||
|
||||
include::{kibana-root}/src/platform/plugins/shared/dashboard/README.asciidoc[leveloffset=+1]
|
||||
include::{kibana-root}/src/plugins/expressions/README.asciidoc[leveloffset=+1]
|
||||
include::{kibana-root}/src/plugins/ui_actions/README.asciidoc[leveloffset=+1]
|
||||
include::{kibana-root}/src/platform/plugins/shared/ui_actions/README.asciidoc[leveloffset=+1]
|
||||
include::{kibana-root}/x-pack/platform/plugins/shared/dashboard_enhanced/README.asciidoc[leveloffset=+1]
|
||||
include::{kibana-root}/x-pack/platform/plugins/shared/embeddable_enhanced/README.asciidoc[leveloffset=+1]
|
||||
include::{kibana-root}/x-pack/platform/plugins/private/translations/README.asciidoc[leveloffset=+1]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# guidedOnboardingExample
|
||||
|
||||
This plugin contains code examples for the Guided Onboarding plugin. More information can be found in `KIBANA_FOLDER/src/plugins/guided_onboarding/README.md`
|
||||
This plugin contains code examples for the Guided Onboarding plugin. More information can be found in `KIBANA_FOLDER/src/platform/plugins/shared/guided_onboarding/README.md`
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -91,14 +91,14 @@ export class StateContainersExamplesPlugin implements Plugin {
|
|||
links: [
|
||||
{
|
||||
label: 'State containers README',
|
||||
href: 'https://github.com/elastic/kibana/tree/main/src/plugins/kibana_utils/docs/state_containers',
|
||||
href: 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/kibana_utils/docs/state_containers',
|
||||
iconType: 'logoGithub',
|
||||
size: 's',
|
||||
target: '_blank',
|
||||
},
|
||||
{
|
||||
label: 'State sync utils README',
|
||||
href: 'https://github.com/elastic/kibana/tree/main/src/plugins/kibana_utils/docs/state_sync',
|
||||
href: 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/kibana_utils/docs/state_sync',
|
||||
iconType: 'logoGithub',
|
||||
size: 's',
|
||||
target: '_blank',
|
||||
|
|
|
@ -84,7 +84,7 @@ export function renderApp(context, { sectionBasePath, element }) {
|
|||
|
||||
We can also create a utility in `kibana_react` to make it easy for folks to `mount` a React app:
|
||||
```ts
|
||||
// src/plugins/kibana_react/public/mount_with_react.tsx
|
||||
// src/platform/plugins/shared/kibana_react/public/mount_with_react.tsx
|
||||
import { KibanaContextProvider } from './context';
|
||||
|
||||
export const mountWithReact = (
|
||||
|
@ -105,7 +105,7 @@ export const mountWithReact = (
|
|||
}
|
||||
|
||||
// my_plugin/public/plugin.ts
|
||||
import { mountWithReact } from 'src/plugins/kibana_react/public';
|
||||
import { mountWithReact } from 'src/platform/plugins/shared/kibana_react/public';
|
||||
|
||||
export class MyPlugin {
|
||||
setup(core, { management }) {
|
||||
|
|
|
@ -571,7 +571,7 @@ Kibana instance, only one worker should have polling enabled.
|
|||
#### Reporting
|
||||
|
||||
We will probably want to restrict to a single headless per Kibana instance. For that, we will have to change the logic
|
||||
in [createQueueFactory](https://github.com/elastic/kibana/blob/4584a8b570402aa07832cf3e5b520e5d2cfa7166/x-pack/plugins/reporting/server/lib/create_queue.ts#L60-L64)
|
||||
in [createQueueFactory](https://github.com/elastic/kibana/blob/4584a8b570402aa07832cf3e5b520e5d2cfa7166/x-pack/platform/plugins/private/reporting/server/lib/create_queue.ts#L60-L64)
|
||||
to only have the 'main' worker be polling for reporting tasks.
|
||||
|
||||
#### Telemetry
|
||||
|
|
54
package.json
|
@ -156,7 +156,7 @@
|
|||
"@kbn/actions-plugin": "link:x-pack/platform/plugins/shared/actions",
|
||||
"@kbn/actions-simulators-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/actions_simulators",
|
||||
"@kbn/actions-types": "link:src/platform/packages/shared/kbn-actions-types",
|
||||
"@kbn/advanced-settings-plugin": "link:src/plugins/advanced_settings",
|
||||
"@kbn/advanced-settings-plugin": "link:src/platform/plugins/private/advanced_settings",
|
||||
"@kbn/ai-assistant": "link:x-pack/platform/packages/shared/kbn-ai-assistant",
|
||||
"@kbn/ai-assistant-common": "link:x-pack/platform/packages/shared/ai-assistant/common",
|
||||
"@kbn/ai-assistant-icon": "link:x-pack/platform/packages/shared/ai-assistant/icon",
|
||||
|
@ -193,7 +193,7 @@
|
|||
"@kbn/application-usage-test-plugin": "link:x-pack/test/usage_collection/plugins/application_usage_test",
|
||||
"@kbn/audit-log-plugin": "link:x-pack/test/security_api_integration/plugins/audit_log",
|
||||
"@kbn/avc-banner": "link:src/platform/packages/shared/kbn-avc-banner",
|
||||
"@kbn/banners-plugin": "link:x-pack/plugins/banners",
|
||||
"@kbn/banners-plugin": "link:x-pack/platform/plugins/private/banners",
|
||||
"@kbn/bfetch-error": "link:packages/kbn-bfetch-error",
|
||||
"@kbn/bfetch-explorer-plugin": "link:examples/bfetch_explorer",
|
||||
"@kbn/bfetch-plugin": "link:src/plugins/bfetch",
|
||||
|
@ -235,7 +235,7 @@
|
|||
"@kbn/content-management-favorites-common": "link:packages/content-management/favorites/favorites_common",
|
||||
"@kbn/content-management-favorites-public": "link:packages/content-management/favorites/favorites_public",
|
||||
"@kbn/content-management-favorites-server": "link:packages/content-management/favorites/favorites_server",
|
||||
"@kbn/content-management-plugin": "link:src/plugins/content_management",
|
||||
"@kbn/content-management-plugin": "link:src/platform/plugins/shared/content_management",
|
||||
"@kbn/content-management-tabbed-table-list-view": "link:packages/content-management/tabbed_table_list_view",
|
||||
"@kbn/content-management-table-list-view": "link:packages/content-management/table_list_view",
|
||||
"@kbn/content-management-table-list-view-common": "link:packages/content-management/table_list_view_common",
|
||||
|
@ -416,7 +416,7 @@
|
|||
"@kbn/cross-cluster-replication-plugin": "link:x-pack/platform/plugins/private/cross_cluster_replication",
|
||||
"@kbn/crypto": "link:packages/kbn-crypto",
|
||||
"@kbn/crypto-browser": "link:src/platform/packages/shared/kbn-crypto-browser",
|
||||
"@kbn/custom-branding-plugin": "link:x-pack/plugins/custom_branding",
|
||||
"@kbn/custom-branding-plugin": "link:x-pack/platform/plugins/private/custom_branding",
|
||||
"@kbn/custom-icons": "link:src/platform/packages/shared/kbn-custom-icons",
|
||||
"@kbn/custom-integrations": "link:x-pack/solutions/observability/packages/kbn-custom-integrations",
|
||||
"@kbn/custom-integrations-plugin": "link:src/platform/plugins/shared/custom_integrations",
|
||||
|
@ -534,8 +534,8 @@
|
|||
"@kbn/fields-metadata-plugin": "link:x-pack/platform/plugins/shared/fields_metadata",
|
||||
"@kbn/file-upload-plugin": "link:x-pack/platform/plugins/private/file_upload",
|
||||
"@kbn/files-example-plugin": "link:examples/files_example",
|
||||
"@kbn/files-management-plugin": "link:src/plugins/files_management",
|
||||
"@kbn/files-plugin": "link:src/plugins/files",
|
||||
"@kbn/files-management-plugin": "link:src/platform/plugins/private/files_management",
|
||||
"@kbn/files-plugin": "link:src/platform/plugins/shared/files",
|
||||
"@kbn/fleet-plugin": "link:x-pack/platform/plugins/shared/fleet",
|
||||
"@kbn/flot-charts": "link:packages/kbn-flot-charts",
|
||||
"@kbn/foo-plugin": "link:x-pack/test/ui_capabilities/common/plugins/foo_plugin",
|
||||
|
@ -545,9 +545,9 @@
|
|||
"@kbn/gen-ai-streaming-response-example-plugin": "link:x-pack/examples/gen_ai_streaming_response_example",
|
||||
"@kbn/generate-console-definitions": "link:packages/kbn-generate-console-definitions",
|
||||
"@kbn/generate-csv": "link:packages/kbn-generate-csv",
|
||||
"@kbn/global-search-bar-plugin": "link:x-pack/plugins/global_search_bar",
|
||||
"@kbn/global-search-plugin": "link:x-pack/plugins/global_search",
|
||||
"@kbn/global-search-providers-plugin": "link:x-pack/plugins/global_search_providers",
|
||||
"@kbn/global-search-bar-plugin": "link:x-pack/platform/plugins/private/global_search_bar",
|
||||
"@kbn/global-search-plugin": "link:x-pack/platform/plugins/shared/global_search",
|
||||
"@kbn/global-search-providers-plugin": "link:x-pack/platform/plugins/private/global_search_providers",
|
||||
"@kbn/global-search-test-plugin": "link:x-pack/test/plugin_functional/plugins/global_search_test",
|
||||
"@kbn/graph-plugin": "link:x-pack/plugins/graph",
|
||||
"@kbn/grid-example-plugin": "link:examples/grid_example",
|
||||
|
@ -556,20 +556,20 @@
|
|||
"@kbn/grouping": "link:src/platform/packages/shared/kbn-grouping",
|
||||
"@kbn/guided-onboarding": "link:packages/kbn-guided-onboarding",
|
||||
"@kbn/guided-onboarding-example-plugin": "link:examples/guided_onboarding_example",
|
||||
"@kbn/guided-onboarding-plugin": "link:src/plugins/guided_onboarding",
|
||||
"@kbn/guided-onboarding-plugin": "link:src/platform/plugins/shared/guided_onboarding",
|
||||
"@kbn/handlebars": "link:packages/kbn-handlebars",
|
||||
"@kbn/hapi-mocks": "link:src/platform/packages/private/kbn-hapi-mocks",
|
||||
"@kbn/hardening-plugin": "link:test/plugin_functional/plugins/hardening",
|
||||
"@kbn/health-gateway-server": "link:src/platform/packages/private/kbn-health-gateway-server",
|
||||
"@kbn/hello-world-plugin": "link:examples/hello_world",
|
||||
"@kbn/home-plugin": "link:src/plugins/home",
|
||||
"@kbn/home-plugin": "link:src/platform/plugins/shared/home",
|
||||
"@kbn/home-sample-data-card": "link:packages/home/sample_data_card",
|
||||
"@kbn/home-sample-data-tab": "link:packages/home/sample_data_tab",
|
||||
"@kbn/home-sample-data-types": "link:packages/home/sample_data_types",
|
||||
"@kbn/i18n": "link:src/platform/packages/shared/kbn-i18n",
|
||||
"@kbn/i18n-react": "link:src/platform/packages/shared/kbn-i18n-react",
|
||||
"@kbn/iframe-embedded-plugin": "link:x-pack/test/functional_embedded/plugins/iframe_embedded",
|
||||
"@kbn/image-embeddable-plugin": "link:src/plugins/image_embeddable",
|
||||
"@kbn/image-embeddable-plugin": "link:src/platform/plugins/private/image_embeddable",
|
||||
"@kbn/index-adapter": "link:x-pack/solutions/security/packages/index-adapter",
|
||||
"@kbn/index-lifecycle-management-common-shared": "link:x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared",
|
||||
"@kbn/index-lifecycle-management-plugin": "link:x-pack/platform/plugins/private/index_lifecycle_management",
|
||||
|
@ -602,10 +602,10 @@
|
|||
"@kbn/kbn-tp-custom-visualizations-plugin": "link:test/plugin_functional/plugins/kbn_tp_custom_visualizations",
|
||||
"@kbn/kbn-tp-run-pipeline-plugin": "link:test/interpreter_functional/plugins/kbn_tp_run_pipeline",
|
||||
"@kbn/kibana-cors-test-plugin": "link:x-pack/test/functional_cors/plugins/kibana_cors_test",
|
||||
"@kbn/kibana-overview-plugin": "link:src/plugins/kibana_overview",
|
||||
"@kbn/kibana-react-plugin": "link:src/plugins/kibana_react",
|
||||
"@kbn/kibana-overview-plugin": "link:src/platform/plugins/private/kibana_overview",
|
||||
"@kbn/kibana-react-plugin": "link:src/platform/plugins/shared/kibana_react",
|
||||
"@kbn/kibana-usage-collection-plugin": "link:src/platform/plugins/private/kibana_usage_collection",
|
||||
"@kbn/kibana-utils-plugin": "link:src/plugins/kibana_utils",
|
||||
"@kbn/kibana-utils-plugin": "link:src/platform/plugins/shared/kibana_utils",
|
||||
"@kbn/kubernetes-security-plugin": "link:x-pack/solutions/security/plugins/kubernetes_security",
|
||||
"@kbn/langchain": "link:x-pack/platform/packages/shared/kbn-langchain",
|
||||
"@kbn/language-documentation": "link:src/platform/packages/private/kbn-language-documentation",
|
||||
|
@ -684,11 +684,11 @@
|
|||
"@kbn/monaco": "link:packages/kbn-monaco",
|
||||
"@kbn/monitoring-collection-plugin": "link:x-pack/platform/plugins/private/monitoring_collection",
|
||||
"@kbn/monitoring-plugin": "link:x-pack/platform/plugins/private/monitoring",
|
||||
"@kbn/navigation-plugin": "link:src/plugins/navigation",
|
||||
"@kbn/navigation-plugin": "link:src/platform/plugins/shared/navigation",
|
||||
"@kbn/newsfeed-plugin": "link:src/platform/plugins/shared/newsfeed",
|
||||
"@kbn/newsfeed-test-plugin": "link:test/common/plugins/newsfeed",
|
||||
"@kbn/no-data-page-plugin": "link:src/plugins/no_data_page",
|
||||
"@kbn/notifications-plugin": "link:x-pack/plugins/notifications",
|
||||
"@kbn/no-data-page-plugin": "link:src/platform/plugins/private/no_data_page",
|
||||
"@kbn/notifications-plugin": "link:x-pack/platform/plugins/shared/notifications",
|
||||
"@kbn/object-versioning": "link:packages/kbn-object-versioning",
|
||||
"@kbn/object-versioning-utils": "link:packages/kbn-object-versioning-utils",
|
||||
"@kbn/observability-ai-assistant-app-plugin": "link:x-pack/solutions/observability/plugins/observability_ai_assistant_app",
|
||||
|
@ -754,7 +754,7 @@
|
|||
"@kbn/reporting-export-types-png": "link:packages/kbn-reporting/export_types/png",
|
||||
"@kbn/reporting-export-types-png-common": "link:packages/kbn-reporting/export_types/png_common",
|
||||
"@kbn/reporting-mocks-server": "link:packages/kbn-reporting/mocks_server",
|
||||
"@kbn/reporting-plugin": "link:x-pack/plugins/reporting",
|
||||
"@kbn/reporting-plugin": "link:x-pack/platform/plugins/private/reporting",
|
||||
"@kbn/reporting-public": "link:packages/kbn-reporting/public",
|
||||
"@kbn/reporting-server": "link:packages/kbn-reporting/server",
|
||||
"@kbn/resizable-layout": "link:src/platform/packages/shared/kbn-resizable-layout",
|
||||
|
@ -785,14 +785,14 @@
|
|||
"@kbn/saved-objects-hidden-from-http-apis-type-plugin": "link:test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type",
|
||||
"@kbn/saved-objects-hidden-type-plugin": "link:test/plugin_functional/plugins/saved_objects_hidden_type",
|
||||
"@kbn/saved-objects-management-plugin": "link:src/platform/plugins/shared/saved_objects_management",
|
||||
"@kbn/saved-objects-plugin": "link:src/plugins/saved_objects",
|
||||
"@kbn/saved-objects-plugin": "link:src/platform/plugins/shared/saved_objects",
|
||||
"@kbn/saved-objects-settings": "link:packages/kbn-saved-objects-settings",
|
||||
"@kbn/saved-objects-tagging-oss-plugin": "link:src/plugins/saved_objects_tagging_oss",
|
||||
"@kbn/saved-objects-tagging-plugin": "link:x-pack/plugins/saved_objects_tagging",
|
||||
"@kbn/saved-objects-tagging-oss-plugin": "link:src/platform/plugins/shared/saved_objects_tagging_oss",
|
||||
"@kbn/saved-objects-tagging-plugin": "link:x-pack/platform/plugins/private/saved_objects_tagging",
|
||||
"@kbn/saved-search-component": "link:packages/kbn-saved-search-component",
|
||||
"@kbn/saved-search-plugin": "link:src/platform/plugins/shared/saved_search",
|
||||
"@kbn/screenshot-mode-example-plugin": "link:examples/screenshot_mode_example",
|
||||
"@kbn/screenshot-mode-plugin": "link:src/plugins/screenshot_mode",
|
||||
"@kbn/screenshot-mode-plugin": "link:src/platform/plugins/shared/screenshot_mode",
|
||||
"@kbn/screenshotting-example-plugin": "link:x-pack/examples/screenshotting_example",
|
||||
"@kbn/screenshotting-plugin": "link:x-pack/platform/plugins/shared/screenshotting",
|
||||
"@kbn/screenshotting-server": "link:packages/kbn-screenshotting-server",
|
||||
|
@ -861,7 +861,7 @@
|
|||
"@kbn/server-route-repository": "link:src/platform/packages/shared/kbn-server-route-repository",
|
||||
"@kbn/server-route-repository-client": "link:src/platform/packages/shared/kbn-server-route-repository-client",
|
||||
"@kbn/server-route-repository-utils": "link:src/platform/packages/shared/kbn-server-route-repository-utils",
|
||||
"@kbn/serverless": "link:x-pack/plugins/serverless",
|
||||
"@kbn/serverless": "link:x-pack/platform/plugins/shared/serverless",
|
||||
"@kbn/serverless-common-settings": "link:packages/serverless/settings/common",
|
||||
"@kbn/serverless-observability": "link:x-pack/solutions/observability/plugins/serverless_observability",
|
||||
"@kbn/serverless-observability-settings": "link:packages/serverless/settings/observability_project",
|
||||
|
@ -874,7 +874,7 @@
|
|||
"@kbn/session-view-plugin": "link:x-pack/solutions/security/plugins/session_view",
|
||||
"@kbn/set-map": "link:packages/kbn-set-map",
|
||||
"@kbn/share-examples-plugin": "link:examples/share_examples",
|
||||
"@kbn/share-plugin": "link:src/plugins/share",
|
||||
"@kbn/share-plugin": "link:src/platform/plugins/shared/share",
|
||||
"@kbn/shared-svg": "link:src/platform/packages/shared/kbn-shared-svg",
|
||||
"@kbn/shared-ux-avatar-solution": "link:packages/shared-ux/avatar/solution",
|
||||
"@kbn/shared-ux-button-exit-full-screen": "link:packages/shared-ux/button/exit_full_screen",
|
||||
|
@ -974,10 +974,10 @@
|
|||
"@kbn/typed-react-router-config": "link:src/platform/packages/shared/kbn-typed-react-router-config",
|
||||
"@kbn/ui-actions-browser": "link:packages/kbn-ui-actions-browser",
|
||||
"@kbn/ui-actions-enhanced-examples-plugin": "link:x-pack/examples/ui_actions_enhanced_examples",
|
||||
"@kbn/ui-actions-enhanced-plugin": "link:src/plugins/ui_actions_enhanced",
|
||||
"@kbn/ui-actions-enhanced-plugin": "link:src/platform/plugins/shared/ui_actions_enhanced",
|
||||
"@kbn/ui-actions-examples-plugin": "link:examples/ui_action_examples",
|
||||
"@kbn/ui-actions-explorer-plugin": "link:examples/ui_actions_explorer",
|
||||
"@kbn/ui-actions-plugin": "link:src/plugins/ui_actions",
|
||||
"@kbn/ui-actions-plugin": "link:src/platform/plugins/shared/ui_actions",
|
||||
"@kbn/ui-settings-plugin": "link:test/plugin_functional/plugins/ui_settings_plugin",
|
||||
"@kbn/ui-shared-deps-npm": "link:src/platform/packages/private/kbn-ui-shared-deps-npm",
|
||||
"@kbn/ui-shared-deps-src": "link:src/platform/packages/private/kbn-ui-shared-deps-src",
|
||||
|
|
|
@ -9,15 +9,15 @@
|
|||
|
||||
/**
|
||||
* DataSetStatusType for an installed data set.
|
||||
* @see src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types
|
||||
* @see src/platform/plugins/shared/home/server/services/sample_data/lib/sample_dataset_registry_types
|
||||
*/
|
||||
export const INSTALLED_STATUS = 'installed';
|
||||
|
||||
/**
|
||||
* DataSetStatusType for a data set that is not installed yet.
|
||||
* @see src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types
|
||||
* @see src/platform/plugins/shared/home/server/services/sample_data/lib/sample_dataset_registry_types
|
||||
*/
|
||||
export const UNINSTALLED_STATUS = 'not_installed';
|
||||
|
||||
// Corresponds to src/plugins/home/server/services/sample_data/routes
|
||||
// Corresponds to src/platform/plugins/shared/home/server/services/sample_data/routes
|
||||
export const SAMPLE_DATA_API = '/api/sample_data';
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
// Corresponds to src/plugins/home/server/services/sample_data/routes
|
||||
// Corresponds to src/platform/plugins/shared/home/server/services/sample_data/routes
|
||||
export const URL_SAMPLE_DATA_API = '/api/sample_data';
|
||||
|
||||
// TODO: clintandrewhall pull from config
|
||||
|
|
8
packages/home/sample_data_types/index.d.ts
vendored
|
@ -10,7 +10,7 @@
|
|||
/**
|
||||
* A relevant subset of the `AppLinkData` type.
|
||||
*
|
||||
* @see src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types
|
||||
* @see src/platform/plugins/shared/home/server/services/sample_data/lib/sample_dataset_registry_types
|
||||
*/
|
||||
export interface AppLink {
|
||||
icon: string;
|
||||
|
@ -21,7 +21,7 @@ export interface AppLink {
|
|||
}
|
||||
|
||||
/**
|
||||
* @see src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types
|
||||
* @see src/platform/plugins/shared/home/server/services/sample_data/lib/sample_dataset_registry_types
|
||||
*/
|
||||
export type InstalledStatus = 'installed' | 'not_installed' | 'unknown';
|
||||
|
||||
|
@ -29,8 +29,8 @@ export type InstalledStatus = 'installed' | 'not_installed' | 'unknown';
|
|||
* A subset of properties from a Sample Data Set that are relevant to these components.
|
||||
* Included here as the type is not in a package for consumption by a package.
|
||||
*
|
||||
* @see src/plugins/home/server/services/sample_data/lib/sample_dataset_schema
|
||||
* @see src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types
|
||||
* @see src/platform/plugins/shared/home/server/services/sample_data/lib/sample_dataset_schema
|
||||
* @see src/platform/plugins/shared/home/server/services/sample_data/lib/sample_dataset_registry_types
|
||||
*/
|
||||
export interface SampleDataSet {
|
||||
appLinks: AppLink[];
|
||||
|
|
|
@ -45,7 +45,7 @@ This directory contains the Painless lexer and grammar rules, as well as the gen
|
|||
|
||||
```
|
||||
import { PainlessLang, PainlessContext } from '@kbn/monaco';
|
||||
import { CodeEditor } from '../src/plugins/kibana_react/public';
|
||||
import { CodeEditor } from '../src/platform/plugins/shared/kibana_react/public';
|
||||
|
||||
// Fields are optional and only applicable in certain contexts
|
||||
const fields = [
|
||||
|
|
|
@ -43,7 +43,7 @@ export function runStorybookCli({ configDir, name }: { configDir: string; name:
|
|||
const staticDir = [
|
||||
UiSharedDepsNpm.distDir,
|
||||
UiSharedDepsSrc.distDir,
|
||||
'src/plugins/kibana_react/public/assets:plugins/kibanaReact/assets',
|
||||
'src/platform/plugins/shared/kibana_react/public/assets:plugins/kibanaReact/assets',
|
||||
];
|
||||
const config: Record<string, any> = {
|
||||
configDir,
|
||||
|
|
|
@ -17,7 +17,7 @@ export const fontWeightDefinitions = (euiTheme: UseEuiTheme['euiTheme']) => ({
|
|||
export const ToolbarButtonStyles = ({ euiTheme }: UseEuiTheme) => {
|
||||
return {
|
||||
default: {
|
||||
// style declaration carried over from https://github.com/elastic/kibana/blob/v8.10.4/src/plugins/kibana_react/public/toolbar_button/toolbar_button.scss
|
||||
// style declaration carried over from https://github.com/elastic/kibana/blob/v8.10.4/src/platform/plugins/shared/kibana_react/public/toolbar_button/toolbar_button.scss
|
||||
// informed by issue https://github.com/elastic/eui/issues/4730
|
||||
borderStyle: 'solid',
|
||||
border: euiTheme.border.thin,
|
||||
|
|
|
@ -217,7 +217,7 @@ export interface AppMountParameters<HistoryLocationState = unknown> {
|
|||
* import ReactDOM from 'react-dom';
|
||||
*
|
||||
* import { AppMountParameters } from 'src/core/public';
|
||||
* import { wrapWithTheme } from 'src/plugins/kibana_react';
|
||||
* import { wrapWithTheme } from 'src/platform/plugins/shared/kibana_react';
|
||||
* import { MyApp } from './app';
|
||||
*
|
||||
* export renderApp = ({ element, theme$ }: AppMountParameters) => {
|
||||
|
|
|
@ -139,25 +139,25 @@ x-pack/plugins/lens/public/indexpattern_datasource/indexpattern.tsx kibana-app
|
|||
x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.test.tsx kibana-app
|
||||
x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.ts kibana-app
|
||||
x-pack/plugins/lens/public/indexpattern_datasource/layerpanel.test.tsx kibana-app
|
||||
x-pack/plugins/reporting/server/browsers/download/clean.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/download/download.test.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/download/download.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/download/ensure_downloaded.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/download/index.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/download/util.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/extract/extract.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/extract/extract_error.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/extract/index.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/extract/unzip.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/index.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/install.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/network_policy.test.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/network_policy.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/browsers/safe_child_process.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/config/config.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/config/create_config.test.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/config/create_config.ts kibana-reporting
|
||||
x-pack/plugins/reporting/server/config/default_chromium_sandbox_disabled.test.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/download/clean.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/download/download.test.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/download/download.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/download/ensure_downloaded.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/download/index.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/download/util.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/extract/extract.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/extract/extract_error.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/extract/index.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/extract/unzip.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/index.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/install.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/network_policy.test.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/network_policy.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/browsers/safe_child_process.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/config/config.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/config/create_config.test.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/config/create_config.ts kibana-reporting
|
||||
x-pack/platform/plugins/private/reporting/server/config/default_chromium_sandbox_disabled.test.ts kibana-reporting
|
||||
x-pack/plugins/lens/public/indexpattern_datasource/layerpanel.tsx kibana-app
|
||||
x-pack/plugins/lens/public/indexpattern_datasource/lens_field_icon.test.tsx kibana-app
|
||||
x-pack/plugins/lens/public/indexpattern_datasource/lens_field_icon.tsx kibana-app
|
||||
|
|
|
@ -33,13 +33,13 @@ describe(`Transform fns`, () => {
|
|||
it(`should remove the jenkins workspace path`, () => {
|
||||
const obj = {
|
||||
staticSiteUrl:
|
||||
'/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/x-pack/plugins/reporting/server/browsers/extract/unzip.ts',
|
||||
'/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/x-pack/platform/plugins/private/reporting/server/browsers/extract/unzip.ts',
|
||||
COVERAGE_INGESTION_KIBANA_ROOT:
|
||||
'/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana',
|
||||
};
|
||||
expect(coveredFilePath(obj)).toHaveProperty(
|
||||
'coveredFilePath',
|
||||
'x-pack/plugins/reporting/server/browsers/extract/unzip.ts'
|
||||
'x-pack/platform/plugins/private/reporting/server/browsers/extract/unzip.ts'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
@ -47,13 +47,13 @@ describe(`Transform fns`, () => {
|
|||
it(`should remove the jenkins workspace path`, () => {
|
||||
const obj = {
|
||||
staticSiteUrl:
|
||||
'/var/lib/jenkins/workspace/elastic+kibana+qa-research/kibana/x-pack/plugins/reporting/server/browsers/extract/unzip.ts',
|
||||
'/var/lib/jenkins/workspace/elastic+kibana+qa-research/kibana/x-pack/platform/plugins/private/reporting/server/browsers/extract/unzip.ts',
|
||||
COVERAGE_INGESTION_KIBANA_ROOT:
|
||||
'/var/lib/jenkins/workspace/elastic+kibana+qa-research/kibana',
|
||||
};
|
||||
expect(coveredFilePath(obj)).toHaveProperty(
|
||||
'coveredFilePath',
|
||||
'x-pack/plugins/reporting/server/browsers/extract/unzip.ts'
|
||||
'x-pack/platform/plugins/private/reporting/server/browsers/extract/unzip.ts'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
@ -83,7 +83,8 @@ describe(`Transform fns`, () => {
|
|||
describe(`teamAssignment`, () => {
|
||||
const teamAssignmentsPathMOCK =
|
||||
'src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt';
|
||||
const coveredFilePath = 'x-pack/plugins/reporting/server/browsers/extract/unzip.ts';
|
||||
const coveredFilePath =
|
||||
'x-pack/platform/plugins/private/reporting/server/browsers/extract/unzip.ts';
|
||||
const obj = { coveredFilePath };
|
||||
const log = new ToolingLog({
|
||||
level: 'info',
|
||||
|
|
|
@ -45,11 +45,11 @@ export const storybookAliases = {
|
|||
expression_tagcloud: 'src/plugins/chart_expressions/expression_tagcloud/.storybook',
|
||||
fleet: 'x-pack/platform/plugins/shared/fleet/.storybook',
|
||||
grouping: 'src/platform/packages/shared/kbn-grouping/.storybook',
|
||||
home: 'src/plugins/home/.storybook',
|
||||
home: 'src/platform/plugins/shared/home/.storybook',
|
||||
infra: 'x-pack/solutions/observability/plugins/infra/.storybook',
|
||||
inventory: 'x-pack/solutions/observability/plugins/inventory/.storybook',
|
||||
investigate: 'x-pack/solutions/observability/plugins/investigate_app/.storybook',
|
||||
kibana_react: 'src/plugins/kibana_react/.storybook',
|
||||
kibana_react: 'src/platform/plugins/shared/kibana_react/.storybook',
|
||||
lists: 'x-pack/solutions/security/plugins/lists/.storybook',
|
||||
logs_explorer: 'x-pack/solutions/observability/plugins/logs_explorer/.storybook',
|
||||
management: 'packages/kbn-management/storybook/config',
|
||||
|
@ -70,7 +70,7 @@ export const storybookAliases = {
|
|||
shared_ux: 'packages/shared-ux/storybook/config',
|
||||
threat_intelligence: 'x-pack/solutions/security/plugins/threat_intelligence/.storybook',
|
||||
triggers_actions_ui: 'x-pack/platform/plugins/shared/triggers_actions_ui/.storybook',
|
||||
ui_actions_enhanced: 'src/plugins/ui_actions_enhanced/.storybook',
|
||||
ui_actions_enhanced: 'src/platform/plugins/shared/ui_actions_enhanced/.storybook',
|
||||
unified_search: 'src/plugins/unified_search/.storybook',
|
||||
profiling: 'x-pack/solutions/observability/plugins/profiling/.storybook',
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
},
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
},
|
20
src/platform/plugins/private/image_embeddable/jest.config.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/src/platform/plugins/private/image_embeddable'],
|
||||
coverageDirectory:
|
||||
'<rootDir>/target/kibana-coverage/jest/src/platform/plugins/private/image_embeddable',
|
||||
coverageReporters: ['text', 'html'],
|
||||
collectCoverageFrom: [
|
||||
'<rootDir>/src/platform/plugins/private/image_embeddable/{__packages_do_not_import__,common,public,server,static}/**/*.{ts,tsx}',
|
||||
],
|
||||
};
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 157 KiB After Width: | Height: | Size: 157 KiB |
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types"
|
||||
},
|
20
src/platform/plugins/private/kibana_overview/jest.config.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/src/platform/plugins/private/kibana_overview'],
|
||||
coverageDirectory:
|
||||
'<rootDir>/target/kibana-coverage/jest/src/platform/plugins/private/kibana_overview',
|
||||
coverageReporters: ['text', 'html'],
|
||||
collectCoverageFrom: [
|
||||
'<rootDir>/src/platform/plugins/private/kibana_overview/{common,public}/**/*.{js,ts,tsx}',
|
||||
],
|
||||
};
|
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 9 KiB After Width: | Height: | Size: 9 KiB |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |