From 4e555679e3769c157b9cf3657991f4c57046b39f Mon Sep 17 00:00:00 2001 From: Coen Warmer Date: Thu, 16 Mar 2023 15:03:29 +0100 Subject: [PATCH] [Tech Debt] Reorder SLO List page (#152903) --- .../public/pages/slos/{index.test.tsx => slos.test.tsx} | 2 +- .../observability/public/pages/slos/{index.tsx => slos.tsx} | 0 x-pack/plugins/observability/public/routes/index.tsx | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename x-pack/plugins/observability/public/pages/slos/{index.test.tsx => slos.test.tsx} (99%) rename x-pack/plugins/observability/public/pages/slos/{index.tsx => slos.tsx} (100%) diff --git a/x-pack/plugins/observability/public/pages/slos/index.test.tsx b/x-pack/plugins/observability/public/pages/slos/slos.test.tsx similarity index 99% rename from x-pack/plugins/observability/public/pages/slos/index.test.tsx rename to x-pack/plugins/observability/public/pages/slos/slos.test.tsx index d52005bdf4e5f..debacf68a5446 100644 --- a/x-pack/plugins/observability/public/pages/slos/index.test.tsx +++ b/x-pack/plugins/observability/public/pages/slos/slos.test.tsx @@ -19,7 +19,7 @@ import { useDeleteSlo } from '../../hooks/slo/use_delete_slo'; import { useFetchSloList } from '../../hooks/slo/use_fetch_slo_list'; import { useFetchHistoricalSummary } from '../../hooks/slo/use_fetch_historical_summary'; import { useLicense } from '../../hooks/use_license'; -import { SlosPage } from '.'; +import { SlosPage } from './slos'; import { emptySloList, sloList } from '../../data/slo/slo'; import { historicalSummaryData } from '../../data/slo/historical_summary_data'; import { useCapabilities } from '../../hooks/slo/use_capabilities'; diff --git a/x-pack/plugins/observability/public/pages/slos/index.tsx b/x-pack/plugins/observability/public/pages/slos/slos.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/index.tsx rename to x-pack/plugins/observability/public/pages/slos/slos.tsx diff --git a/x-pack/plugins/observability/public/routes/index.tsx b/x-pack/plugins/observability/public/routes/index.tsx index 25b2ce8f8169e..7ab14f60648d8 100644 --- a/x-pack/plugins/observability/public/routes/index.tsx +++ b/x-pack/plugins/observability/public/routes/index.tsx @@ -20,7 +20,7 @@ import { RuleDetailsPage } from '../pages/rule_details'; import { AlertingPages } from '../config'; import { AlertDetails } from '../pages/alert_details/alert_details'; import { DatePickerContextProvider } from '../context/date_picker_context'; -import { SlosPage } from '../pages/slos'; +import { SlosPage } from '../pages/slos/slos'; import { SloDetailsPage } from '../pages/slo_details/slo_details'; import { SloEditPage } from '../pages/slo_edit/slo_edit';