From 53ddb7d7515630262993b78a5b952af7b003ea38 Mon Sep 17 00:00:00 2001 From: shahzad31 Date: Thu, 12 Dec 2024 12:32:56 +0100 Subject: [PATCH] Relocating module `@kbn/ux-plugin` --- .buildkite/ftr_oblt_stateful_configs.yml | 2 +- .../pipelines/pull_request/ux_plugin_e2e.yml | 2 +- .../scripts/pipelines/pull_request/pipeline.ts | 2 +- .../scripts/steps/functional/ux_synthetics_e2e.sh | 2 +- .eslintrc.js | 2 +- .github/CODEOWNERS | 2 +- .github/paths-labeller.yml | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../ux/.buildkite/pipelines/flaky.sh | 8 -------- .../plugins/observability_solution/ux/readme.md | 14 -------------- .../exploratory_view/e2e/synthetics_run.ts | 2 +- .../plugins}/ux/.buildkite/pipelines/flaky.js | 0 .../plugins/ux/.buildkite/pipelines/flaky.sh | 8 ++++++++ .../observability/plugins}/ux/.storybook/main.js | 0 .../observability/plugins}/ux/CONTRIBUTING.md | 0 .../plugins}/ux/common/agent_name.ts | 0 .../observability/plugins}/ux/common/config.ts | 0 .../ux/common/elasticsearch_fieldnames.ts | 0 .../ux/common/environment_filter_values.ts | 0 .../plugins}/ux/common/environment_rt.ts | 0 .../plugins}/ux/common/fetch_options.ts | 0 .../plugins}/ux/common/transaction_types.ts | 0 .../plugins}/ux/common/utils/merge_projection.ts | 0 .../plugins}/ux/common/utils/pick_keys.ts | 0 .../plugins}/ux/common/ux_ui_filter.ts | 0 .../observability/plugins}/ux/e2e/README.md | 4 ++-- .../ux/e2e/fixtures/rum_8.0.0/data.json.gz | Bin .../ux/e2e/fixtures/rum_8.0.0/mappings.json | 0 .../ux/e2e/fixtures/rum_test_data/data.json.gz | Bin .../ux/e2e/fixtures/rum_test_data/mappings.json | 0 .../plugins}/ux/e2e/journeys/core_web_vitals.ts | 0 .../plugins}/ux/e2e/journeys/index.ts | 0 .../plugins}/ux/e2e/journeys/inp.journey.ts | 0 .../plugins}/ux/e2e/journeys/page_views.ts | 0 .../ux/e2e/journeys/url_ux_query.journey.ts | 0 .../plugins}/ux/e2e/journeys/utils.ts | 0 .../ux/e2e/journeys/ux_client_metrics.journey.ts | 0 .../ux/e2e/journeys/ux_js_errors.journey.ts | 0 .../e2e/journeys/ux_long_task_metric_journey.ts | 0 .../e2e/journeys/ux_visitor_breakdown.journey.ts | 0 .../plugins}/ux/e2e/page_objects/dashboard.ts | 0 .../plugins}/ux/e2e/page_objects/date_picker.ts | 0 .../plugins}/ux/e2e/page_objects/login.tsx | 0 .../plugins}/ux/e2e/page_objects/utils.tsx | 0 .../plugins}/ux/e2e/synthetics_run.ts | 0 .../observability/plugins}/ux/e2e/tsconfig.json | 2 +- .../observability/plugins}/ux/jest.config.js | 4 ++-- .../observability/plugins}/ux/kibana.jsonc | 0 .../ux/public/application/application.test.tsx | 0 .../plugins}/ux/public/application/ux_app.tsx | 0 .../app/rum_dashboard/action_menu/index.tsx | 0 .../rum_dashboard/action_menu/inpector_link.tsx | 0 .../rum_dashboard/breakdowns/breakdown_filter.tsx | 0 .../app/rum_dashboard/chart_wrapper/index.tsx | 0 .../visitor_breakdown_chart.test.tsx.snap | 0 .../rum_dashboard/charts/page_load_dist_chart.tsx | 0 .../app/rum_dashboard/charts/page_views_chart.tsx | 0 .../rum_dashboard/charts/use_exp_view_attrs.ts | 0 .../charts/visitor_breakdown_chart.test.tsx | 0 .../charts/visitor_breakdown_chart.tsx | 0 .../app/rum_dashboard/client_metrics/index.tsx | 0 .../app/rum_dashboard/client_metrics/metrics.tsx | 0 .../rum_dashboard/csm_shared_context/index.tsx | 0 .../app/rum_dashboard/empty_state_loading.tsx | 0 .../rum_dashboard/environment_filter/index.tsx | 0 .../app/rum_dashboard/hooks/use_has_rum_data.ts | 0 .../rum_dashboard/hooks/use_local_uifilters.ts | 0 .../app/rum_dashboard/hooks/use_ux_query.ts | 0 .../app/rum_dashboard/impactful_metrics/index.tsx | 0 .../rum_dashboard/impactful_metrics/js_errors.tsx | 0 .../public/components/app/rum_dashboard/index.tsx | 0 .../app/rum_dashboard/local_uifilters/index.tsx | 0 .../app/rum_dashboard/local_uifilters/queries.ts | 0 .../local_uifilters/selected_filters.tsx | 0 .../local_uifilters/selected_wildcards.tsx | 0 .../local_uifilters/use_data_view.ts | 0 .../page_load_distribution/index.tsx | 0 .../percentile_annotations.tsx | 0 .../reset_percentile_zoom.tsx | 0 .../rum_dashboard/page_load_distribution/types.ts | 0 .../app/rum_dashboard/page_views_trend/index.tsx | 0 .../rum_dashboard/panels/page_load_and_views.tsx | 0 .../rum_dashboard/panels/visitor_breakdowns.tsx | 0 .../panels/web_application_select.tsx | 0 .../app/rum_dashboard/rum_dashboard.tsx | 0 .../app/rum_dashboard/rum_datepicker/index.tsx | 0 .../components/app/rum_dashboard/rum_home.tsx | 0 .../components/app/rum_dashboard/translations.ts | 0 .../app/rum_dashboard/url_filter/index.tsx | 0 .../url_filter/service_name_filter/index.tsx | 0 .../rum_dashboard/url_filter/url_search/index.tsx | 0 .../url_filter/url_search/render_option.tsx | 0 .../url_filter/url_search/use_url_search.tsx | 0 .../app/rum_dashboard/user_percentile/index.tsx | 0 .../app/rum_dashboard/utils/test_helper.tsx | 0 .../ux_metrics/format_to_sec.test.ts | 0 .../app/rum_dashboard/ux_metrics/index.tsx | 0 .../ux_metrics/key_ux_metrics.test.tsx | 0 .../rum_dashboard/ux_metrics/key_ux_metrics.tsx | 0 .../app/rum_dashboard/ux_metrics/translations.ts | 0 .../app/rum_dashboard/ux_overview_fetchers.ts | 0 .../app/rum_dashboard/visitor_breakdown/index.tsx | 0 .../__mocks__/regions_layer.mock.ts | 0 .../__snapshots__/embedded_map.test.tsx.snap | 0 .../__snapshots__/map_tooltip.test.tsx.snap | 0 .../__stories__/map_tooltip.stories.tsx | 0 .../visitor_breakdown_map/embedded_map.test.tsx | 0 .../visitor_breakdown_map/embedded_map.tsx | 0 .../rum_dashboard/visitor_breakdown_map/index.tsx | 0 .../visitor_breakdown_map/map_tooltip.test.tsx | 0 .../visitor_breakdown_map/map_tooltip.tsx | 0 .../visitor_breakdown_map/use_layer_list.test.ts | 0 .../visitor_breakdown_map/use_layer_list.ts | 0 .../visitor_breakdown_map/use_map_filters.ts | 0 .../plugins}/ux/public/context/plugin_context.ts | 0 .../context/url_params_context/constants.ts | 0 .../context/url_params_context/helpers.test.ts | 0 .../public/context/url_params_context/helpers.ts | 0 .../mock_url_params_context_provider.tsx | 0 .../url_params_context/resolve_url_params.ts | 0 .../ux/public/context/url_params_context/types.ts | 0 .../url_params_context.test.tsx | 0 .../url_params_context/url_params_context.tsx | 0 .../context/url_params_context/use_url_params.ts | 0 .../url_params_context/use_ux_url_params.ts | 0 .../ux/public/context/use_ux_plugin_context.tsx | 0 .../plugins}/ux/public/hooks/use_breakpoints.ts | 0 .../ux/public/hooks/use_client_metrics_query.ts | 0 .../ux/public/hooks/use_core_web_vitals_query.ts | 0 .../ux/public/hooks/use_date_range_redirect.ts | 0 .../ux/public/hooks/use_deep_object_identity.ts | 0 .../ux/public/hooks/use_dynamic_data_view.ts | 0 .../ux/public/hooks/use_environments_fetcher.tsx | 0 .../plugins}/ux/public/hooks/use_fetcher.tsx | 0 .../plugins}/ux/public/hooks/use_inp_query.ts | 0 .../ux/public/hooks/use_js_errors_query.tsx | 0 .../ux/public/hooks/use_kibana_services.tsx | 0 .../public/hooks/use_long_task_metrics_query.tsx | 0 .../ux/public/hooks/use_static_data_view.ts | 0 .../observability/plugins}/ux/public/index.ts | 0 .../observability/plugins}/ux/public/plugin.ts | 0 .../client_metrics_query.test.ts.snap | 0 .../core_web_vitals_query.test.ts.snap | 0 .../__snapshots__/js_errors_query.test.ts.snap | 0 .../long_task_metrics_query.test.ts.snap | 0 .../__snapshots__/service_name_query.test.ts.snap | 0 .../ux/public/services/data/call_date_math.ts | 0 .../services/data/client_metrics_query.test.ts | 0 .../public/services/data/client_metrics_query.ts | 0 .../services/data/core_web_vitals_query.test.ts | 0 .../public/services/data/core_web_vitals_query.ts | 0 .../ux/public/services/data/environments_query.ts | 0 .../ux/public/services/data/get_es_filter.test.ts | 0 .../ux/public/services/data/get_es_filter.ts | 0 .../services/data/get_exp_view_filter.test.ts | 0 .../public/services/data/get_exp_view_filter.ts | 0 .../ux/public/services/data/has_rum_data_query.ts | 0 .../plugins}/ux/public/services/data/inp_query.ts | 0 .../public/services/data/js_errors_query.test.ts | 0 .../ux/public/services/data/js_errors_query.ts | 0 .../services/data/long_task_metrics_query.test.ts | 0 .../services/data/long_task_metrics_query.ts | 0 .../ux/public/services/data/projections.ts | 0 .../ux/public/services/data/range_query.ts | 0 .../services/data/service_name_query.test.ts | 0 .../ux/public/services/data/service_name_query.ts | 0 .../ux/public/services/data/url_search_query.ts | 0 .../plugins}/ux/public/services/rest/call_api.ts | 0 .../public/services/rest/create_call_apm_api.ts | 0 .../plugins}/ux/public/services/rest/data_view.ts | 0 .../solutions/observability/plugins/ux/readme.md | 14 ++++++++++++++ .../observability/plugins}/ux/scripts/e2e.js | 0 .../observability/plugins}/ux/server/index.ts | 0 .../observability/plugins}/ux/server/plugin.ts | 0 .../observability/plugins}/ux/tsconfig.json | 4 ++-- .../plugins}/ux/typings/ui_filters.ts | 0 yarn.lock | 2 +- 180 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 x-pack/plugins/observability_solution/ux/.buildkite/pipelines/flaky.sh delete mode 100644 x-pack/plugins/observability_solution/ux/readme.md rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/.buildkite/pipelines/flaky.js (100%) create mode 100644 x-pack/solutions/observability/plugins/ux/.buildkite/pipelines/flaky.sh rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/.storybook/main.js (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/CONTRIBUTING.md (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/common/agent_name.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/common/config.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/common/elasticsearch_fieldnames.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/common/environment_filter_values.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/common/environment_rt.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/common/fetch_options.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/common/transaction_types.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/common/utils/merge_projection.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/common/utils/pick_keys.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/common/ux_ui_filter.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/README.md (56%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/fixtures/rum_8.0.0/data.json.gz (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/fixtures/rum_8.0.0/mappings.json (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/fixtures/rum_test_data/data.json.gz (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/fixtures/rum_test_data/mappings.json (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/journeys/core_web_vitals.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/journeys/index.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/journeys/inp.journey.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/journeys/page_views.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/journeys/url_ux_query.journey.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/journeys/utils.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/journeys/ux_client_metrics.journey.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/journeys/ux_js_errors.journey.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/journeys/ux_long_task_metric_journey.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/journeys/ux_visitor_breakdown.journey.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/page_objects/dashboard.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/page_objects/date_picker.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/page_objects/login.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/page_objects/utils.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/synthetics_run.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/e2e/tsconfig.json (81%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/jest.config.js (73%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/kibana.jsonc (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/application/application.test.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/application/ux_app.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/action_menu/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/action_menu/inpector_link.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/breakdowns/breakdown_filter.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/chart_wrapper/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/charts/__snapshots__/visitor_breakdown_chart.test.tsx.snap (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/charts/page_load_dist_chart.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/charts/page_views_chart.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/charts/use_exp_view_attrs.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.test.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/client_metrics/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/client_metrics/metrics.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/csm_shared_context/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/empty_state_loading.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/environment_filter/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/hooks/use_has_rum_data.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/hooks/use_local_uifilters.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/hooks/use_ux_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/impactful_metrics/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/impactful_metrics/js_errors.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/local_uifilters/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/local_uifilters/queries.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/local_uifilters/selected_filters.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/local_uifilters/selected_wildcards.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/local_uifilters/use_data_view.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/page_load_distribution/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/page_load_distribution/percentile_annotations.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/page_load_distribution/reset_percentile_zoom.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/page_load_distribution/types.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/page_views_trend/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/panels/page_load_and_views.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/panels/visitor_breakdowns.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/panels/web_application_select.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/rum_dashboard.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/rum_datepicker/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/rum_home.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/translations.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/url_filter/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/url_filter/service_name_filter/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/url_filter/url_search/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/url_filter/url_search/render_option.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/url_filter/url_search/use_url_search.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/user_percentile/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/utils/test_helper.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/ux_metrics/format_to_sec.test.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/ux_metrics/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.test.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/ux_metrics/translations.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__mocks__/regions_layer.mock.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/embedded_map.test.tsx.snap (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/map_tooltip.test.tsx.snap (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__stories__/map_tooltip.stories.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.test.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown_map/index.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.test.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.test.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_map_filters.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/context/plugin_context.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/context/url_params_context/constants.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/context/url_params_context/helpers.test.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/context/url_params_context/helpers.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/context/url_params_context/mock_url_params_context_provider.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/context/url_params_context/resolve_url_params.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/context/url_params_context/types.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/context/url_params_context/url_params_context.test.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/context/url_params_context/url_params_context.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/context/url_params_context/use_url_params.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/context/url_params_context/use_ux_url_params.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/context/use_ux_plugin_context.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_breakpoints.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_client_metrics_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_core_web_vitals_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_date_range_redirect.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_deep_object_identity.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_dynamic_data_view.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_environments_fetcher.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_fetcher.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_inp_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_js_errors_query.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_kibana_services.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_long_task_metrics_query.tsx (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/hooks/use_static_data_view.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/index.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/plugin.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/__snapshots__/client_metrics_query.test.ts.snap (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/__snapshots__/core_web_vitals_query.test.ts.snap (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/__snapshots__/js_errors_query.test.ts.snap (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/__snapshots__/long_task_metrics_query.test.ts.snap (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/__snapshots__/service_name_query.test.ts.snap (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/call_date_math.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/client_metrics_query.test.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/client_metrics_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/core_web_vitals_query.test.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/core_web_vitals_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/environments_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/get_es_filter.test.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/get_es_filter.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/get_exp_view_filter.test.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/get_exp_view_filter.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/has_rum_data_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/inp_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/js_errors_query.test.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/js_errors_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/long_task_metrics_query.test.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/long_task_metrics_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/projections.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/range_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/service_name_query.test.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/service_name_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/data/url_search_query.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/rest/call_api.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/rest/create_call_apm_api.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/public/services/rest/data_view.ts (100%) create mode 100644 x-pack/solutions/observability/plugins/ux/readme.md rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/scripts/e2e.js (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/server/index.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/server/plugin.ts (100%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/tsconfig.json (94%) rename x-pack/{plugins/observability_solution => solutions/observability/plugins}/ux/typings/ui_filters.ts (100%) diff --git a/.buildkite/ftr_oblt_stateful_configs.yml b/.buildkite/ftr_oblt_stateful_configs.yml index 919c9f600b4b..3211c35f29e7 100644 --- a/.buildkite/ftr_oblt_stateful_configs.yml +++ b/.buildkite/ftr_oblt_stateful_configs.yml @@ -19,7 +19,7 @@ disabled: - x-pack/solutions/observability/plugins/synthetics/e2e/config.ts - x-pack/solutions/observability/plugins/synthetics/e2e/synthetics/synthetics_run.ts - x-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts - - x-pack/plugins/observability_solution/ux/e2e/synthetics_run.ts + - x-pack/solutions/observability/plugins/ux/e2e/synthetics_run.ts - x-pack/solutions/observability/plugins/slo/e2e/synthetics_run.ts defaultQueue: 'n2-4-spot' diff --git a/.buildkite/pipelines/pull_request/ux_plugin_e2e.yml b/.buildkite/pipelines/pull_request/ux_plugin_e2e.yml index 4bade14464f3..b6f51351c62b 100644 --- a/.buildkite/pipelines/pull_request/ux_plugin_e2e.yml +++ b/.buildkite/pipelines/pull_request/ux_plugin_e2e.yml @@ -14,7 +14,7 @@ steps: - check_oas_snapshot timeout_in_minutes: 60 artifact_paths: - - 'x-pack/plugins/observability_solution/ux/e2e/.journeys/**/*' + - 'x-pack/solutions/observability/plugins/ux/e2e/.journeys/**/*' retry: automatic: - exit_status: '-1' diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index f3ea3e2582b6..0786508cdbb5 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -133,7 +133,7 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ - /^x-pack\/plugins\/observability_solution\/ux/, + /^x-pack\/solutions\/observability\/plugins\/ux/, /^x-pack\/solutions\/observability\/plugins\/exploratory_view/, ])) || GITHUB_PR_LABELS.includes('ci:synthetics-runner-suites') diff --git a/.buildkite/scripts/steps/functional/ux_synthetics_e2e.sh b/.buildkite/scripts/steps/functional/ux_synthetics_e2e.sh index bcc5b7114960..2c165d7274e3 100755 --- a/.buildkite/scripts/steps/functional/ux_synthetics_e2e.sh +++ b/.buildkite/scripts/steps/functional/ux_synthetics_e2e.sh @@ -14,4 +14,4 @@ echo "--- User Experience @elastic/synthetics Tests" cd "$XPACK_DIR" -node plugins/observability_solution/ux/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"} +node solutions/observability/plugins/ux/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"} diff --git a/.eslintrc.js b/.eslintrc.js index ddbf65cf40bf..9c91b66ea95c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -917,7 +917,7 @@ module.exports = { 'x-pack/plugins/observability_solution/apm/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/observability/plugins/observability/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/observability/plugins/exploratory_view/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/observability_solution/ux/**/*.{js,mjs,ts,tsx}', + 'x-pack/solutions/observability/plugins/ux/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/observability/plugins/slo/**/*.{js,mjs,ts,tsx}', 'x-pack/packages/observability/**/*.{js,mjs,ts,tsx}', ], diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a68abab4a193..62225cf35ea3 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -942,7 +942,6 @@ x-pack/plugins/observability_solution/observability_onboarding/e2e @elastic/obs- x-pack/plugins/observability_solution/observability_shared @elastic/observability-ui x-pack/plugins/observability_solution/profiling @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/profiling_data_access @elastic/obs-ux-infra_services-team -x-pack/plugins/observability_solution/ux @elastic/obs-ux-management-team x-pack/plugins/osquery @elastic/security-defend-workflows x-pack/plugins/painless_lab @elastic/kibana-management x-pack/plugins/remote_clusters @elastic/kibana-management @@ -1001,6 +1000,7 @@ x-pack/solutions/observability/plugins/streams_app @elastic/streams-program-team x-pack/solutions/observability/plugins/synthetics @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/synthetics/e2e @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/uptime @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/ux @elastic/obs-ux-management-team x-pack/test x-pack/test_serverless x-pack/test/alerting_api_integration/common/plugins/aad @elastic/response-ops diff --git a/.github/paths-labeller.yml b/.github/paths-labeller.yml index df10c3bb224a..bc67d3a6f6d9 100644 --- a/.github/paths-labeller.yml +++ b/.github/paths-labeller.yml @@ -14,7 +14,7 @@ - 'packages/kbn-apm-synthtrace/**/*.*' - 'packages/kbn-apm-synthtrace-client/**/*.*' - 'packages/kbn-apm-utils/**/*.*' - - 'x-pack/plugins/observability_solution/ux/**/*.*' + - 'x-pack/solutions/observability/plugins/ux/**/*.*' - 'Team:Fleet': - 'x-pack/plugins/fleet/**/*.*' - 'x-pack/test/fleet_api_integration/**/*.*' diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 4a5341bf3717..a4b9cd502c72 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -973,7 +973,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/observability_solution/ux/readme.md[ux] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/ux/readme.md[ux] |https://docs.elastic.dev/kibana-dev-docs/welcome diff --git a/package.json b/package.json index 04df8491e58a..571d9459ecfc 100644 --- a/package.json +++ b/package.json @@ -1006,7 +1006,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/observability_solution/ux", + "@kbn/ux-plugin": "link:x-pack/solutions/observability/plugins/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/tsconfig.base.json b/tsconfig.base.json index 30a1b12547e1..4acb2309b2a4 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2024,8 +2024,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/observability_solution/ux"], - "@kbn/ux-plugin/*": ["x-pack/plugins/observability_solution/ux/*"], + "@kbn/ux-plugin": ["x-pack/solutions/observability/plugins/ux"], + "@kbn/ux-plugin/*": ["x-pack/solutions/observability/plugins/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 85abc581d2d7..65312d720bcc 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -172,7 +172,7 @@ "solutions/observability/plugins/synthetics" ], "xpack.ux": [ - "plugins/observability_solution/ux" + "solutions/observability/plugins/ux" ], "xpack.urlDrilldown": "plugins/drilldowns/url_drilldown", "xpack.watcher": "plugins/watcher" diff --git a/x-pack/plugins/observability_solution/ux/.buildkite/pipelines/flaky.sh b/x-pack/plugins/observability_solution/ux/.buildkite/pipelines/flaky.sh deleted file mode 100644 index f358969a3ff8..000000000000 --- a/x-pack/plugins/observability_solution/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/observability_solution/ux/.buildkite/pipelines/flaky.js | buildkite-agent pipeline upload diff --git a/x-pack/plugins/observability_solution/ux/readme.md b/x-pack/plugins/observability_solution/ux/readme.md deleted file mode 100644 index e03da5df05ee..000000000000 --- a/x-pack/plugins/observability_solution/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/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/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts b/x-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts index be66dc506d22..8ca6504d3498 100644 --- a/x-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts +++ b/x-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts @@ -25,7 +25,7 @@ async function runE2ETests({ readConfigFile }: FtrConfigProviderContext) { await syntheticsRunner.setup(); await syntheticsRunner.loadTestData( - `${REPO_ROOT}/x-pack/plugins/observability_solution/ux/e2e/fixtures/`, + `${REPO_ROOT}/x-pack/solutions/observability/plugins/ux/e2e/fixtures/`, ['rum_8.0.0', 'rum_test_data'] ); await syntheticsRunner.loadTestData( diff --git a/x-pack/plugins/observability_solution/ux/.buildkite/pipelines/flaky.js b/x-pack/solutions/observability/plugins/ux/.buildkite/pipelines/flaky.js similarity index 100% rename from x-pack/plugins/observability_solution/ux/.buildkite/pipelines/flaky.js rename to x-pack/solutions/observability/plugins/ux/.buildkite/pipelines/flaky.js diff --git a/x-pack/solutions/observability/plugins/ux/.buildkite/pipelines/flaky.sh b/x-pack/solutions/observability/plugins/ux/.buildkite/pipelines/flaky.sh new file mode 100644 index 000000000000..f6a329e3b5f4 --- /dev/null +++ b/x-pack/solutions/observability/plugins/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/solutions/observability/plugins/ux/.buildkite/pipelines/flaky.js | buildkite-agent pipeline upload diff --git a/x-pack/plugins/observability_solution/ux/.storybook/main.js b/x-pack/solutions/observability/plugins/ux/.storybook/main.js similarity index 100% rename from x-pack/plugins/observability_solution/ux/.storybook/main.js rename to x-pack/solutions/observability/plugins/ux/.storybook/main.js diff --git a/x-pack/plugins/observability_solution/ux/CONTRIBUTING.md b/x-pack/solutions/observability/plugins/ux/CONTRIBUTING.md similarity index 100% rename from x-pack/plugins/observability_solution/ux/CONTRIBUTING.md rename to x-pack/solutions/observability/plugins/ux/CONTRIBUTING.md diff --git a/x-pack/plugins/observability_solution/ux/common/agent_name.ts b/x-pack/solutions/observability/plugins/ux/common/agent_name.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/common/agent_name.ts rename to x-pack/solutions/observability/plugins/ux/common/agent_name.ts diff --git a/x-pack/plugins/observability_solution/ux/common/config.ts b/x-pack/solutions/observability/plugins/ux/common/config.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/common/config.ts rename to x-pack/solutions/observability/plugins/ux/common/config.ts diff --git a/x-pack/plugins/observability_solution/ux/common/elasticsearch_fieldnames.ts b/x-pack/solutions/observability/plugins/ux/common/elasticsearch_fieldnames.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/common/elasticsearch_fieldnames.ts rename to x-pack/solutions/observability/plugins/ux/common/elasticsearch_fieldnames.ts diff --git a/x-pack/plugins/observability_solution/ux/common/environment_filter_values.ts b/x-pack/solutions/observability/plugins/ux/common/environment_filter_values.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/common/environment_filter_values.ts rename to x-pack/solutions/observability/plugins/ux/common/environment_filter_values.ts diff --git a/x-pack/plugins/observability_solution/ux/common/environment_rt.ts b/x-pack/solutions/observability/plugins/ux/common/environment_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/common/environment_rt.ts rename to x-pack/solutions/observability/plugins/ux/common/environment_rt.ts diff --git a/x-pack/plugins/observability_solution/ux/common/fetch_options.ts b/x-pack/solutions/observability/plugins/ux/common/fetch_options.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/common/fetch_options.ts rename to x-pack/solutions/observability/plugins/ux/common/fetch_options.ts diff --git a/x-pack/plugins/observability_solution/ux/common/transaction_types.ts b/x-pack/solutions/observability/plugins/ux/common/transaction_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/common/transaction_types.ts rename to x-pack/solutions/observability/plugins/ux/common/transaction_types.ts diff --git a/x-pack/plugins/observability_solution/ux/common/utils/merge_projection.ts b/x-pack/solutions/observability/plugins/ux/common/utils/merge_projection.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/common/utils/merge_projection.ts rename to x-pack/solutions/observability/plugins/ux/common/utils/merge_projection.ts diff --git a/x-pack/plugins/observability_solution/ux/common/utils/pick_keys.ts b/x-pack/solutions/observability/plugins/ux/common/utils/pick_keys.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/common/utils/pick_keys.ts rename to x-pack/solutions/observability/plugins/ux/common/utils/pick_keys.ts diff --git a/x-pack/plugins/observability_solution/ux/common/ux_ui_filter.ts b/x-pack/solutions/observability/plugins/ux/common/ux_ui_filter.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/common/ux_ui_filter.ts rename to x-pack/solutions/observability/plugins/ux/common/ux_ui_filter.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/README.md b/x-pack/solutions/observability/plugins/ux/e2e/README.md similarity index 56% rename from x-pack/plugins/observability_solution/ux/e2e/README.md rename to x-pack/solutions/observability/plugins/ux/e2e/README.md index 60c6d2f643b7..4aa66d4fa313 100644 --- a/x-pack/plugins/observability_solution/ux/e2e/README.md +++ b/x-pack/solutions/observability/plugins/ux/e2e/README.md @@ -5,11 +5,11 @@ script for standing up the test server. ### Start the server -From `~/x-pack/plugins/observability_solution/ux/scripts`, run `node e2e.js --server`. Wait for the server to startup. It will provide you +From `~/x-pack/solutions/observability/plugins/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/observability_solution/ux/e2e`, you can now run `node ../../../../../scripts/functional_test_runner --config synthetics_run.ts`. +From this directory, `~/x-pack/solutions/observability/plugins/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/observability_solution/ux/e2e/fixtures/rum_8.0.0/data.json.gz b/x-pack/solutions/observability/plugins/ux/e2e/fixtures/rum_8.0.0/data.json.gz similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_8.0.0/data.json.gz rename to x-pack/solutions/observability/plugins/ux/e2e/fixtures/rum_8.0.0/data.json.gz diff --git a/x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_8.0.0/mappings.json b/x-pack/solutions/observability/plugins/ux/e2e/fixtures/rum_8.0.0/mappings.json similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_8.0.0/mappings.json rename to x-pack/solutions/observability/plugins/ux/e2e/fixtures/rum_8.0.0/mappings.json diff --git a/x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_test_data/data.json.gz b/x-pack/solutions/observability/plugins/ux/e2e/fixtures/rum_test_data/data.json.gz similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_test_data/data.json.gz rename to x-pack/solutions/observability/plugins/ux/e2e/fixtures/rum_test_data/data.json.gz diff --git a/x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_test_data/mappings.json b/x-pack/solutions/observability/plugins/ux/e2e/fixtures/rum_test_data/mappings.json similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/fixtures/rum_test_data/mappings.json rename to x-pack/solutions/observability/plugins/ux/e2e/fixtures/rum_test_data/mappings.json diff --git a/x-pack/plugins/observability_solution/ux/e2e/journeys/core_web_vitals.ts b/x-pack/solutions/observability/plugins/ux/e2e/journeys/core_web_vitals.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/journeys/core_web_vitals.ts rename to x-pack/solutions/observability/plugins/ux/e2e/journeys/core_web_vitals.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/journeys/index.ts b/x-pack/solutions/observability/plugins/ux/e2e/journeys/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/journeys/index.ts rename to x-pack/solutions/observability/plugins/ux/e2e/journeys/index.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/journeys/inp.journey.ts b/x-pack/solutions/observability/plugins/ux/e2e/journeys/inp.journey.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/journeys/inp.journey.ts rename to x-pack/solutions/observability/plugins/ux/e2e/journeys/inp.journey.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/journeys/page_views.ts b/x-pack/solutions/observability/plugins/ux/e2e/journeys/page_views.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/journeys/page_views.ts rename to x-pack/solutions/observability/plugins/ux/e2e/journeys/page_views.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/journeys/url_ux_query.journey.ts b/x-pack/solutions/observability/plugins/ux/e2e/journeys/url_ux_query.journey.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/journeys/url_ux_query.journey.ts rename to x-pack/solutions/observability/plugins/ux/e2e/journeys/url_ux_query.journey.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/journeys/utils.ts b/x-pack/solutions/observability/plugins/ux/e2e/journeys/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/journeys/utils.ts rename to x-pack/solutions/observability/plugins/ux/e2e/journeys/utils.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/journeys/ux_client_metrics.journey.ts b/x-pack/solutions/observability/plugins/ux/e2e/journeys/ux_client_metrics.journey.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/journeys/ux_client_metrics.journey.ts rename to x-pack/solutions/observability/plugins/ux/e2e/journeys/ux_client_metrics.journey.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/journeys/ux_js_errors.journey.ts b/x-pack/solutions/observability/plugins/ux/e2e/journeys/ux_js_errors.journey.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/journeys/ux_js_errors.journey.ts rename to x-pack/solutions/observability/plugins/ux/e2e/journeys/ux_js_errors.journey.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/journeys/ux_long_task_metric_journey.ts b/x-pack/solutions/observability/plugins/ux/e2e/journeys/ux_long_task_metric_journey.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/journeys/ux_long_task_metric_journey.ts rename to x-pack/solutions/observability/plugins/ux/e2e/journeys/ux_long_task_metric_journey.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/journeys/ux_visitor_breakdown.journey.ts b/x-pack/solutions/observability/plugins/ux/e2e/journeys/ux_visitor_breakdown.journey.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/journeys/ux_visitor_breakdown.journey.ts rename to x-pack/solutions/observability/plugins/ux/e2e/journeys/ux_visitor_breakdown.journey.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/page_objects/dashboard.ts b/x-pack/solutions/observability/plugins/ux/e2e/page_objects/dashboard.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/page_objects/dashboard.ts rename to x-pack/solutions/observability/plugins/ux/e2e/page_objects/dashboard.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/page_objects/date_picker.ts b/x-pack/solutions/observability/plugins/ux/e2e/page_objects/date_picker.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/page_objects/date_picker.ts rename to x-pack/solutions/observability/plugins/ux/e2e/page_objects/date_picker.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/page_objects/login.tsx b/x-pack/solutions/observability/plugins/ux/e2e/page_objects/login.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/page_objects/login.tsx rename to x-pack/solutions/observability/plugins/ux/e2e/page_objects/login.tsx diff --git a/x-pack/plugins/observability_solution/ux/e2e/page_objects/utils.tsx b/x-pack/solutions/observability/plugins/ux/e2e/page_objects/utils.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/page_objects/utils.tsx rename to x-pack/solutions/observability/plugins/ux/e2e/page_objects/utils.tsx diff --git a/x-pack/plugins/observability_solution/ux/e2e/synthetics_run.ts b/x-pack/solutions/observability/plugins/ux/e2e/synthetics_run.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/e2e/synthetics_run.ts rename to x-pack/solutions/observability/plugins/ux/e2e/synthetics_run.ts diff --git a/x-pack/plugins/observability_solution/ux/e2e/tsconfig.json b/x-pack/solutions/observability/plugins/ux/e2e/tsconfig.json similarity index 81% rename from x-pack/plugins/observability_solution/ux/e2e/tsconfig.json rename to x-pack/solutions/observability/plugins/ux/e2e/tsconfig.json index 93ddeb2fc492..0ead299c18fc 100644 --- a/x-pack/plugins/observability_solution/ux/e2e/tsconfig.json +++ b/x-pack/solutions/observability/plugins/ux/e2e/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "exclude": ["tmp", "target/**/*"], "include": ["./**/*"], "compilerOptions": { diff --git a/x-pack/plugins/observability_solution/ux/jest.config.js b/x-pack/solutions/observability/plugins/ux/jest.config.js similarity index 73% rename from x-pack/plugins/observability_solution/ux/jest.config.js rename to x-pack/solutions/observability/plugins/ux/jest.config.js index b83d3a7ba545..2ea37f49e3d5 100644 --- a/x-pack/plugins/observability_solution/ux/jest.config.js +++ b/x-pack/solutions/observability/plugins/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/observability_solution/ux'], + rootDir: path.resolve(__dirname, '../../../../..'), + roots: ['/x-pack/solutions/observability/plugins/ux'], }; diff --git a/x-pack/plugins/observability_solution/ux/kibana.jsonc b/x-pack/solutions/observability/plugins/ux/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/ux/kibana.jsonc rename to x-pack/solutions/observability/plugins/ux/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/ux/public/application/application.test.tsx b/x-pack/solutions/observability/plugins/ux/public/application/application.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/application/application.test.tsx rename to x-pack/solutions/observability/plugins/ux/public/application/application.test.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx b/x-pack/solutions/observability/plugins/ux/public/application/ux_app.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx rename to x-pack/solutions/observability/plugins/ux/public/application/ux_app.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/action_menu/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/action_menu/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/action_menu/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/action_menu/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/action_menu/inpector_link.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/action_menu/inpector_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/action_menu/inpector_link.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/action_menu/inpector_link.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/breakdowns/breakdown_filter.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/breakdowns/breakdown_filter.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/breakdowns/breakdown_filter.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/breakdowns/breakdown_filter.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/chart_wrapper/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/chart_wrapper/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/chart_wrapper/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/chart_wrapper/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/__snapshots__/visitor_breakdown_chart.test.tsx.snap b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/charts/__snapshots__/visitor_breakdown_chart.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/__snapshots__/visitor_breakdown_chart.test.tsx.snap rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/charts/__snapshots__/visitor_breakdown_chart.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/page_load_dist_chart.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/charts/page_load_dist_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/page_load_dist_chart.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/charts/page_load_dist_chart.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/page_views_chart.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/charts/page_views_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/page_views_chart.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/charts/page_views_chart.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/use_exp_view_attrs.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/charts/use_exp_view_attrs.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/use_exp_view_attrs.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/charts/use_exp_view_attrs.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.test.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.test.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.test.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/charts/visitor_breakdown_chart.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/client_metrics/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/client_metrics/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/client_metrics/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/client_metrics/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/client_metrics/metrics.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/client_metrics/metrics.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/client_metrics/metrics.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/client_metrics/metrics.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/csm_shared_context/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/csm_shared_context/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/csm_shared_context/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/csm_shared_context/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/empty_state_loading.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/empty_state_loading.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/empty_state_loading.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/empty_state_loading.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/environment_filter/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/environment_filter/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/environment_filter/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/environment_filter/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/hooks/use_has_rum_data.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/hooks/use_has_rum_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/hooks/use_has_rum_data.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/hooks/use_has_rum_data.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/hooks/use_local_uifilters.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/hooks/use_local_uifilters.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/hooks/use_local_uifilters.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/hooks/use_local_uifilters.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/hooks/use_ux_query.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/hooks/use_ux_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/hooks/use_ux_query.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/hooks/use_ux_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/impactful_metrics/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/impactful_metrics/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/impactful_metrics/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/impactful_metrics/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/impactful_metrics/js_errors.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/impactful_metrics/js_errors.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/impactful_metrics/js_errors.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/impactful_metrics/js_errors.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/local_uifilters/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/local_uifilters/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/queries.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/local_uifilters/queries.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/queries.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/local_uifilters/queries.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/selected_filters.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/local_uifilters/selected_filters.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/selected_filters.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/local_uifilters/selected_filters.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/selected_wildcards.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/local_uifilters/selected_wildcards.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/selected_wildcards.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/local_uifilters/selected_wildcards.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/use_data_view.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/local_uifilters/use_data_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/local_uifilters/use_data_view.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/local_uifilters/use_data_view.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/percentile_annotations.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/percentile_annotations.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/percentile_annotations.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/percentile_annotations.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/reset_percentile_zoom.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/reset_percentile_zoom.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/reset_percentile_zoom.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/reset_percentile_zoom.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/types.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_load_distribution/types.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/page_load_distribution/types.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_views_trend/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/page_views_trend/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/page_views_trend/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/page_views_trend/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/panels/page_load_and_views.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/panels/page_load_and_views.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/panels/page_load_and_views.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/panels/page_load_and_views.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/panels/visitor_breakdowns.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/panels/visitor_breakdowns.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/panels/visitor_breakdowns.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/panels/visitor_breakdowns.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/panels/web_application_select.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/panels/web_application_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/panels/web_application_select.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/panels/web_application_select.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/rum_dashboard.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/rum_dashboard.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/rum_dashboard.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/rum_dashboard.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/rum_datepicker/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/rum_datepicker/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/rum_datepicker/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/rum_datepicker/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/rum_home.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/rum_home.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/rum_home.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/rum_home.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/translations.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/translations.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/translations.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/translations.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/url_filter/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/url_filter/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/service_name_filter/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/url_filter/service_name_filter/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/service_name_filter/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/url_filter/service_name_filter/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/url_search/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/url_filter/url_search/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/url_search/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/url_filter/url_search/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/url_search/render_option.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/url_filter/url_search/render_option.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/url_search/render_option.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/url_filter/url_search/render_option.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/url_search/use_url_search.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/url_filter/url_search/use_url_search.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/url_filter/url_search/use_url_search.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/url_filter/url_search/use_url_search.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/user_percentile/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/user_percentile/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/user_percentile/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/user_percentile/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/utils/test_helper.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/utils/test_helper.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/utils/test_helper.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/utils/test_helper.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/format_to_sec.test.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/ux_metrics/format_to_sec.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/format_to_sec.test.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/ux_metrics/format_to_sec.test.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/ux_metrics/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/ux_metrics/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.test.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.test.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.test.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/ux_metrics/key_ux_metrics.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/translations.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/ux_metrics/translations.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_metrics/translations.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/ux_metrics/translations.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__mocks__/regions_layer.mock.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__mocks__/regions_layer.mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__mocks__/regions_layer.mock.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__mocks__/regions_layer.mock.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/embedded_map.test.tsx.snap b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/embedded_map.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/embedded_map.test.tsx.snap rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/embedded_map.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/map_tooltip.test.tsx.snap b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/map_tooltip.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/map_tooltip.test.tsx.snap rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__snapshots__/map_tooltip.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__stories__/map_tooltip.stories.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__stories__/map_tooltip.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__stories__/map_tooltip.stories.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/__stories__/map_tooltip.stories.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.test.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.test.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.test.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/embedded_map.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/index.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/index.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/index.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.test.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.test.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.test.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.tsx b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.tsx rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/map_tooltip.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.test.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.test.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.test.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_layer_list.ts diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_map_filters.ts b/x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_map_filters.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_map_filters.ts rename to x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/visitor_breakdown_map/use_map_filters.ts diff --git a/x-pack/plugins/observability_solution/ux/public/context/plugin_context.ts b/x-pack/solutions/observability/plugins/ux/public/context/plugin_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/context/plugin_context.ts rename to x-pack/solutions/observability/plugins/ux/public/context/plugin_context.ts diff --git a/x-pack/plugins/observability_solution/ux/public/context/url_params_context/constants.ts b/x-pack/solutions/observability/plugins/ux/public/context/url_params_context/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/context/url_params_context/constants.ts rename to x-pack/solutions/observability/plugins/ux/public/context/url_params_context/constants.ts diff --git a/x-pack/plugins/observability_solution/ux/public/context/url_params_context/helpers.test.ts b/x-pack/solutions/observability/plugins/ux/public/context/url_params_context/helpers.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/context/url_params_context/helpers.test.ts rename to x-pack/solutions/observability/plugins/ux/public/context/url_params_context/helpers.test.ts diff --git a/x-pack/plugins/observability_solution/ux/public/context/url_params_context/helpers.ts b/x-pack/solutions/observability/plugins/ux/public/context/url_params_context/helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/context/url_params_context/helpers.ts rename to x-pack/solutions/observability/plugins/ux/public/context/url_params_context/helpers.ts diff --git a/x-pack/plugins/observability_solution/ux/public/context/url_params_context/mock_url_params_context_provider.tsx b/x-pack/solutions/observability/plugins/ux/public/context/url_params_context/mock_url_params_context_provider.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/context/url_params_context/mock_url_params_context_provider.tsx rename to x-pack/solutions/observability/plugins/ux/public/context/url_params_context/mock_url_params_context_provider.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/context/url_params_context/resolve_url_params.ts b/x-pack/solutions/observability/plugins/ux/public/context/url_params_context/resolve_url_params.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/context/url_params_context/resolve_url_params.ts rename to x-pack/solutions/observability/plugins/ux/public/context/url_params_context/resolve_url_params.ts diff --git a/x-pack/plugins/observability_solution/ux/public/context/url_params_context/types.ts b/x-pack/solutions/observability/plugins/ux/public/context/url_params_context/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/context/url_params_context/types.ts rename to x-pack/solutions/observability/plugins/ux/public/context/url_params_context/types.ts diff --git a/x-pack/plugins/observability_solution/ux/public/context/url_params_context/url_params_context.test.tsx b/x-pack/solutions/observability/plugins/ux/public/context/url_params_context/url_params_context.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/context/url_params_context/url_params_context.test.tsx rename to x-pack/solutions/observability/plugins/ux/public/context/url_params_context/url_params_context.test.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/context/url_params_context/url_params_context.tsx b/x-pack/solutions/observability/plugins/ux/public/context/url_params_context/url_params_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/context/url_params_context/url_params_context.tsx rename to x-pack/solutions/observability/plugins/ux/public/context/url_params_context/url_params_context.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/context/url_params_context/use_url_params.ts b/x-pack/solutions/observability/plugins/ux/public/context/url_params_context/use_url_params.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/context/url_params_context/use_url_params.ts rename to x-pack/solutions/observability/plugins/ux/public/context/url_params_context/use_url_params.ts diff --git a/x-pack/plugins/observability_solution/ux/public/context/url_params_context/use_ux_url_params.ts b/x-pack/solutions/observability/plugins/ux/public/context/url_params_context/use_ux_url_params.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/context/url_params_context/use_ux_url_params.ts rename to x-pack/solutions/observability/plugins/ux/public/context/url_params_context/use_ux_url_params.ts diff --git a/x-pack/plugins/observability_solution/ux/public/context/use_ux_plugin_context.tsx b/x-pack/solutions/observability/plugins/ux/public/context/use_ux_plugin_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/context/use_ux_plugin_context.tsx rename to x-pack/solutions/observability/plugins/ux/public/context/use_ux_plugin_context.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_breakpoints.ts b/x-pack/solutions/observability/plugins/ux/public/hooks/use_breakpoints.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_breakpoints.ts rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_breakpoints.ts diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_client_metrics_query.ts b/x-pack/solutions/observability/plugins/ux/public/hooks/use_client_metrics_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_client_metrics_query.ts rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_client_metrics_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_core_web_vitals_query.ts b/x-pack/solutions/observability/plugins/ux/public/hooks/use_core_web_vitals_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_core_web_vitals_query.ts rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_core_web_vitals_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_date_range_redirect.ts b/x-pack/solutions/observability/plugins/ux/public/hooks/use_date_range_redirect.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_date_range_redirect.ts rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_date_range_redirect.ts diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_deep_object_identity.ts b/x-pack/solutions/observability/plugins/ux/public/hooks/use_deep_object_identity.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_deep_object_identity.ts rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_deep_object_identity.ts diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_dynamic_data_view.ts b/x-pack/solutions/observability/plugins/ux/public/hooks/use_dynamic_data_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_dynamic_data_view.ts rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_dynamic_data_view.ts diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_environments_fetcher.tsx b/x-pack/solutions/observability/plugins/ux/public/hooks/use_environments_fetcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_environments_fetcher.tsx rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_environments_fetcher.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_fetcher.tsx b/x-pack/solutions/observability/plugins/ux/public/hooks/use_fetcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_fetcher.tsx rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_fetcher.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_inp_query.ts b/x-pack/solutions/observability/plugins/ux/public/hooks/use_inp_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_inp_query.ts rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_inp_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_js_errors_query.tsx b/x-pack/solutions/observability/plugins/ux/public/hooks/use_js_errors_query.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_js_errors_query.tsx rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_js_errors_query.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_kibana_services.tsx b/x-pack/solutions/observability/plugins/ux/public/hooks/use_kibana_services.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_kibana_services.tsx rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_kibana_services.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_long_task_metrics_query.tsx b/x-pack/solutions/observability/plugins/ux/public/hooks/use_long_task_metrics_query.tsx similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_long_task_metrics_query.tsx rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_long_task_metrics_query.tsx diff --git a/x-pack/plugins/observability_solution/ux/public/hooks/use_static_data_view.ts b/x-pack/solutions/observability/plugins/ux/public/hooks/use_static_data_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/hooks/use_static_data_view.ts rename to x-pack/solutions/observability/plugins/ux/public/hooks/use_static_data_view.ts diff --git a/x-pack/plugins/observability_solution/ux/public/index.ts b/x-pack/solutions/observability/plugins/ux/public/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/index.ts rename to x-pack/solutions/observability/plugins/ux/public/index.ts diff --git a/x-pack/plugins/observability_solution/ux/public/plugin.ts b/x-pack/solutions/observability/plugins/ux/public/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/plugin.ts rename to x-pack/solutions/observability/plugins/ux/public/plugin.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/client_metrics_query.test.ts.snap b/x-pack/solutions/observability/plugins/ux/public/services/data/__snapshots__/client_metrics_query.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/client_metrics_query.test.ts.snap rename to x-pack/solutions/observability/plugins/ux/public/services/data/__snapshots__/client_metrics_query.test.ts.snap diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/core_web_vitals_query.test.ts.snap b/x-pack/solutions/observability/plugins/ux/public/services/data/__snapshots__/core_web_vitals_query.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/core_web_vitals_query.test.ts.snap rename to x-pack/solutions/observability/plugins/ux/public/services/data/__snapshots__/core_web_vitals_query.test.ts.snap diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/js_errors_query.test.ts.snap b/x-pack/solutions/observability/plugins/ux/public/services/data/__snapshots__/js_errors_query.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/js_errors_query.test.ts.snap rename to x-pack/solutions/observability/plugins/ux/public/services/data/__snapshots__/js_errors_query.test.ts.snap diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/long_task_metrics_query.test.ts.snap b/x-pack/solutions/observability/plugins/ux/public/services/data/__snapshots__/long_task_metrics_query.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/long_task_metrics_query.test.ts.snap rename to x-pack/solutions/observability/plugins/ux/public/services/data/__snapshots__/long_task_metrics_query.test.ts.snap diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/service_name_query.test.ts.snap b/x-pack/solutions/observability/plugins/ux/public/services/data/__snapshots__/service_name_query.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/__snapshots__/service_name_query.test.ts.snap rename to x-pack/solutions/observability/plugins/ux/public/services/data/__snapshots__/service_name_query.test.ts.snap diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/call_date_math.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/call_date_math.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/call_date_math.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/call_date_math.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/client_metrics_query.test.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/client_metrics_query.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/client_metrics_query.test.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/client_metrics_query.test.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/client_metrics_query.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/client_metrics_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/client_metrics_query.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/client_metrics_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/core_web_vitals_query.test.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/core_web_vitals_query.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/core_web_vitals_query.test.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/core_web_vitals_query.test.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/core_web_vitals_query.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/core_web_vitals_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/core_web_vitals_query.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/core_web_vitals_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/environments_query.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/environments_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/environments_query.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/environments_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/get_es_filter.test.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/get_es_filter.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/get_es_filter.test.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/get_es_filter.test.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/get_es_filter.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/get_es_filter.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/get_es_filter.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/get_es_filter.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/get_exp_view_filter.test.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/get_exp_view_filter.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/get_exp_view_filter.test.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/get_exp_view_filter.test.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/get_exp_view_filter.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/get_exp_view_filter.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/get_exp_view_filter.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/get_exp_view_filter.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/has_rum_data_query.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/has_rum_data_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/has_rum_data_query.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/has_rum_data_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/inp_query.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/inp_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/inp_query.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/inp_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/js_errors_query.test.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/js_errors_query.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/js_errors_query.test.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/js_errors_query.test.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/js_errors_query.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/js_errors_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/js_errors_query.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/js_errors_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/long_task_metrics_query.test.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/long_task_metrics_query.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/long_task_metrics_query.test.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/long_task_metrics_query.test.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/long_task_metrics_query.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/long_task_metrics_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/long_task_metrics_query.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/long_task_metrics_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/projections.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/projections.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/projections.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/projections.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/range_query.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/range_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/range_query.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/range_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/service_name_query.test.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/service_name_query.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/service_name_query.test.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/service_name_query.test.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/service_name_query.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/service_name_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/service_name_query.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/service_name_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/data/url_search_query.ts b/x-pack/solutions/observability/plugins/ux/public/services/data/url_search_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/data/url_search_query.ts rename to x-pack/solutions/observability/plugins/ux/public/services/data/url_search_query.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/rest/call_api.ts b/x-pack/solutions/observability/plugins/ux/public/services/rest/call_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/rest/call_api.ts rename to x-pack/solutions/observability/plugins/ux/public/services/rest/call_api.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/rest/create_call_apm_api.ts b/x-pack/solutions/observability/plugins/ux/public/services/rest/create_call_apm_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/rest/create_call_apm_api.ts rename to x-pack/solutions/observability/plugins/ux/public/services/rest/create_call_apm_api.ts diff --git a/x-pack/plugins/observability_solution/ux/public/services/rest/data_view.ts b/x-pack/solutions/observability/plugins/ux/public/services/rest/data_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/public/services/rest/data_view.ts rename to x-pack/solutions/observability/plugins/ux/public/services/rest/data_view.ts diff --git a/x-pack/solutions/observability/plugins/ux/readme.md b/x-pack/solutions/observability/plugins/ux/readme.md new file mode 100644 index 000000000000..0f39b686260a --- /dev/null +++ b/x-pack/solutions/observability/plugins/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/solutions/observability/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/solutions/observability/plugins/ux/scripts/e2e.js --server` +- `node ./x-pack/solutions/observability/plugins/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/observability_solution/ux/scripts/e2e.js b/x-pack/solutions/observability/plugins/ux/scripts/e2e.js similarity index 100% rename from x-pack/plugins/observability_solution/ux/scripts/e2e.js rename to x-pack/solutions/observability/plugins/ux/scripts/e2e.js diff --git a/x-pack/plugins/observability_solution/ux/server/index.ts b/x-pack/solutions/observability/plugins/ux/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/server/index.ts rename to x-pack/solutions/observability/plugins/ux/server/index.ts diff --git a/x-pack/plugins/observability_solution/ux/server/plugin.ts b/x-pack/solutions/observability/plugins/ux/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/server/plugin.ts rename to x-pack/solutions/observability/plugins/ux/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/ux/tsconfig.json b/x-pack/solutions/observability/plugins/ux/tsconfig.json similarity index 94% rename from x-pack/plugins/observability_solution/ux/tsconfig.json rename to x-pack/solutions/observability/plugins/ux/tsconfig.json index b27a700aa9b1..3358b1a77282 100644 --- a/x-pack/plugins/observability_solution/ux/tsconfig.json +++ b/x-pack/solutions/observability/plugins/ux/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../../typings/**/*", + "../../../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*", diff --git a/x-pack/plugins/observability_solution/ux/typings/ui_filters.ts b/x-pack/solutions/observability/plugins/ux/typings/ui_filters.ts similarity index 100% rename from x-pack/plugins/observability_solution/ux/typings/ui_filters.ts rename to x-pack/solutions/observability/plugins/ux/typings/ui_filters.ts diff --git a/yarn.lock b/yarn.lock index 441d35067b6d..b34a3b6d4a30 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7864,7 +7864,7 @@ version "0.0.0" uid "" -"@kbn/ux-plugin@link:x-pack/plugins/observability_solution/ux": +"@kbn/ux-plugin@link:x-pack/solutions/observability/plugins/ux": version "0.0.0" uid ""