diff --git a/.buildkite/ftr_configs.yml b/.buildkite/ftr_configs.yml index eabff5152596c..4fe587dec5953 100644 --- a/.buildkite/ftr_configs.yml +++ b/.buildkite/ftr_configs.yml @@ -61,7 +61,7 @@ disabled: - x-pack/plugins/synthetics/e2e/config.ts - x-pack/plugins/uptime/e2e/uptime/synthetics_run.ts - x-pack/plugins/synthetics/e2e/synthetics/synthetics_run.ts - - x-pack/plugins/ux/e2e/synthetics_run.ts + - x-pack/plugins/observability_solution/ux/e2e/synthetics_run.ts - x-pack/plugins/exploratory_view/e2e/synthetics_run.ts # Configs that exist but weren't running in CI when this file was introduced diff --git a/.buildkite/pipelines/pull_request/ux_plugin_e2e.yml b/.buildkite/pipelines/pull_request/ux_plugin_e2e.yml index 476e8c204d15c..2cb69eb1eadd9 100644 --- a/.buildkite/pipelines/pull_request/ux_plugin_e2e.yml +++ b/.buildkite/pipelines/pull_request/ux_plugin_e2e.yml @@ -8,7 +8,7 @@ steps: - quick_checks timeout_in_minutes: 60 artifact_paths: - - 'x-pack/plugins/ux/e2e/.journeys/**/*' + - 'x-pack/plugins/observability_solution/ux/e2e/.journeys/**/*' retry: automatic: - exit_status: '-1' diff --git a/.buildkite/scripts/steps/functional/ux_synthetics_e2e.sh b/.buildkite/scripts/steps/functional/ux_synthetics_e2e.sh index f7d6a6276fb56..dbb3289f604e5 100755 --- a/.buildkite/scripts/steps/functional/ux_synthetics_e2e.sh +++ b/.buildkite/scripts/steps/functional/ux_synthetics_e2e.sh @@ -13,4 +13,4 @@ echo "--- User Experience @elastic/synthetics Tests" cd "$XPACK_DIR" -node plugins/ux/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"} +node plugins/observability_solution/ux/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"} diff --git a/.eslintrc.js b/.eslintrc.js index 926049115b956..e4c434b08264c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -874,7 +874,7 @@ module.exports = { 'x-pack/plugins/apm/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/observability/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/exploratory_view/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/ux/**/*.{js,mjs,ts,tsx}', + 'x-pack/plugins/observability_solution/ux/**/*.{js,mjs,ts,tsx}', ], rules: { 'no-console': ['warn', { allow: ['error'] }], @@ -920,7 +920,7 @@ module.exports = { 'x-pack/plugins/observability_shared/**/*.tsx', 'x-pack/plugins/profiling/**/*.tsx', 'x-pack/plugins/synthetics/**/*.tsx', - 'x-pack/plugins/ux/**/*.tsx', + 'x-pack/plugins/observability_solution/ux/**/*.tsx', 'src/plugins/ai_assistant_management/**/*.tsx', ], rules: { @@ -938,7 +938,7 @@ module.exports = { 'x-pack/plugins/observability_shared/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'x-pack/plugins/profiling/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'x-pack/plugins/synthetics/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', - 'x-pack/plugins/ux/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', + 'x-pack/plugins/observability_solution/ux/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'src/plugins/ai_assistant_management/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', ], rules: { diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5fd4e37416778..320e3c4ea39b7 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -856,7 +856,7 @@ x-pack/test/security_api_integration/plugins/user_profiles_consumer @elastic/kib packages/kbn-utility-types @elastic/kibana-core packages/kbn-utility-types-jest @elastic/kibana-operations packages/kbn-utils @elastic/kibana-operations -x-pack/plugins/ux @elastic/obs-ux-infra_services-team +x-pack/plugins/observability_solution/ux @elastic/obs-ux-infra_services-team examples/v8_profiler_examples @elastic/response-ops packages/kbn-validate-next-docs-cli @elastic/kibana-operations src/plugins/vis_default_editor @elastic/kibana-visualizations diff --git a/.github/paths-labeller.yml b/.github/paths-labeller.yml index 5f1ac0401ab31..944ede7c0227d 100644 --- a/.github/paths-labeller.yml +++ b/.github/paths-labeller.yml @@ -1,24 +1,24 @@ --- - - "Feature:Embedding": - - "src/plugins/embeddable/**/*.*" - - "src/plugins/dashboard_embeddable_container/**/*.*" - - "Feature:Drilldowns": - - "x-pack/plugins/drilldowns/**/*.*" - - "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/**/*.*" - - "Feature:ExpressionLanguage": - - "src/plugins/expressions/**/*.*" - - "src/plugins/bfetch/**/*.*" - - "Team:obs-ux-infra_services": - - "x-pack/plugins/apm/**/*.*" - - "x-pack/test/apm_api_integration/**/*.*" - - "packages/kbn-apm-synthtrace/**/*.*" - - "packages/kbn-apm-synthtrace-client/**/*.*" - - "packages/kbn-apm-utils/**/*.*" - - "x-pack/plugins/synthetics/**/*.*" - - "x-pack/plugins/ux/**/*.*" - - "x-pack/plugins/observability/public/components/shared/exploratory_view/**/*.*" - - "Team:Fleet": - - "x-pack/plugins/fleet/**/*.*" - - "x-pack/test/fleet_api_integration/**/*.*" - - "Team:obs-ux-management": - - "x-pack/plugins/observability/**/*.*" +- 'Feature:Embedding': + - 'src/plugins/embeddable/**/*.*' + - 'src/plugins/dashboard_embeddable_container/**/*.*' +- 'Feature:Drilldowns': + - 'x-pack/plugins/drilldowns/**/*.*' + - 'x-pack/plugins/dashboard_enhanced/public/services/drilldowns/**/*.*' +- 'Feature:ExpressionLanguage': + - 'src/plugins/expressions/**/*.*' + - 'src/plugins/bfetch/**/*.*' +- 'Team:obs-ux-infra_services': + - 'x-pack/plugins/apm/**/*.*' + - 'x-pack/test/apm_api_integration/**/*.*' + - 'packages/kbn-apm-synthtrace/**/*.*' + - 'packages/kbn-apm-synthtrace-client/**/*.*' + - 'packages/kbn-apm-utils/**/*.*' + - 'x-pack/plugins/synthetics/**/*.*' + - 'x-pack/plugins/observability_solution/ux/**/*.*' + - 'x-pack/plugins/observability/public/components/shared/exploratory_view/**/*.*' +- 'Team:Fleet': + - 'x-pack/plugins/fleet/**/*.*' + - 'x-pack/test/fleet_api_integration/**/*.*' +- 'Team:obs-ux-management': + - 'x-pack/plugins/observability/**/*.*' diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index d75fdd303201e..84a6ef6e82070 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -1623,7 +1623,7 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [ux_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ux/public/application/ux_app.tsx#:~:text=KibanaThemeProvider), [ux_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ux/public/application/ux_app.tsx#:~:text=KibanaThemeProvider), [ux_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ux/public/application/ux_app.tsx#:~:text=KibanaThemeProvider) | - | +| | [ux_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx#:~:text=KibanaThemeProvider), [ux_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx#:~:text=KibanaThemeProvider), [ux_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx#:~:text=KibanaThemeProvider) | - | @@ -1725,4 +1725,4 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| | | [shared_imports.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/application/shared_imports.ts#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/application/index.tsx#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/application/index.tsx#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/application/index.tsx#:~:text=KibanaThemeProvider) | - | -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/plugin.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/plugin.ts#:~:text=license%24) | 8.8.0 | \ No newline at end of file +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/plugin.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/plugin.ts#:~:text=license%24) | 8.8.0 | diff --git a/api_docs/kibana_react.devdocs.json b/api_docs/kibana_react.devdocs.json index da6c35434bffb..235489432b5d7 100644 --- a/api_docs/kibana_react.devdocs.json +++ b/api_docs/kibana_react.devdocs.json @@ -41,9 +41,7 @@ "tags": [], "label": "allowEmptyRange", "description": [], - "signature": [ - "true" - ], + "signature": ["true"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false @@ -55,9 +53,7 @@ "tags": [], "label": "fullWidth", "description": [], - "signature": [ - "false" - ], + "signature": ["false"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false @@ -69,9 +65,7 @@ "tags": [], "label": "compressed", "description": [], - "signature": [ - "false" - ], + "signature": ["false"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false @@ -99,9 +93,7 @@ "tags": [], "label": "nextProps", "description": [], - "signature": [ - "Props" - ], + "signature": ["Props"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false, @@ -114,9 +106,7 @@ "tags": [], "label": "prevState", "description": [], - "signature": [ - "State" - ], + "signature": ["State"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false, @@ -144,9 +134,7 @@ "tags": [], "label": "_onChange", "description": [], - "signature": [ - "(value: [string | number, string | number]) => void" - ], + "signature": ["(value: [string | number, string | number]) => void"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false, @@ -158,9 +146,7 @@ "tags": [], "label": "value", "description": [], - "signature": [ - "[string | number, string | number]" - ], + "signature": ["[string | number, string | number]"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false, @@ -176,9 +162,7 @@ "tags": [], "label": "render", "description": [], - "signature": [ - "() => JSX.Element" - ], + "signature": ["() => JSX.Element"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false, @@ -227,9 +211,7 @@ "tags": [], "label": "services", "description": [], - "signature": [ - "Services" - ], + "signature": ["Services"], "path": "src/plugins/kibana_react/public/context/context.tsx", "deprecated": false, "trackAdoption": false, @@ -357,9 +339,7 @@ "type": "Function", "tags": [], "label": "ElasticAgentCard", - "description": [ - "\nApplies extra styling to a typical EuiAvatar" - ], + "description": ["\nApplies extra styling to a typical EuiAvatar"], "signature": [ "({ solution, recommended, title, href, button, layout, category, ...cardRest }: React.PropsWithChildren<", { @@ -409,9 +389,7 @@ "tags": [], "label": "KibanaContextProvider", "description": [], - "signature": [ - "React.FunctionComponent<{ services?: {} | undefined; }>" - ], + "signature": ["React.FunctionComponent<{ services?: {} | undefined; }>"], "path": "src/plugins/kibana_react/public/context/context.tsx", "deprecated": false, "trackAdoption": false, @@ -424,9 +402,7 @@ "tags": [], "label": "props", "description": [], - "signature": [ - "P & { children?: React.ReactNode; }" - ], + "signature": ["P & { children?: React.ReactNode; }"], "path": "node_modules/@types/react/index.d.ts", "deprecated": false, "trackAdoption": false @@ -438,9 +414,7 @@ "tags": [], "label": "context", "description": [], - "signature": [ - "any" - ], + "signature": ["any"], "path": "node_modules/@types/react/index.d.ts", "deprecated": false, "trackAdoption": false @@ -454,9 +428,7 @@ "type": "Function", "tags": [], "label": "KibanaPageTemplateSolutionNavAvatar", - "description": [ - "\nApplies extra styling to a typical EuiAvatar" - ], + "description": ["\nApplies extra styling to a typical EuiAvatar"], "signature": [ "({ className, size, ...rest }: React.PropsWithChildren<", "KibanaPageTemplateSolutionNavAvatarProps", @@ -491,9 +463,7 @@ "parentPluginId": "kibanaReact", "id": "def-public.KibanaThemeProvider", "type": "Function", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "KibanaThemeProvider", "description": [], "signature": [ @@ -1701,15 +1671,15 @@ }, { "plugin": "ux", - "path": "x-pack/plugins/ux/public/application/ux_app.tsx" + "path": "x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx" }, { "plugin": "ux", - "path": "x-pack/plugins/ux/public/application/ux_app.tsx" + "path": "x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx" }, { "plugin": "ux", - "path": "x-pack/plugins/ux/public/application/ux_app.tsx" + "path": "x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx" }, { "plugin": "watcher", @@ -1953,11 +1923,7 @@ "tags": [], "label": "Markdown", "description": [], - "signature": [ - "(props: ", - "MarkdownProps", - ") => JSX.Element" - ], + "signature": ["(props: ", "MarkdownProps", ") => JSX.Element"], "path": "src/plugins/kibana_react/public/markdown/index.tsx", "deprecated": false, "trackAdoption": false, @@ -1969,9 +1935,7 @@ "tags": [], "label": "props", "description": [], - "signature": [ - "MarkdownProps" - ], + "signature": ["MarkdownProps"], "path": "src/plugins/kibana_react/public/markdown/index.tsx", "deprecated": false, "trackAdoption": false, @@ -1988,11 +1952,7 @@ "tags": [], "label": "MarkdownSimple", "description": [], - "signature": [ - "(props: ", - "MarkdownSimpleProps", - ") => JSX.Element" - ], + "signature": ["(props: ", "MarkdownSimpleProps", ") => JSX.Element"], "path": "src/plugins/kibana_react/public/markdown/index.tsx", "deprecated": false, "trackAdoption": false, @@ -2004,9 +1964,7 @@ "tags": [], "label": "props", "description": [], - "signature": [ - "MarkdownSimpleProps" - ], + "signature": ["MarkdownSimpleProps"], "path": "src/plugins/kibana_react/public/markdown/index.tsx", "deprecated": false, "trackAdoption": false, @@ -2135,9 +2093,7 @@ "tags": [], "label": "{\n addDataHref,\n application,\n devToolsHref,\n hidden,\n managementHref,\n showDevToolsLink,\n showManagementLink,\n}", "description": [], - "signature": [ - "Props" - ], + "signature": ["Props"], "path": "src/plugins/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.tsx", "deprecated": false, "trackAdoption": false, @@ -2168,9 +2124,7 @@ "tags": [], "label": "{\n addBasePath,\n path,\n onSetDefaultRoute,\n onChangeDefaultRoute,\n}", "description": [], - "signature": [ - "React.PropsWithChildren" - ], + "signature": ["React.PropsWithChildren"], "path": "src/plugins/kibana_react/public/overview_page/overview_page_footer/overview_page_footer.tsx", "deprecated": false, "trackAdoption": false, @@ -2235,9 +2189,7 @@ "tags": [], "label": "to", "description": [], - "signature": [ - "string | LocationObject" - ], + "signature": ["string | LocationObject"], "path": "src/plugins/kibana_react/public/react_router_navigate/react_router_navigate.tsx", "deprecated": false, "trackAdoption": false, @@ -2250,9 +2202,7 @@ "tags": [], "label": "onClickCallback", "description": [], - "signature": [ - "Function | undefined" - ], + "signature": ["Function | undefined"], "path": "src/plugins/kibana_react/public/react_router_navigate/react_router_navigate.tsx", "deprecated": false, "trackAdoption": false, @@ -2317,9 +2267,7 @@ "tags": [], "label": "to", "description": [], - "signature": [ - "string | LocationObject" - ], + "signature": ["string | LocationObject"], "path": "src/plugins/kibana_react/public/react_router_navigate/react_router_navigate.tsx", "deprecated": false, "trackAdoption": false, @@ -2332,9 +2280,7 @@ "tags": [], "label": "onClickCallback", "description": [], - "signature": [ - "Function | undefined" - ], + "signature": ["Function | undefined"], "path": "src/plugins/kibana_react/public/react_router_navigate/react_router_navigate.tsx", "deprecated": false, "trackAdoption": false, @@ -2348,9 +2294,7 @@ "parentPluginId": "kibanaReact", "id": "def-public.toMountPoint", "type": "Function", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "toMountPoint", "description": [], "signature": [ @@ -3297,9 +3241,7 @@ "tags": [], "label": "node", "description": [], - "signature": [ - "React.ReactNode" - ], + "signature": ["React.ReactNode"], "path": "src/plugins/kibana_react/public/util/index.tsx", "deprecated": false, "trackAdoption": false, @@ -3386,9 +3328,7 @@ "tags": [], "label": "useDarkMode", "description": [], - "signature": [ - "(defaultValue?: boolean | undefined) => boolean" - ], + "signature": ["(defaultValue?: boolean | undefined) => boolean"], "path": "src/plugins/kibana_react/public/dark_mode/use_dark_mode.ts", "deprecated": false, "trackAdoption": false, @@ -3400,9 +3340,7 @@ "tags": [], "label": "defaultValue", "description": [], - "signature": [ - "boolean | undefined" - ], + "signature": ["boolean | undefined"], "path": "src/plugins/kibana_react/public/dark_mode/use_dark_mode.ts", "deprecated": false, "trackAdoption": false, @@ -3418,9 +3356,7 @@ "type": "Function", "tags": [], "label": "useExecutionContext", - "description": [ - "\nSet and clean up application level execution context" - ], + "description": ["\nSet and clean up application level execution context"], "signature": [ "(executionContext: ", { @@ -3500,9 +3436,7 @@ "description": [ "\nReturns the current global UI-settings value.\n\nUsage:\n\n```js\nconst customBranding = useGlobalUiSetting('customBranding:pageTitle');\n```" ], - "signature": [ - "(key: string, defaultValue?: T | undefined) => T" - ], + "signature": ["(key: string, defaultValue?: T | undefined) => T"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3514,9 +3448,7 @@ "tags": [], "label": "key", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3529,9 +3461,7 @@ "tags": [], "label": "defaultValue", "description": [], - "signature": [ - "T | undefined" - ], + "signature": ["T | undefined"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3550,9 +3480,7 @@ "description": [ "\nReturns a 2-tuple, where first entry is the setting value and second is a\nfunction to update the setting value.\n\nSynchronously returns the most current value of the setting and subscribes\nto all subsequent updates, which will re-render your component on new values.\n\nUsage:\n\n```js\nconst [customBranding, setCustomBranding] = useGlobalUiSetting$('customBranding:pageTitle');\n```" ], - "signature": [ - "(key: string, defaultValue?: T | undefined) => [T, Setter]" - ], + "signature": ["(key: string, defaultValue?: T | undefined) => [T, Setter]"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3564,9 +3492,7 @@ "tags": [], "label": "key", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3579,9 +3505,7 @@ "tags": [], "label": "defaultValue", "description": [], - "signature": [ - "T | undefined" - ], + "signature": ["T | undefined"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3633,9 +3557,7 @@ "description": [ "\nReturns the current UI-settings value.\n\nUsage:\n\n```js\nconst darkMode = useUiSetting('theme:darkMode');\n```" ], - "signature": [ - "(key: string, defaultValue?: T | undefined) => T" - ], + "signature": ["(key: string, defaultValue?: T | undefined) => T"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3647,9 +3569,7 @@ "tags": [], "label": "key", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3662,9 +3582,7 @@ "tags": [], "label": "defaultValue", "description": [], - "signature": [ - "T | undefined" - ], + "signature": ["T | undefined"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3683,9 +3601,7 @@ "description": [ "\nReturns a 2-tuple, where first entry is the setting value and second is a\nfunction to update the setting value.\n\nSynchronously returns the most current value of the setting and subscribes\nto all subsequent updates, which will re-render your component on new values.\n\nUsage:\n\n```js\nconst [darkMode, setDarkMode] = useUiSetting$('theme:darkMode');\n```" ], - "signature": [ - "(key: string, defaultValue?: T | undefined) => [T, Setter]" - ], + "signature": ["(key: string, defaultValue?: T | undefined) => [T, Setter]"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3697,9 +3613,7 @@ "tags": [], "label": "key", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3712,9 +3626,7 @@ "tags": [], "label": "defaultValue", "description": [], - "signature": [ - "T | undefined" - ], + "signature": ["T | undefined"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3753,9 +3665,7 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "React.ComponentType" - ], + "signature": ["React.ComponentType"], "path": "src/plugins/kibana_react/public/context/context.tsx", "deprecated": false, "trackAdoption": false, @@ -3796,9 +3706,7 @@ "tags": [], "label": "node", "description": [], - "signature": [ - "React.ReactNode" - ], + "signature": ["React.ReactNode"], "path": "src/plugins/kibana_react/public/theme.tsx", "deprecated": false, "trackAdoption": false, @@ -3883,9 +3791,7 @@ "tags": [], "label": "Provider", "description": [], - "signature": [ - "React.FunctionComponent<{ services?: T | undefined; }>" - ], + "signature": ["React.FunctionComponent<{ services?: T | undefined; }>"], "path": "src/plugins/kibana_react/public/context/types.ts", "deprecated": false, "trackAdoption": false, @@ -3898,9 +3804,7 @@ "tags": [], "label": "props", "description": [], - "signature": [ - "P & { children?: React.ReactNode; }" - ], + "signature": ["P & { children?: React.ReactNode; }"], "path": "node_modules/@types/react/index.d.ts", "deprecated": false, "trackAdoption": false @@ -3912,9 +3816,7 @@ "tags": [], "label": "context", "description": [], - "signature": [ - "any" - ], + "signature": ["any"], "path": "node_modules/@types/react/index.d.ts", "deprecated": false, "trackAdoption": false @@ -3951,9 +3853,7 @@ "tags": [], "label": "props", "description": [], - "signature": [ - "P" - ], + "signature": ["P"], "path": "node_modules/@types/react/index.d.ts", "deprecated": false, "trackAdoption": false @@ -3991,9 +3891,7 @@ "tags": [], "label": "services", "description": [], - "signature": [ - "Services" - ], + "signature": ["Services"], "path": "src/plugins/kibana_react/public/context/types.ts", "deprecated": false, "trackAdoption": false @@ -4148,9 +4046,7 @@ "tags": [], "label": "node", "description": [], - "signature": [ - "React.ReactNode" - ], + "signature": ["React.ReactNode"], "path": "src/plugins/kibana_react/public/overlays/types.ts", "deprecated": false, "trackAdoption": false, @@ -4217,9 +4113,7 @@ "tags": [], "label": "node", "description": [], - "signature": [ - "React.ReactNode" - ], + "signature": ["React.ReactNode"], "path": "src/plugins/kibana_react/public/overlays/types.ts", "deprecated": false, "trackAdoption": false, @@ -4294,12 +4188,8 @@ "type": "string", "tags": [], "label": "logo", - "description": [ - "\nOptionally replace the auto-generated logo" - ], - "signature": [ - "string | undefined" - ], + "description": ["\nOptionally replace the auto-generated logo"], + "signature": ["string | undefined"], "path": "src/plugins/kibana_react/public/page_template/no_data_page/no_data_page.tsx", "deprecated": false, "trackAdoption": false @@ -4310,9 +4200,7 @@ "type": "string", "tags": [], "label": "docsLink", - "description": [ - "\nRequired to set the docs link for the whole solution" - ], + "description": ["\nRequired to set the docs link for the whole solution"], "path": "src/plugins/kibana_react/public/page_template/no_data_page/no_data_page.tsx", "deprecated": false, "trackAdoption": false @@ -4323,12 +4211,8 @@ "type": "string", "tags": [], "label": "pageTitle", - "description": [ - "\nOptionally replace the auto-generated page title (h1)" - ], - "signature": [ - "string | undefined" - ], + "description": ["\nOptionally replace the auto-generated page title (h1)"], + "signature": ["string | undefined"], "path": "src/plugins/kibana_react/public/page_template/no_data_page/no_data_page.tsx", "deprecated": false, "trackAdoption": false @@ -4406,9 +4290,7 @@ "tags": [], "label": "color", "description": [], - "signature": [ - "\"warning\" | \"success\" | \"primary\" | \"danger\" | undefined" - ], + "signature": ["\"warning\" | \"success\" | \"primary\" | \"danger\" | undefined"], "path": "src/plugins/kibana_react/public/notifications/types.ts", "deprecated": false, "trackAdoption": false @@ -4420,10 +4302,7 @@ "tags": [], "label": "iconType", "description": [], - "signature": [ - "IconType", - " | undefined" - ], + "signature": ["IconType", " | undefined"], "path": "src/plugins/kibana_react/public/notifications/types.ts", "deprecated": false, "trackAdoption": false @@ -4435,9 +4314,7 @@ "tags": [], "label": "toastLifeTimeMs", "description": [], - "signature": [ - "number | undefined" - ], + "signature": ["number | undefined"], "path": "src/plugins/kibana_react/public/notifications/types.ts", "deprecated": false, "trackAdoption": false @@ -4449,9 +4326,7 @@ "tags": [], "label": "onClose", "description": [], - "signature": [ - "(() => void) | undefined" - ], + "signature": ["(() => void) | undefined"], "path": "src/plugins/kibana_react/public/notifications/types.ts", "deprecated": false, "trackAdoption": false @@ -4463,9 +4338,7 @@ "parentPluginId": "kibanaReact", "id": "def-public.ToMountPointOptions", "type": "Interface", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "ToMountPointOptions", "description": [], "path": "src/plugins/kibana_react/public/util/index.tsx", @@ -4549,9 +4422,7 @@ "tags": [], "label": "height", "description": [], - "signature": [ - "string | number | undefined" - ], + "signature": ["string | number | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false @@ -4614,11 +4485,7 @@ "tags": [], "label": "onEditor", "description": [], - "signature": [ - "((editor: ", - "editor", - ".IStandaloneCodeEditor) => void) | undefined" - ], + "signature": ["((editor: ", "editor", ".IStandaloneCodeEditor) => void) | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false, @@ -4630,10 +4497,7 @@ "tags": [], "label": "editor", "description": [], - "signature": [ - "editor", - ".IStandaloneCodeEditor" - ], + "signature": ["editor", ".IStandaloneCodeEditor"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false, @@ -4649,9 +4513,7 @@ "tags": [], "label": "placeholder", "description": [], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false @@ -4710,9 +4572,7 @@ "tags": [], "label": "title", "description": [], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false @@ -4724,9 +4584,7 @@ "tags": [], "label": "documentation", "description": [], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false @@ -4738,10 +4596,7 @@ "tags": [], "label": "kind", "description": [], - "signature": [ - "languages", - ".CompletionItemKind | undefined" - ], + "signature": ["languages", ".CompletionItemKind | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false @@ -4753,9 +4608,7 @@ "tags": [], "label": "sortText", "description": [], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false @@ -4943,9 +4796,7 @@ "parentPluginId": "kibanaReact", "id": "def-public.KibanaThemeProviderProps", "type": "Type", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "KibanaThemeProviderProps", "description": [], "signature": [ @@ -5031,9 +4882,7 @@ "tags": [], "label": "Value", "description": [], - "signature": [ - "[string | number, string | number]" - ], + "signature": ["[string | number, string | number]"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false, @@ -5091,9 +4940,7 @@ "type": "Function", "tags": [], "label": "createGlobalStyle", - "description": [ - "/** see https://styled-components.com/docs/api#createglobalstyle */" - ], + "description": ["/** see https://styled-components.com/docs/api#createglobalstyle */"], "signature": [ "

