diff --git a/client/src/components/design-elements/StatusBox.tsx b/client/src/components/design-elements/StatusBox.tsx index 3d5022511..6b3cf2b7e 100644 --- a/client/src/components/design-elements/StatusBox.tsx +++ b/client/src/components/design-elements/StatusBox.tsx @@ -91,3 +91,15 @@ export const PausedStatusBox = ({ n }: { n: number }) => { /> ); }; + +export const InitializingStatusBox = ({ n }: { n: number }) => { + const theme = useTheme(); + const { t } = useTranslation(); + return ( + + ); +}; diff --git a/client/src/locales/en.json b/client/src/locales/en.json index 8c3c9a7b5..5ce5f261a 100644 --- a/client/src/locales/en.json +++ b/client/src/locales/en.json @@ -660,6 +660,7 @@ "checkingEvery": "Checking every {{interval}}", "down": "down", "paused": "paused", + "initializing": "initializing", "up": "up", "withCaptureAgent": "with Capture agent {{version}}" }, diff --git a/client/src/pages/infrastructure/InfraMonitors.tsx b/client/src/pages/infrastructure/InfraMonitors.tsx index aa522dd4c..885b04bbd 100644 --- a/client/src/pages/infrastructure/InfraMonitors.tsx +++ b/client/src/pages/infrastructure/InfraMonitors.tsx @@ -18,6 +18,7 @@ import type { IMonitor, IMonitorWithStats } from "@/types/monitor"; import useMediaQuery from "@mui/material/useMediaQuery"; import { useState } from "react"; import { useDelete } from "@/hooks/UseApi"; +import { InitializingStatusBox } from "@/components/design-elements/StatusBox"; const GLOBAL_REFRESH = import.meta.env.VITE_APP_GLOBAL_REFRESH; @@ -90,6 +91,9 @@ const PageSpeedMonitorsPage = () => { + { + { +