(first: TemplateStringsArray | ", "CSSObject", @@ -5165,12 +5012,7 @@ "tags": [], "label": "interpolations", "description": [], - "signature": [ - "Interpolation", - "<", - "ThemedStyledProps", - ">[]" - ], + "signature": ["Interpolation", "<", "ThemedStyledProps", ">[]"], "path": "node_modules/@types/styled-components/ts3.7/index.d.ts", "deprecated": false, "trackAdoption": false @@ -5184,9 +5026,7 @@ "type": "Function", "tags": [], "label": "css", - "description": [ - "/** see https://styled-components.com/docs/api#css-prop */" - ], + "description": ["/** see https://styled-components.com/docs/api#css-prop */"], "signature": [ "BaseThemedCssFunction", "<", @@ -5210,9 +5050,7 @@ "type": "Function", "tags": [], "label": "euiStyled", - "description": [ - "/** see https://styled-components.com/docs/api#styled */" - ], + "description": ["/** see https://styled-components.com/docs/api#styled */"], "signature": [ "ThemedBaseStyledInterface", "<", @@ -5236,9 +5074,7 @@ "type": "Function", "tags": [], "label": "keyframes", - "description": [ - "/** see https://styled-components.com/docs/api#keyframes */" - ], + "description": ["/** see https://styled-components.com/docs/api#keyframes */"], "signature": [ "(strings: TemplateStringsArray | ", "CSSKeyframes", @@ -5259,10 +5095,7 @@ "tags": [], "label": "strings", "description": [], - "signature": [ - "TemplateStringsArray | ", - "CSSKeyframes" - ], + "signature": ["TemplateStringsArray | ", "CSSKeyframes"], "path": "node_modules/@types/styled-components/ts3.7/index.d.ts", "deprecated": false, "trackAdoption": false @@ -5274,10 +5107,7 @@ "tags": [], "label": "interpolations", "description": [], - "signature": [ - "SimpleInterpolation", - "[]" - ], + "signature": ["SimpleInterpolation", "[]"], "path": "node_modules/@types/styled-components/ts3.7/index.d.ts", "deprecated": false, "trackAdoption": false @@ -5291,9 +5121,7 @@ "type": "Function", "tags": [], "label": "KibanaStyledComponentsThemeProvider", - "description": [ - "\nA `styled-components` `ThemeProvider` that incorporates EUI dark mode." - ], + "description": ["\nA `styled-components` `ThemeProvider` that incorporates EUI dark mode."], "signature": [ ">(component: React.ComponentProps extends { theme?: ", { @@ -5464,9 +5288,7 @@ "tags": [], "label": "component", "description": [], - "signature": [ - "React.ComponentProps extends { theme?: T | undefined; } ? C : never" - ], + "signature": ["React.ComponentProps extends { theme?: T | undefined; } ? C : never"], "path": "node_modules/@types/styled-components/ts3.7/index.d.ts", "deprecated": false, "trackAdoption": false @@ -5495,9 +5317,7 @@ "type": "Object", "tags": [], "label": "eui", - "description": [ - "EUI theme vars that automaticall adjust to light and dark mode." - ], + "description": ["EUI theme vars that automaticall adjust to light and dark mode."], "signature": [ "{ euiZDataGrid: number; euiZHeaderBelowDataGrid: number; euiZDataGridCellPopover: number; euiDataGridCellPaddingS: string; euiDataGridCellPaddingM: string; euiDataGridCellPaddingL: string; euiTableHoverColor: string; euiTableSelectedColor: string; euiTableHoverSelectedColor: string; euiTableActionsBorderColor: string; euiTableHoverClickableColor: string; euiTableFocusClickableColor: string; euiContrastRatioText: number; euiContrastRatioGraphic: number; euiContrastRatioDisabled: number; euiAnimSlightBounce: string; euiAnimSlightResistance: string; euiAnimSpeedExtraFast: string; euiAnimSpeedFast: string; euiAnimSpeedNormal: string; euiAnimSpeedSlow: string; euiAnimSpeedExtraSlow: string; euiBorderWidthThin: string; euiBorderWidthThick: string; euiBorderColor: string; euiBorderRadius: string; euiBorderRadiusSmall: string; euiBorderThick: string; euiBorderThin: string; euiBorderEditable: string; euiButtonHeight: string; euiButtonHeightSmall: string; euiButtonHeightXSmall: string; euiButtonColorDisabled: string; euiButtonColorDisabledText: string; euiButtonColorGhostDisabled: string; euiButtonTypes: { primary: string; accent: string; success: string; warning: string; danger: string; ghost: string; text: string; }; euiPaletteColorBlind: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; }; euiPaletteColorBlindKeys: string; euiColorVis0: string; euiColorVis1: string; euiColorVis2: string; euiColorVis3: string; euiColorVis4: string; euiColorVis5: string; euiColorVis6: string; euiColorVis7: string; euiColorVis8: string; euiColorVis9: string; euiColorVis0_behindText: string; euiColorVis1_behindText: string; euiColorVis2_behindText: string; euiColorVis3_behindText: string; euiColorVis4_behindText: string; euiColorVis5_behindText: string; euiColorVis6_behindText: string; euiColorVis7_behindText: string; euiColorVis8_behindText: string; euiColorVis9_behindText: string; euiFontWeightLight: number; euiFontWeightRegular: number; euiFontWeightMedium: number; euiFontWeightSemiBold: number; euiFontWeightBold: number; euiCodeFontWeightRegular: number; euiCodeFontWeightBold: number; euiFormMaxWidth: string; euiFormControlHeight: string; euiFormControlCompressedHeight: string; euiFormControlPadding: string; euiFormControlCompressedPadding: string; euiFormControlBorderRadius: string; euiFormControlCompressedBorderRadius: string; euiRadioSize: string; euiCheckBoxSize: string; euiCheckboxBorderRadius: string; euiSwitchHeight: string; euiSwitchWidth: string; euiSwitchThumbSize: string; euiSwitchIconHeight: string; euiSwitchHeightCompressed: string; euiSwitchWidthCompressed: string; euiSwitchThumbSizeCompressed: string; euiSwitchHeightMini: string; euiSwitchWidthMini: string; euiSwitchThumbSizeMini: string; euiFormBackgroundColor: string; euiFormBackgroundDisabledColor: string; euiFormBackgroundReadOnlyColor: string; euiFormBorderOpaqueColor: string; euiFormBorderColor: string; euiFormBorderDisabledColor: string; euiFormCustomControlDisabledIconColor: string; euiFormCustomControlBorderColor: string; euiFormControlDisabledColor: string; euiFormControlBoxShadow: string; euiFormControlPlaceholderText: string; euiFormInputGroupLabelBackground: string; euiFormInputGroupBorder: string; euiSwitchOffColor: string; euiFormControlIconSizes: { small: string; medium: string; large: string; xLarge: string; xxLarge: string; }; euiFormControlLayoutGroupInputHeight: string; euiFormControlLayoutGroupInputCompressedHeight: string; euiFormControlLayoutGroupInputCompressedBorderRadius: string; euiHeaderBackgroundColor: string; euiHeaderDarkBackgroundColor: string; euiHeaderBorderColor: string; euiHeaderBreadcrumbColor: string; euiHeaderHeight: string; euiHeaderChildSize: string; euiHeaderHeightCompensation: string; euiPageDefaultMaxWidth: string; euiPageSidebarMinWidth: string; euiPanelPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiPanelBorderRadiusModifiers: { borderRadiusNone: number; borderRadiusMedium: string; }; euiPanelBackgroundColorModifiers: { transparent: string; plain: string; subdued: string; accent: string; primary: string; success: string; warning: string; danger: string; }; euiBreakpoints: { xs: number; s: string; m: string; l: string; xl: string; }; euiBreakpointKeys: string; euiShadowColor: string; euiSize: string; euiSizeXS: string; euiSizeS: string; euiSizeM: string; euiSizeL: string; euiSizeXL: string; euiSizeXXL: string; euiScrollBar: string; euiScrollBarCorner: string; euiScrollBarCornerThin: string; euiFocusRingColor: string; euiFocusRingAnimStartColor: string; euiFocusRingAnimStartSize: string; euiFocusRingAnimStartSizeLarge: string; euiFocusRingSizeLarge: string; euiFocusRingSize: string; euiFocusTransparency: number; euiFocusTransparencyPercent: string; euiFocusBackgroundColor: string; euiFontFamily: string; euiCodeFontFamily: string; euiFontFeatureSettings: string; euiTextScale: string; euiFontSize: string; euiFontSizeXS: string; euiFontSizeS: string; euiFontSizeM: string; euiFontSizeL: string; euiFontSizeXL: string; euiFontSizeXXL: string; euiLineHeight: number; euiBodyLineHeight: number; euiTitles: { xxxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; s: { 'font-size': string; 'line-height': string; 'font-weight': number; }; m: { 'font-size': string; 'line-height': string; 'font-weight': number; }; l: { 'font-size': string; 'line-height': string; 'font-weight': number; }; }; euiZLevel0: number; euiZLevel1: number; euiZLevel2: number; euiZLevel3: number; euiZLevel4: number; euiZLevel5: number; euiZLevel6: number; euiZLevel7: number; euiZLevel8: number; euiZLevel9: number; euiZToastList: number; euiZModal: number; euiZMask: number; euiZNavigation: number; euiZContentMenu: number; euiZHeader: number; euiZFlyout: number; euiZMaskBelowHeader: number; euiZContent: number; euiColorGhost: string; euiColorInk: string; euiColorPrimary: string; euiColorAccent: string; euiColorSuccess: string; euiColorWarning: string; euiColorDanger: string; euiColorEmptyShade: string; euiColorLightestShade: string; euiColorLightShade: string; euiColorMediumShade: string; euiColorDarkShade: string; euiColorDarkestShade: string; euiColorFullShade: string; euiPageBackgroundColor: string; euiColorHighlight: string; euiTextColor: string; euiTitleColor: string; euiTextSubduedColor: string; euiColorDisabled: string; euiColorPrimaryText: string; euiColorSuccessText: string; euiColorAccentText: string; euiColorWarningText: string; euiColorDangerText: string; euiColorDisabledText: string; euiLinkColor: string; euiColorChartLines: string; euiColorChartBand: string; }" ], @@ -5511,9 +5331,7 @@ "type": "boolean", "tags": [], "label": "darkMode", - "description": [ - "True if the theme is in \"dark\" mode, false otherwise." - ], + "description": ["True if the theme is in \"dark\" mode, false otherwise."], "path": "packages/react/kibana_context/styled/styled_provider.tsx", "deprecated": false, "trackAdoption": false @@ -5526,4 +5344,4 @@ "misc": [], "objects": [] } -} \ No newline at end of file +} diff --git a/api_docs/ux.devdocs.json b/api_docs/ux.devdocs.json index 88ae637d044d0..275704eae47b3 100644 --- a/api_docs/ux.devdocs.json +++ b/api_docs/ux.devdocs.json @@ -14,10 +14,8 @@ "tags": [], "label": "UxPluginStart", "description": [], - "signature": [ - "void" - ], - "path": "x-pack/plugins/ux/public/plugin.ts", + "signature": ["void"], + "path": "x-pack/plugins/observability_solution/ux/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -40,4 +38,4 @@ "misc": [], "objects": [] } -} \ No newline at end of file +} diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 5e1a8c5637953..49b36748aa2f3 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -857,7 +857,7 @@ in their infrastructure. |NOTE: This plugin contains implementation of URL drilldown. For drilldowns infrastructure code refer to ui_actions_enhanced plugin. -|{kib-repo}blob/{branch}/x-pack/plugins/ux/readme.md[ux] +|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/ux/readme.md[ux] |https://docs.elastic.dev/kibana-dev-docs/welcome diff --git a/package.json b/package.json index 1f14992b26e30..dcd3c65c7a3cc 100644 --- a/package.json +++ b/package.json @@ -845,7 +845,7 @@ "@kbn/utility-types": "link:packages/kbn-utility-types", "@kbn/utility-types-jest": "link:packages/kbn-utility-types-jest", "@kbn/utils": "link:packages/kbn-utils", - "@kbn/ux-plugin": "link:x-pack/plugins/ux", + "@kbn/ux-plugin": "link:x-pack/plugins/observability_solution/ux", "@kbn/v8-profiler-examples-plugin": "link:examples/v8_profiler_examples", "@kbn/vis-default-editor-plugin": "link:src/plugins/vis_default_editor", "@kbn/vis-type-gauge-plugin": "link:src/plugins/vis_types/gauge", diff --git a/packages/kbn-babel-preset/styled_components_files.js b/packages/kbn-babel-preset/styled_components_files.js index 49f96c9c67f71..b1d7d227c704e 100644 --- a/packages/kbn-babel-preset/styled_components_files.js +++ b/packages/kbn-babel-preset/styled_components_files.js @@ -14,7 +14,7 @@ module.exports = { USES_STYLED_COMPONENTS: [ /packages[\/\\]kbn-ui-shared-deps-(npm|src)[\/\\]/, /src[\/\\]plugins[\/\\](kibana_react)[\/\\]/, - /x-pack[\/\\]plugins[\/\\](apm|beats_management|cases|fleet|infra|lists|observability|observability_shared|exploratory_view|security_solution|timelines|synthetics|ux|uptime)[\/\\]/, + /x-pack[\/\\]plugins[\/\\](apm|beats_management|cases|fleet|infra|lists|observability|observability_shared|exploratory_view|security_solution|timelines|synthetics|observability_solution\/ux|uptime)[\/\\]/, /x-pack[\/\\]test[\/\\]plugin_functional[\/\\]plugins[\/\\]resolver_test[\/\\]/, /x-pack[\/\\]packages[\/\\]elastic_assistant[\/\\]/, /x-pack[\/\\]packages[\/\\]security-solution[\/\\]ecs_data_quality_dashboard[\/\\]/, diff --git a/tsconfig.base.json b/tsconfig.base.json index e5c925e2a563a..6c0706e7988de 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1706,8 +1706,8 @@ "@kbn/utility-types-jest/*": ["packages/kbn-utility-types-jest/*"], "@kbn/utils": ["packages/kbn-utils"], "@kbn/utils/*": ["packages/kbn-utils/*"], - "@kbn/ux-plugin": ["x-pack/plugins/ux"], - "@kbn/ux-plugin/*": ["x-pack/plugins/ux/*"], + "@kbn/ux-plugin": ["x-pack/plugins/observability_solution/ux"], + "@kbn/ux-plugin/*": ["x-pack/plugins/observability_solution/ux/*"], "@kbn/v8-profiler-examples-plugin": ["examples/v8_profiler_examples"], "@kbn/v8-profiler-examples-plugin/*": ["examples/v8_profiler_examples/*"], "@kbn/validate-next-docs-cli": ["packages/kbn-validate-next-docs-cli"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index ad4b96394483a..b2d4dd355a398 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -99,7 +99,7 @@ "xpack.triggersActionsUI": "plugins/triggers_actions_ui", "xpack.upgradeAssistant": "plugins/upgrade_assistant", "xpack.synthetics": ["plugins/synthetics"], - "xpack.ux": ["plugins/ux"], + "xpack.ux": ["plugins/observability_solution/ux"], "xpack.uptime": ["plugins/uptime"], "xpack.urlDrilldown": "plugins/drilldowns/url_drilldown", "xpack.watcher": "plugins/watcher" diff --git a/x-pack/plugins/ux/.buildkite/pipelines/flaky.js b/x-pack/plugins/observability_solution/ux/.buildkite/pipelines/flaky.js similarity index 100% rename from x-pack/plugins/ux/.buildkite/pipelines/flaky.js rename to x-pack/plugins/observability_solution/ux/.buildkite/pipelines/flaky.js diff --git a/x-pack/plugins/observability_solution/ux/.buildkite/pipelines/flaky.sh b/x-pack/plugins/observability_solution/ux/.buildkite/pipelines/flaky.sh new file mode 100644 index 0000000000000..f358969a3ff8a --- /dev/null +++ b/x-pack/plugins/observability_solution/ux/.buildkite/pipelines/flaky.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -euo pipefail + +UUID="$(cat /proc/sys/kernel/random/uuid)" +export UUID + +node x-pack/plugins/observability_solution/ux/.buildkite/pipelines/flaky.js | buildkite-agent pipeline upload diff --git a/x-pack/plugins/ux/.prettierrc b/x-pack/plugins/observability_solution/ux/.prettierrc similarity index 100% rename from x-pack/plugins/ux/.prettierrc rename to x-pack/plugins/observability_solution/ux/.prettierrc diff --git a/x-pack/plugins/ux/.storybook/main.js b/x-pack/plugins/observability_solution/ux/.storybook/main.js similarity index 100% rename from x-pack/plugins/ux/.storybook/main.js rename to x-pack/plugins/observability_solution/ux/.storybook/main.js diff --git a/x-pack/plugins/ux/CONTRIBUTING.md b/x-pack/plugins/observability_solution/ux/CONTRIBUTING.md similarity index 100% rename from x-pack/plugins/ux/CONTRIBUTING.md rename to x-pack/plugins/observability_solution/ux/CONTRIBUTING.md diff --git a/x-pack/plugins/ux/common/agent_name.ts b/x-pack/plugins/observability_solution/ux/common/agent_name.ts similarity index 100% rename from x-pack/plugins/ux/common/agent_name.ts rename to x-pack/plugins/observability_solution/ux/common/agent_name.ts diff --git a/x-pack/plugins/ux/common/config.ts b/x-pack/plugins/observability_solution/ux/common/config.ts similarity index 100% rename from x-pack/plugins/ux/common/config.ts rename to x-pack/plugins/observability_solution/ux/common/config.ts diff --git a/x-pack/plugins/ux/common/elasticsearch_fieldnames.ts b/x-pack/plugins/observability_solution/ux/common/elasticsearch_fieldnames.ts similarity index 100% rename from x-pack/plugins/ux/common/elasticsearch_fieldnames.ts rename to x-pack/plugins/observability_solution/ux/common/elasticsearch_fieldnames.ts diff --git a/x-pack/plugins/ux/common/environment_filter_values.ts b/x-pack/plugins/observability_solution/ux/common/environment_filter_values.ts similarity index 100% rename from x-pack/plugins/ux/common/environment_filter_values.ts rename to x-pack/plugins/observability_solution/ux/common/environment_filter_values.ts diff --git a/x-pack/plugins/ux/common/environment_rt.ts b/x-pack/plugins/observability_solution/ux/common/environment_rt.ts similarity index 100% rename from x-pack/plugins/ux/common/environment_rt.ts rename to x-pack/plugins/observability_solution/ux/common/environment_rt.ts diff --git a/x-pack/plugins/ux/common/fetch_options.ts b/x-pack/plugins/observability_solution/ux/common/fetch_options.ts similarity index 100% rename from x-pack/plugins/ux/common/fetch_options.ts rename to x-pack/plugins/observability_solution/ux/common/fetch_options.ts diff --git a/x-pack/plugins/ux/common/index_pattern_constants.ts b/x-pack/plugins/observability_solution/ux/common/index_pattern_constants.ts similarity index 100% rename from x-pack/plugins/ux/common/index_pattern_constants.ts rename to x-pack/plugins/observability_solution/ux/common/index_pattern_constants.ts diff --git a/x-pack/plugins/ux/common/transaction_types.ts b/x-pack/plugins/observability_solution/ux/common/transaction_types.ts similarity index 100% rename from x-pack/plugins/ux/common/transaction_types.ts rename to x-pack/plugins/observability_solution/ux/common/transaction_types.ts diff --git a/x-pack/plugins/ux/common/utils/merge_projection.ts b/x-pack/plugins/observability_solution/ux/common/utils/merge_projection.ts similarity index 100% rename from x-pack/plugins/ux/common/utils/merge_projection.ts rename to x-pack/plugins/observability_solution/ux/common/utils/merge_projection.ts diff --git a/x-pack/plugins/ux/common/utils/pick_keys.ts b/x-pack/plugins/observability_solution/ux/common/utils/pick_keys.ts similarity index 100% rename from x-pack/plugins/ux/common/utils/pick_keys.ts rename to x-pack/plugins/observability_solution/ux/common/utils/pick_keys.ts diff --git a/x-pack/plugins/ux/common/ux_ui_filter.ts b/x-pack/plugins/observability_solution/ux/common/ux_ui_filter.ts similarity index 100% rename from x-pack/plugins/ux/common/ux_ui_filter.ts rename to x-pack/plugins/observability_solution/ux/common/ux_ui_filter.ts diff --git a/x-pack/plugins/ux/e2e/README.md b/x-pack/plugins/observability_solution/ux/e2e/README.md similarity index 56% rename from x-pack/plugins/ux/e2e/README.md rename to x-pack/plugins/observability_solution/ux/e2e/README.md index c2a9b81c7f40b..60c6d2f643b77 100644 --- a/x-pack/plugins/ux/e2e/README.md +++ b/x-pack/plugins/observability_solution/ux/e2e/README.md @@ -5,11 +5,11 @@ script for standing up the test server. ### Start the server -From `~/x-pack/plugins/ux/scripts`, run `node e2e.js --server`. Wait for the server to startup. It will provide you +From `~/x-pack/plugins/observability_solution/ux/scripts`, run `node e2e.js --server`. Wait for the server to startup. It will provide you with an example run command when it finishes. ### Run the tests -From this directory, `~/x-pack/plugins/ux/e2e`, you can now run `node ../../../../scripts/functional_test_runner --config synthetics_run.ts`. +From this directory, `~/x-pack/plugins/observability_solution/ux/e2e`, you can now run `node ../../../../../scripts/functional_test_runner --config synthetics_run.ts`. In addition to the usual flags like `--grep`, you can also specify `--no-headless` in order to view your tests as you debug/develop. diff --git a/x-pack/plugins/ux/e2e/fixtures/rum_8.0.0/data.json.gz b/x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_8.0.0/data.json.gz similarity index 100% rename from x-pack/plugins/ux/e2e/fixtures/rum_8.0.0/data.json.gz rename to x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_8.0.0/data.json.gz diff --git a/x-pack/plugins/ux/e2e/fixtures/rum_8.0.0/mappings.json b/x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_8.0.0/mappings.json similarity index 100% rename from x-pack/plugins/ux/e2e/fixtures/rum_8.0.0/mappings.json rename to x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_8.0.0/mappings.json diff --git a/x-pack/plugins/ux/e2e/fixtures/rum_test_data/data.json.gz b/x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_test_data/data.json.gz similarity index 100% rename from x-pack/plugins/ux/e2e/fixtures/rum_test_data/data.json.gz rename to x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_test_data/data.json.gz diff --git a/x-pack/plugins/ux/e2e/fixtures/rum_test_data/mappings.json b/x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_test_data/mappings.json similarity index 100% rename from x-pack/plugins/ux/e2e/fixtures/rum_test_data/mappings.json rename to x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_test_data/mappings.json diff --git a/x-pack/plugins/ux/e2e/helpers/parse_args_params.ts b/x-pack/plugins/observability_solution/ux/e2e/helpers/parse_args_params.ts similarity index 100% rename from x-pack/plugins/ux/e2e/helpers/parse_args_params.ts rename to x-pack/plugins/observability_solution/ux/e2e/helpers/parse_args_params.ts diff --git a/x-pack/plugins/ux/e2e/helpers/record_video.ts b/x-pack/plugins/observability_solution/ux/e2e/helpers/record_video.ts similarity index 100% rename from x-pack/plugins/ux/e2e/helpers/record_video.ts rename to x-pack/plugins/observability_solution/ux/e2e/helpers/record_video.ts diff --git a/x-pack/plugins/ux/e2e/helpers/synthetics_runner.ts b/x-pack/plugins/observability_solution/ux/e2e/helpers/synthetics_runner.ts similarity index 100% rename from x-pack/plugins/ux/e2e/helpers/synthetics_runner.ts rename to x-pack/plugins/observability_solution/ux/e2e/helpers/synthetics_runner.ts diff --git a/x-pack/plugins/ux/e2e/helpers/test_reporter.ts b/x-pack/plugins/observability_solution/ux/e2e/helpers/test_reporter.ts similarity index 100% rename from x-pack/plugins/ux/e2e/helpers/test_reporter.ts rename to x-pack/plugins/observability_solution/ux/e2e/helpers/test_reporter.ts diff --git a/x-pack/plugins/ux/e2e/journeys/core_web_vitals.ts b/x-pack/plugins/observability_solution/ux/e2e/journeys/core_web_vitals.ts similarity index 100% rename from x-pack/plugins/ux/e2e/journeys/core_web_vitals.ts rename to x-pack/plugins/observability_solution/ux/e2e/journeys/core_web_vitals.ts diff --git a/x-pack/plugins/ux/e2e/journeys/index.ts b/x-pack/plugins/observability_solution/ux/e2e/journeys/index.ts similarity index 100% rename from x-pack/plugins/ux/e2e/journeys/index.ts rename to x-pack/plugins/observability_solution/ux/e2e/journeys/index.ts diff --git a/x-pack/plugins/ux/e2e/journeys/inp.journey.ts b/x-pack/plugins/observability_solution/ux/e2e/journeys/inp.journey.ts similarity index 100% rename from x-pack/plugins/ux/e2e/journeys/inp.journey.ts rename to x-pack/plugins/observability_solution/ux/e2e/journeys/inp.journey.ts diff --git a/x-pack/plugins/ux/e2e/journeys/page_views.ts b/x-pack/plugins/observability_solution/ux/e2e/journeys/page_views.ts similarity index 100% rename from x-pack/plugins/ux/e2e/journeys/page_views.ts rename to x-pack/plugins/observability_solution/ux/e2e/journeys/page_views.ts diff --git a/x-pack/plugins/ux/e2e/journeys/url_ux_query.journey.ts b/x-pack/plugins/observability_solution/ux/e2e/journeys/url_ux_query.journey.ts similarity index 100% rename from x-pack/plugins/ux/e2e/journeys/url_ux_query.journey.ts rename to x-pack/plugins/observability_solution/ux/e2e/journeys/url_ux_query.journey.ts diff --git a/x-pack/plugins/ux/e2e/journeys/utils.ts b/x-pack/plugins/observability_solution/ux/e2e/journeys/utils.ts similarity index 100% rename from x-pack/plugins/ux/e2e/journeys/utils.ts rename to x-pack/plugins/observability_solution/ux/e2e/journeys/utils.ts diff --git a/x-pack/plugins/ux/e2e/journeys/ux_client_metrics.journey.ts b/x-pack/plugins/observability_solution/ux/e2e/journeys/ux_client_metrics.journey.ts similarity index 100% rename from x-pack/plugins/ux/e2e/journeys/ux_client_metrics.journey.ts rename to x-pack/plugins/observability_solution/ux/e2e/journeys/ux_client_metrics.journey.ts diff --git a/x-pack/plugins/ux/e2e/journeys/ux_js_errors.journey.ts b/x-pack/plugins/observability_solution/ux/e2e/journeys/ux_js_errors.journey.ts similarity index 100% rename from x-pack/plugins/ux/e2e/journeys/ux_js_errors.journey.ts rename to x-pack/plugins/observability_solution/ux/e2e/journeys/ux_js_errors.journey.ts diff --git a/x-pack/plugins/ux/e2e/journeys/ux_long_task_metric_journey.ts b/x-pack/plugins/observability_solution/ux/e2e/journeys/ux_long_task_metric_journey.ts similarity index 100% rename from x-pack/plugins/ux/e2e/journeys/ux_long_task_metric_journey.ts rename to x-pack/plugins/observability_solution/ux/e2e/journeys/ux_long_task_metric_journey.ts diff --git a/x-pack/plugins/ux/e2e/journeys/ux_visitor_breakdown.journey.ts b/x-pack/plugins/observability_solution/ux/e2e/journeys/ux_visitor_breakdown.journey.ts similarity index 100% rename from x-pack/plugins/ux/e2e/journeys/ux_visitor_breakdown.journey.ts rename to x-pack/plugins/observability_solution/ux/e2e/journeys/ux_visitor_breakdown.journey.ts diff --git a/x-pack/plugins/ux/e2e/page_objects/dashboard.ts b/x-pack/plugins/observability_solution/ux/e2e/page_objects/dashboard.ts similarity index 100% rename from x-pack/plugins/ux/e2e/page_objects/dashboard.ts rename to x-pack/plugins/observability_solution/ux/e2e/page_objects/dashboard.ts diff --git a/x-pack/plugins/ux/e2e/page_objects/date_picker.ts b/x-pack/plugins/observability_solution/ux/e2e/page_objects/date_picker.ts similarity index 100% rename from x-pack/plugins/ux/e2e/page_objects/date_picker.ts rename to x-pack/plugins/observability_solution/ux/e2e/page_objects/date_picker.ts diff --git a/x-pack/plugins/ux/e2e/page_objects/login.tsx b/x-pack/plugins/observability_solution/ux/e2e/page_objects/login.tsx similarity index 100% rename from x-pack/plugins/ux/e2e/page_objects/login.tsx rename to x-pack/plugins/observability_solution/ux/e2e/page_objects/login.tsx diff --git a/x-pack/plugins/ux/e2e/page_objects/utils.tsx b/x-pack/plugins/observability_solution/ux/e2e/page_objects/utils.tsx similarity index 100% rename from x-pack/plugins/ux/e2e/page_objects/utils.tsx rename to x-pack/plugins/observability_solution/ux/e2e/page_objects/utils.tsx diff --git a/x-pack/plugins/ux/e2e/synthetics_run.ts b/x-pack/plugins/observability_solution/ux/e2e/synthetics_run.ts similarity index 100% rename from x-pack/plugins/ux/e2e/synthetics_run.ts rename to x-pack/plugins/observability_solution/ux/e2e/synthetics_run.ts diff --git a/x-pack/plugins/ux/e2e/tasks/es_archiver.ts b/x-pack/plugins/observability_solution/ux/e2e/tasks/es_archiver.ts similarity index 75% rename from x-pack/plugins/ux/e2e/tasks/es_archiver.ts rename to x-pack/plugins/observability_solution/ux/e2e/tasks/es_archiver.ts index bbb66b19f5a5e..8415de3a385bd 100644 --- a/x-pack/plugins/ux/e2e/tasks/es_archiver.ts +++ b/x-pack/plugins/observability_solution/ux/e2e/tasks/es_archiver.ts @@ -16,7 +16,7 @@ const NODE_TLS_REJECT_UNAUTHORIZED = '1'; export const esArchiverLoad = (folder: string) => { const path = Path.join(ES_ARCHIVE_DIR, folder); execSync( - `node ../../../../scripts/es_archiver load "${path}" --config ../../../test/functional/config.base.js`, + `node ../../../../../scripts/es_archiver load "${path}" --config ../../../../test/functional/config.base.js`, { env: { ...process.env, NODE_TLS_REJECT_UNAUTHORIZED }, stdio: 'inherit' } ); }; @@ -24,14 +24,14 @@ export const esArchiverLoad = (folder: string) => { export const esArchiverUnload = (folder: string) => { const path = Path.join(ES_ARCHIVE_DIR, folder); execSync( - `node ../../../../scripts/es_archiver unload "${path}" --config ../../../test/functional/config.base.js`, + `node ../../../../../scripts/es_archiver unload "${path}" --config ../../../../test/functional/config.base.js`, { env: { ...process.env, NODE_TLS_REJECT_UNAUTHORIZED }, stdio: 'inherit' } ); }; export const esArchiverResetKibana = () => { execSync( - `node ../../../../scripts/es_archiver empty-kibana-index --config ../../../test/functional/config.base.js`, + `node ../../../../../scripts/es_archiver empty-kibana-index --config ../../../../test/functional/config.base.js`, { env: { ...process.env, NODE_TLS_REJECT_UNAUTHORIZED }, stdio: 'inherit' } ); }; diff --git a/x-pack/plugins/observability_solution/ux/e2e/tsconfig.json b/x-pack/plugins/observability_solution/ux/e2e/tsconfig.json new file mode 100644 index 0000000000000..93a315a3e7a6b --- /dev/null +++ b/x-pack/plugins/observability_solution/ux/e2e/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "exclude": ["tmp", "target/**/*"], + "include": ["./**/*"], + "compilerOptions": { + "outDir": "target/types", + "types": ["node"] + }, + "kbn_references": ["@kbn/test", "@kbn/apm-plugin", "@kbn/es-archiver"] +} diff --git a/x-pack/plugins/ux/jest.config.js b/x-pack/plugins/observability_solution/ux/jest.config.js similarity index 73% rename from x-pack/plugins/ux/jest.config.js rename to x-pack/plugins/observability_solution/ux/jest.config.js index f380a059e5547..b83d3a7ba5455 100644 --- a/x-pack/plugins/ux/jest.config.js +++ b/x-pack/plugins/observability_solution/ux/jest.config.js @@ -9,6 +9,6 @@ const path = require('path'); module.exports = { preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../..'), - roots: ['/x-pack/plugins/ux'], + rootDir: path.resolve(__dirname, '../../../..'), + roots: ['/x-pack/plugins/observability_solution/ux'], }; diff --git a/x-pack/plugins/ux/kibana.jsonc b/x-pack/plugins/observability_solution/ux/kibana.jsonc similarity index 100% rename from x-pack/plugins/ux/kibana.jsonc rename to x-pack/plugins/observability_solution/ux/kibana.jsonc diff --git a/x-pack/plugins/ux/public/application/application.test.tsx b/x-pack/plugins/observability_solution/ux/public/application/application.test.tsx similarity index 100% rename from x-pack/plugins/ux/public/application/application.test.tsx rename to x-pack/plugins/observability_solution/ux/public/application/application.test.tsx diff --git a/x-pack/plugins/ux/public/application/ux_app.tsx b/x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx similarity index 100% rename from x-pack/plugins/ux/public/application/ux_app.tsx rename to x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/action_menu/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/action_menu/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/action_menu/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/action_menu/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/action_menu/inpector_link.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/action_menu/inpector_link.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/action_menu/inpector_link.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/action_menu/inpector_link.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/breakdowns/breakdown_filter.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/breakdowns/breakdown_filter.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/breakdowns/breakdown_filter.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/breakdowns/breakdown_filter.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/chart_wrapper/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/chart_wrapper/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/chart_wrapper/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/chart_wrapper/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/charts/__snapshots__/visitor_breakdown_chart.test.tsx.snap b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/__snapshots__/visitor_breakdown_chart.test.tsx.snap similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/charts/__snapshots__/visitor_breakdown_chart.test.tsx.snap rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/__snapshots__/visitor_breakdown_chart.test.tsx.snap diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/charts/page_load_dist_chart.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/page_load_dist_chart.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/charts/page_load_dist_chart.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/page_load_dist_chart.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/charts/page_views_chart.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/page_views_chart.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/charts/page_views_chart.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/page_views_chart.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/charts/use_exp_view_attrs.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/use_exp_view_attrs.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/charts/use_exp_view_attrs.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/use_exp_view_attrs.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.test.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.test.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.test.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.test.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/client_metrics/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/client_metrics/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/client_metrics/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/client_metrics/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/client_metrics/metrics.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/client_metrics/metrics.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/client_metrics/metrics.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/client_metrics/metrics.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/csm_shared_context/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/csm_shared_context/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/csm_shared_context/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/csm_shared_context/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/empty_state_loading.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/empty_state_loading.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/empty_state_loading.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/empty_state_loading.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/environment_filter/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/environment_filter/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/environment_filter/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/environment_filter/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/hooks/use_has_rum_data.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/hooks/use_has_rum_data.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/hooks/use_has_rum_data.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/hooks/use_has_rum_data.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/hooks/use_local_uifilters.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/hooks/use_local_uifilters.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/hooks/use_local_uifilters.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/hooks/use_local_uifilters.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/hooks/use_ux_query.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/hooks/use_ux_query.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/hooks/use_ux_query.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/hooks/use_ux_query.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/impactful_metrics/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/impactful_metrics/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/impactful_metrics/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/impactful_metrics/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/impactful_metrics/js_errors.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/impactful_metrics/js_errors.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/impactful_metrics/js_errors.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/impactful_metrics/js_errors.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/local_uifilters/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/local_uifilters/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/local_uifilters/queries.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/queries.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/local_uifilters/queries.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/queries.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/local_uifilters/selected_filters.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/selected_filters.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/local_uifilters/selected_filters.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/selected_filters.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/local_uifilters/selected_wildcards.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/selected_wildcards.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/local_uifilters/selected_wildcards.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/selected_wildcards.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/local_uifilters/use_data_view.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/use_data_view.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/local_uifilters/use_data_view.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/use_data_view.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/percentile_annotations.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/percentile_annotations.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/percentile_annotations.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/percentile_annotations.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/reset_percentile_zoom.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/reset_percentile_zoom.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/reset_percentile_zoom.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/reset_percentile_zoom.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/types.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/types.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/types.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/types.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/page_views_trend/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_views_trend/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/page_views_trend/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_views_trend/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/panels/page_load_and_views.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/panels/page_load_and_views.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/panels/page_load_and_views.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/panels/page_load_and_views.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/panels/visitor_breakdowns.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/panels/visitor_breakdowns.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/panels/visitor_breakdowns.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/panels/visitor_breakdowns.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/panels/web_application_select.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/panels/web_application_select.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/panels/web_application_select.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/panels/web_application_select.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/rum_dashboard.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/rum_dashboard.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/rum_dashboard.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/rum_dashboard.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/rum_datepicker/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/rum_datepicker/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/rum_datepicker/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/rum_datepicker/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/rum_home.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/rum_home.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/rum_home.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/rum_home.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/translations.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/translations.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/translations.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/translations.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/url_filter/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/url_filter/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/url_filter/service_name_filter/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/service_name_filter/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/url_filter/service_name_filter/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/service_name_filter/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/url_filter/url_search/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/url_search/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/url_filter/url_search/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/url_search/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/url_filter/url_search/render_option.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/url_search/render_option.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/url_filter/url_search/render_option.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/url_search/render_option.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/url_filter/url_search/use_url_search.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/url_search/use_url_search.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/url_filter/url_search/use_url_search.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/url_search/use_url_search.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/user_percentile/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/user_percentile/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/user_percentile/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/user_percentile/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/utils/test_helper.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/utils/test_helper.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/utils/test_helper.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/utils/test_helper.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/ux_metrics/format_to_sec.test.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/format_to_sec.test.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/ux_metrics/format_to_sec.test.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/format_to_sec.test.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/ux_metrics/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/ux_metrics/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.test.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.test.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.test.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.test.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/ux_metrics/translations.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/translations.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/ux_metrics/translations.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/translations.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__mocks__/regions_layer.mock.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__mocks__/regions_layer.mock.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__mocks__/regions_layer.mock.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__mocks__/regions_layer.mock.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/embedded_map.test.tsx.snap b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/embedded_map.test.tsx.snap similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/embedded_map.test.tsx.snap rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/embedded_map.test.tsx.snap diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/map_tooltip.test.tsx.snap b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/map_tooltip.test.tsx.snap similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/map_tooltip.test.tsx.snap rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/map_tooltip.test.tsx.snap diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__stories__/map_tooltip.stories.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__stories__/map_tooltip.stories.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__stories__/map_tooltip.stories.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__stories__/map_tooltip.stories.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.test.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.test.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.test.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.test.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/index.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/index.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/index.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/index.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.test.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.test.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.test.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.test.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.tsx b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.tsx similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.tsx rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.tsx diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.test.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.test.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.test.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.test.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.ts diff --git a/x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_map_filters.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_map_filters.ts similarity index 100% rename from x-pack/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_map_filters.ts rename to x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_map_filters.ts diff --git a/x-pack/plugins/ux/public/context/plugin_context.ts b/x-pack/plugins/observability_solution/ux/public/context/plugin_context.ts similarity index 100% rename from x-pack/plugins/ux/public/context/plugin_context.ts rename to x-pack/plugins/observability_solution/ux/public/context/plugin_context.ts diff --git a/x-pack/plugins/ux/public/context/url_params_context/constants.ts b/x-pack/plugins/observability_solution/ux/public/context/url_params_context/constants.ts similarity index 100% rename from x-pack/plugins/ux/public/context/url_params_context/constants.ts rename to x-pack/plugins/observability_solution/ux/public/context/url_params_context/constants.ts diff --git a/x-pack/plugins/ux/public/context/url_params_context/helpers.test.ts b/x-pack/plugins/observability_solution/ux/public/context/url_params_context/helpers.test.ts similarity index 100% rename from x-pack/plugins/ux/public/context/url_params_context/helpers.test.ts rename to x-pack/plugins/observability_solution/ux/public/context/url_params_context/helpers.test.ts diff --git a/x-pack/plugins/ux/public/context/url_params_context/helpers.ts b/x-pack/plugins/observability_solution/ux/public/context/url_params_context/helpers.ts similarity index 100% rename from x-pack/plugins/ux/public/context/url_params_context/helpers.ts rename to x-pack/plugins/observability_solution/ux/public/context/url_params_context/helpers.ts diff --git a/x-pack/plugins/ux/public/context/url_params_context/mock_url_params_context_provider.tsx b/x-pack/plugins/observability_solution/ux/public/context/url_params_context/mock_url_params_context_provider.tsx similarity index 100% rename from x-pack/plugins/ux/public/context/url_params_context/mock_url_params_context_provider.tsx rename to x-pack/plugins/observability_solution/ux/public/context/url_params_context/mock_url_params_context_provider.tsx diff --git a/x-pack/plugins/ux/public/context/url_params_context/resolve_url_params.ts b/x-pack/plugins/observability_solution/ux/public/context/url_params_context/resolve_url_params.ts similarity index 100% rename from x-pack/plugins/ux/public/context/url_params_context/resolve_url_params.ts rename to x-pack/plugins/observability_solution/ux/public/context/url_params_context/resolve_url_params.ts diff --git a/x-pack/plugins/ux/public/context/url_params_context/types.ts b/x-pack/plugins/observability_solution/ux/public/context/url_params_context/types.ts similarity index 100% rename from x-pack/plugins/ux/public/context/url_params_context/types.ts rename to x-pack/plugins/observability_solution/ux/public/context/url_params_context/types.ts diff --git a/x-pack/plugins/ux/public/context/url_params_context/url_params_context.test.tsx b/x-pack/plugins/observability_solution/ux/public/context/url_params_context/url_params_context.test.tsx similarity index 100% rename from x-pack/plugins/ux/public/context/url_params_context/url_params_context.test.tsx rename to x-pack/plugins/observability_solution/ux/public/context/url_params_context/url_params_context.test.tsx diff --git a/x-pack/plugins/ux/public/context/url_params_context/url_params_context.tsx b/x-pack/plugins/observability_solution/ux/public/context/url_params_context/url_params_context.tsx similarity index 100% rename from x-pack/plugins/ux/public/context/url_params_context/url_params_context.tsx rename to x-pack/plugins/observability_solution/ux/public/context/url_params_context/url_params_context.tsx diff --git a/x-pack/plugins/ux/public/context/url_params_context/use_url_params.ts b/x-pack/plugins/observability_solution/ux/public/context/url_params_context/use_url_params.ts similarity index 100% rename from x-pack/plugins/ux/public/context/url_params_context/use_url_params.ts rename to x-pack/plugins/observability_solution/ux/public/context/url_params_context/use_url_params.ts diff --git a/x-pack/plugins/ux/public/context/url_params_context/use_ux_url_params.ts b/x-pack/plugins/observability_solution/ux/public/context/url_params_context/use_ux_url_params.ts similarity index 100% rename from x-pack/plugins/ux/public/context/url_params_context/use_ux_url_params.ts rename to x-pack/plugins/observability_solution/ux/public/context/url_params_context/use_ux_url_params.ts diff --git a/x-pack/plugins/ux/public/hooks/use_breakpoints.ts b/x-pack/plugins/observability_solution/ux/public/hooks/use_breakpoints.ts similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_breakpoints.ts rename to x-pack/plugins/observability_solution/ux/public/hooks/use_breakpoints.ts diff --git a/x-pack/plugins/ux/public/hooks/use_client_metrics_query.ts b/x-pack/plugins/observability_solution/ux/public/hooks/use_client_metrics_query.ts similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_client_metrics_query.ts rename to x-pack/plugins/observability_solution/ux/public/hooks/use_client_metrics_query.ts diff --git a/x-pack/plugins/ux/public/hooks/use_core_web_vitals_query.ts b/x-pack/plugins/observability_solution/ux/public/hooks/use_core_web_vitals_query.ts similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_core_web_vitals_query.ts rename to x-pack/plugins/observability_solution/ux/public/hooks/use_core_web_vitals_query.ts diff --git a/x-pack/plugins/ux/public/hooks/use_date_range_redirect.ts b/x-pack/plugins/observability_solution/ux/public/hooks/use_date_range_redirect.ts similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_date_range_redirect.ts rename to x-pack/plugins/observability_solution/ux/public/hooks/use_date_range_redirect.ts diff --git a/x-pack/plugins/ux/public/hooks/use_deep_object_identity.ts b/x-pack/plugins/observability_solution/ux/public/hooks/use_deep_object_identity.ts similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_deep_object_identity.ts rename to x-pack/plugins/observability_solution/ux/public/hooks/use_deep_object_identity.ts diff --git a/x-pack/plugins/ux/public/hooks/use_dynamic_data_view.ts b/x-pack/plugins/observability_solution/ux/public/hooks/use_dynamic_data_view.ts similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_dynamic_data_view.ts rename to x-pack/plugins/observability_solution/ux/public/hooks/use_dynamic_data_view.ts diff --git a/x-pack/plugins/ux/public/hooks/use_environments_fetcher.tsx b/x-pack/plugins/observability_solution/ux/public/hooks/use_environments_fetcher.tsx similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_environments_fetcher.tsx rename to x-pack/plugins/observability_solution/ux/public/hooks/use_environments_fetcher.tsx diff --git a/x-pack/plugins/ux/public/hooks/use_fetcher.tsx b/x-pack/plugins/observability_solution/ux/public/hooks/use_fetcher.tsx similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_fetcher.tsx rename to x-pack/plugins/observability_solution/ux/public/hooks/use_fetcher.tsx diff --git a/x-pack/plugins/ux/public/hooks/use_inp_query.ts b/x-pack/plugins/observability_solution/ux/public/hooks/use_inp_query.ts similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_inp_query.ts rename to x-pack/plugins/observability_solution/ux/public/hooks/use_inp_query.ts diff --git a/x-pack/plugins/ux/public/hooks/use_js_errors_query.tsx b/x-pack/plugins/observability_solution/ux/public/hooks/use_js_errors_query.tsx similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_js_errors_query.tsx rename to x-pack/plugins/observability_solution/ux/public/hooks/use_js_errors_query.tsx diff --git a/x-pack/plugins/ux/public/hooks/use_kibana_services.tsx b/x-pack/plugins/observability_solution/ux/public/hooks/use_kibana_services.tsx similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_kibana_services.tsx rename to x-pack/plugins/observability_solution/ux/public/hooks/use_kibana_services.tsx diff --git a/x-pack/plugins/ux/public/hooks/use_long_task_metrics_query.tsx b/x-pack/plugins/observability_solution/ux/public/hooks/use_long_task_metrics_query.tsx similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_long_task_metrics_query.tsx rename to x-pack/plugins/observability_solution/ux/public/hooks/use_long_task_metrics_query.tsx diff --git a/x-pack/plugins/ux/public/hooks/use_static_data_view.ts b/x-pack/plugins/observability_solution/ux/public/hooks/use_static_data_view.ts similarity index 100% rename from x-pack/plugins/ux/public/hooks/use_static_data_view.ts rename to x-pack/plugins/observability_solution/ux/public/hooks/use_static_data_view.ts diff --git a/x-pack/plugins/ux/public/index.ts b/x-pack/plugins/observability_solution/ux/public/index.ts similarity index 100% rename from x-pack/plugins/ux/public/index.ts rename to x-pack/plugins/observability_solution/ux/public/index.ts diff --git a/x-pack/plugins/ux/public/plugin.ts b/x-pack/plugins/observability_solution/ux/public/plugin.ts similarity index 100% rename from x-pack/plugins/ux/public/plugin.ts rename to x-pack/plugins/observability_solution/ux/public/plugin.ts diff --git a/x-pack/plugins/ux/public/services/data/__snapshots__/client_metrics_query.test.ts.snap b/x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/client_metrics_query.test.ts.snap similarity index 100% rename from x-pack/plugins/ux/public/services/data/__snapshots__/client_metrics_query.test.ts.snap rename to x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/client_metrics_query.test.ts.snap diff --git a/x-pack/plugins/ux/public/services/data/__snapshots__/core_web_vitals_query.test.ts.snap b/x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/core_web_vitals_query.test.ts.snap similarity index 100% rename from x-pack/plugins/ux/public/services/data/__snapshots__/core_web_vitals_query.test.ts.snap rename to x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/core_web_vitals_query.test.ts.snap diff --git a/x-pack/plugins/ux/public/services/data/__snapshots__/js_errors_query.test.ts.snap b/x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/js_errors_query.test.ts.snap similarity index 100% rename from x-pack/plugins/ux/public/services/data/__snapshots__/js_errors_query.test.ts.snap rename to x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/js_errors_query.test.ts.snap diff --git a/x-pack/plugins/ux/public/services/data/__snapshots__/long_task_metrics_query.test.ts.snap b/x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/long_task_metrics_query.test.ts.snap similarity index 100% rename from x-pack/plugins/ux/public/services/data/__snapshots__/long_task_metrics_query.test.ts.snap rename to x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/long_task_metrics_query.test.ts.snap diff --git a/x-pack/plugins/ux/public/services/data/__snapshots__/service_name_query.test.ts.snap b/x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/service_name_query.test.ts.snap similarity index 100% rename from x-pack/plugins/ux/public/services/data/__snapshots__/service_name_query.test.ts.snap rename to x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/service_name_query.test.ts.snap diff --git a/x-pack/plugins/ux/public/services/data/call_date_math.ts b/x-pack/plugins/observability_solution/ux/public/services/data/call_date_math.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/call_date_math.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/call_date_math.ts diff --git a/x-pack/plugins/ux/public/services/data/client_metrics_query.test.ts b/x-pack/plugins/observability_solution/ux/public/services/data/client_metrics_query.test.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/client_metrics_query.test.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/client_metrics_query.test.ts diff --git a/x-pack/plugins/ux/public/services/data/client_metrics_query.ts b/x-pack/plugins/observability_solution/ux/public/services/data/client_metrics_query.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/client_metrics_query.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/client_metrics_query.ts diff --git a/x-pack/plugins/ux/public/services/data/core_web_vitals_query.test.ts b/x-pack/plugins/observability_solution/ux/public/services/data/core_web_vitals_query.test.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/core_web_vitals_query.test.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/core_web_vitals_query.test.ts diff --git a/x-pack/plugins/ux/public/services/data/core_web_vitals_query.ts b/x-pack/plugins/observability_solution/ux/public/services/data/core_web_vitals_query.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/core_web_vitals_query.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/core_web_vitals_query.ts diff --git a/x-pack/plugins/ux/public/services/data/environments_query.ts b/x-pack/plugins/observability_solution/ux/public/services/data/environments_query.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/environments_query.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/environments_query.ts diff --git a/x-pack/plugins/ux/public/services/data/get_es_filter.test.ts b/x-pack/plugins/observability_solution/ux/public/services/data/get_es_filter.test.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/get_es_filter.test.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/get_es_filter.test.ts diff --git a/x-pack/plugins/ux/public/services/data/get_es_filter.ts b/x-pack/plugins/observability_solution/ux/public/services/data/get_es_filter.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/get_es_filter.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/get_es_filter.ts diff --git a/x-pack/plugins/ux/public/services/data/get_exp_view_filter.test.ts b/x-pack/plugins/observability_solution/ux/public/services/data/get_exp_view_filter.test.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/get_exp_view_filter.test.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/get_exp_view_filter.test.ts diff --git a/x-pack/plugins/ux/public/services/data/get_exp_view_filter.ts b/x-pack/plugins/observability_solution/ux/public/services/data/get_exp_view_filter.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/get_exp_view_filter.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/get_exp_view_filter.ts diff --git a/x-pack/plugins/ux/public/services/data/has_rum_data_query.ts b/x-pack/plugins/observability_solution/ux/public/services/data/has_rum_data_query.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/has_rum_data_query.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/has_rum_data_query.ts diff --git a/x-pack/plugins/ux/public/services/data/inp_query.ts b/x-pack/plugins/observability_solution/ux/public/services/data/inp_query.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/inp_query.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/inp_query.ts diff --git a/x-pack/plugins/ux/public/services/data/js_errors_query.test.ts b/x-pack/plugins/observability_solution/ux/public/services/data/js_errors_query.test.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/js_errors_query.test.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/js_errors_query.test.ts diff --git a/x-pack/plugins/ux/public/services/data/js_errors_query.ts b/x-pack/plugins/observability_solution/ux/public/services/data/js_errors_query.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/js_errors_query.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/js_errors_query.ts diff --git a/x-pack/plugins/ux/public/services/data/long_task_metrics_query.test.ts b/x-pack/plugins/observability_solution/ux/public/services/data/long_task_metrics_query.test.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/long_task_metrics_query.test.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/long_task_metrics_query.test.ts diff --git a/x-pack/plugins/ux/public/services/data/long_task_metrics_query.ts b/x-pack/plugins/observability_solution/ux/public/services/data/long_task_metrics_query.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/long_task_metrics_query.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/long_task_metrics_query.ts diff --git a/x-pack/plugins/ux/public/services/data/projections.ts b/x-pack/plugins/observability_solution/ux/public/services/data/projections.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/projections.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/projections.ts diff --git a/x-pack/plugins/ux/public/services/data/range_query.ts b/x-pack/plugins/observability_solution/ux/public/services/data/range_query.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/range_query.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/range_query.ts diff --git a/x-pack/plugins/ux/public/services/data/service_name_query.test.ts b/x-pack/plugins/observability_solution/ux/public/services/data/service_name_query.test.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/service_name_query.test.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/service_name_query.test.ts diff --git a/x-pack/plugins/ux/public/services/data/service_name_query.ts b/x-pack/plugins/observability_solution/ux/public/services/data/service_name_query.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/service_name_query.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/service_name_query.ts diff --git a/x-pack/plugins/ux/public/services/data/url_search_query.ts b/x-pack/plugins/observability_solution/ux/public/services/data/url_search_query.ts similarity index 100% rename from x-pack/plugins/ux/public/services/data/url_search_query.ts rename to x-pack/plugins/observability_solution/ux/public/services/data/url_search_query.ts diff --git a/x-pack/plugins/ux/public/services/rest/call_api.ts b/x-pack/plugins/observability_solution/ux/public/services/rest/call_api.ts similarity index 100% rename from x-pack/plugins/ux/public/services/rest/call_api.ts rename to x-pack/plugins/observability_solution/ux/public/services/rest/call_api.ts diff --git a/x-pack/plugins/ux/public/services/rest/create_call_apm_api.ts b/x-pack/plugins/observability_solution/ux/public/services/rest/create_call_apm_api.ts similarity index 100% rename from x-pack/plugins/ux/public/services/rest/create_call_apm_api.ts rename to x-pack/plugins/observability_solution/ux/public/services/rest/create_call_apm_api.ts diff --git a/x-pack/plugins/ux/public/services/rest/data_view.ts b/x-pack/plugins/observability_solution/ux/public/services/rest/data_view.ts similarity index 100% rename from x-pack/plugins/ux/public/services/rest/data_view.ts rename to x-pack/plugins/observability_solution/ux/public/services/rest/data_view.ts diff --git a/x-pack/plugins/observability_solution/ux/readme.md b/x-pack/plugins/observability_solution/ux/readme.md new file mode 100644 index 0000000000000..84a77b9e7827e --- /dev/null +++ b/x-pack/plugins/observability_solution/ux/readme.md @@ -0,0 +1,14 @@ +# Documentation for UX UI developers + +https://docs.elastic.dev/kibana-dev-docs/welcome + +## Running E2E Tests + +The tests are managed via the `scripts/e2e.js` file. This script accepts numerous options. + +From the kibana root you can run `node x-pack/plugins/observability_solution/ux/scripts/e2e.js` to simply stand up the stack, load data, and run the tests. + +If you are developing a new test, it is better to stand up the stack in one shell and load data/run tests in a second session. You can do this by running: + +- `node ./x-pack/plugins/observability_solution/ux/scripts/e2e.js --server` +- `node ./x-pack/plugins/observability_solution/ux/scripts/e2e.js --runner`, you can also specify `--grep "{TEST_NAME}"` to run a specific series of tests diff --git a/x-pack/plugins/ux/scripts/e2e.js b/x-pack/plugins/observability_solution/ux/scripts/e2e.js similarity index 100% rename from x-pack/plugins/ux/scripts/e2e.js rename to x-pack/plugins/observability_solution/ux/scripts/e2e.js diff --git a/x-pack/plugins/ux/server/index.ts b/x-pack/plugins/observability_solution/ux/server/index.ts similarity index 100% rename from x-pack/plugins/ux/server/index.ts rename to x-pack/plugins/observability_solution/ux/server/index.ts diff --git a/x-pack/plugins/ux/server/plugin.ts b/x-pack/plugins/observability_solution/ux/server/plugin.ts similarity index 100% rename from x-pack/plugins/ux/server/plugin.ts rename to x-pack/plugins/observability_solution/ux/server/plugin.ts diff --git a/x-pack/plugins/ux/tsconfig.json b/x-pack/plugins/observability_solution/ux/tsconfig.json similarity index 86% rename from x-pack/plugins/ux/tsconfig.json rename to x-pack/plugins/observability_solution/ux/tsconfig.json index 62fdcb115a0a3..f0654abc9a855 100644 --- a/x-pack/plugins/ux/tsconfig.json +++ b/x-pack/plugins/observability_solution/ux/tsconfig.json @@ -1,15 +1,15 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { - "outDir": "target/types", + "outDir": "target/types" }, "include": [ - "../../../typings/**/*", + "../../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*", "typings/**/*", - "public/**/*.json", + "public/**/*.json" ], "kbn_references": [ "@kbn/core", @@ -44,7 +44,5 @@ "@kbn/config-schema", "@kbn/shared-ux-link-redirect-app" ], - "exclude": [ - "target/**/*", - ] + "exclude": ["target/**/*"] } diff --git a/x-pack/plugins/ux/typings/ui_filters.ts b/x-pack/plugins/observability_solution/ux/typings/ui_filters.ts similarity index 100% rename from x-pack/plugins/ux/typings/ui_filters.ts rename to x-pack/plugins/observability_solution/ux/typings/ui_filters.ts diff --git a/x-pack/plugins/synthetics/scripts/base_e2e.js b/x-pack/plugins/synthetics/scripts/base_e2e.js index 9cf6afcb2eb73..f87a5ea94d4f2 100644 --- a/x-pack/plugins/synthetics/scripts/base_e2e.js +++ b/x-pack/plugins/synthetics/scripts/base_e2e.js @@ -9,6 +9,7 @@ const yargs = require('yargs'); const childProcess = require('child_process'); +const { REPO_ROOT } = require('@kbn/repo-info'); const { argv } = yargs(process.argv.slice(2)) .option('server', { @@ -61,17 +62,17 @@ function executeSyntheticsRunner(dirPath, config = './synthetics_run.ts') { if (server) { childProcess.execSync( - `node ../../../../scripts/${ftrScript} --config ${config} ${kbnInstallDir}`, + `node ${REPO_ROOT}/scripts/${ftrScript} --config ${config} ${kbnInstallDir}`, options ); } else if (runner) { childProcess.execSync( - `node ../../../../scripts/${ftrScript} --config ${config} ${kbnInstallDir} --headless ${headless} --bail ${pauseOnError} ${grepArg}`, + `node ${REPO_ROOT}/scripts/${ftrScript} --config ${config} ${kbnInstallDir} --headless ${headless} --bail ${pauseOnError} ${grepArg}`, options ); } else { childProcess.execSync( - `node ../../../../scripts/${ftrScript} --config ${config} ${kbnInstallDir} ${grepArg}`, + `node ${REPO_ROOT}/scripts/${ftrScript} --config ${config} ${kbnInstallDir} ${grepArg}`, options ); } diff --git a/x-pack/plugins/synthetics/tsconfig.json b/x-pack/plugins/synthetics/tsconfig.json index aea6accb4d235..42a8440b64a72 100644 --- a/x-pack/plugins/synthetics/tsconfig.json +++ b/x-pack/plugins/synthetics/tsconfig.json @@ -83,6 +83,7 @@ "@kbn/code-editor", "@kbn/code-editor-mock", "@kbn/serverless", + "@kbn/repo-info", ], "exclude": [ "target/**/*", diff --git a/x-pack/plugins/ux/.buildkite/pipelines/flaky.sh b/x-pack/plugins/ux/.buildkite/pipelines/flaky.sh deleted file mode 100644 index 452abaa94c60d..0000000000000 --- a/x-pack/plugins/ux/.buildkite/pipelines/flaky.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -UUID="$(cat /proc/sys/kernel/random/uuid)" -export UUID - -node x-pack/plugins/ux/.buildkite/pipelines/flaky.js | buildkite-agent pipeline upload \ No newline at end of file diff --git a/x-pack/plugins/ux/e2e/tsconfig.json b/x-pack/plugins/ux/e2e/tsconfig.json deleted file mode 100644 index 881ab4db9046c..0000000000000 --- a/x-pack/plugins/ux/e2e/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "exclude": ["tmp", "target/**/*"], - "include": ["./**/*"], - "compilerOptions": { - "outDir": "target/types", - "types": [ "node"], - }, - "kbn_references": [ - "@kbn/test", - "@kbn/apm-plugin", - "@kbn/es-archiver", - ], -} diff --git a/x-pack/plugins/ux/readme.md b/x-pack/plugins/ux/readme.md deleted file mode 100644 index d05a550ffdbd2..0000000000000 --- a/x-pack/plugins/ux/readme.md +++ /dev/null @@ -1,14 +0,0 @@ -# Documentation for UX UI developers - -https://docs.elastic.dev/kibana-dev-docs/welcome - -## Running E2E Tests - -The tests are managed via the `scripts/e2e.js` file. This script accepts numerous options. - -From the kibana root you can run `node x-pack/plugins/ux/scripts/e2e.js` to simply stand up the stack, load data, and run the tests. - -If you are developing a new test, it is better to stand up the stack in one shell and load data/run tests in a second session. You can do this by running: - -- `node ./x-pack/plugins/ux/scripts/e2e.js --server` -- `node ./x-pack/plugins/ux/scripts/e2e.js --runner`, you can also specify `--grep "{TEST_NAME}"` to run a specific series of tests \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 656557dcbc750..52d63049fb700 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6480,7 +6480,7 @@ version "0.0.0" uid "" -"@kbn/ux-plugin@link:x-pack/plugins/ux": +"@kbn/ux-plugin@link:x-pack/plugins/observability_solution/ux": version "0.0.0" uid ""