iniital commit

This commit is contained in:
Alex Holliday
2026-01-29 17:52:10 +00:00
parent 2852d2cdce
commit 6395e8a10e
4 changed files with 44 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
import { BasePageWithStates } from "@/Components/v2/design-elements";
import { useTranslation } from "react-i18next";
const NotificationsPage = () => {
const { t } = useTranslation();
return (
<BasePageWithStates
page={t("pages.notifications.fallback.title")}
bullets={
t("pages.notifications.fallback.checks", {
returnObjects: true,
}) as string[]
}
loading={false}
error={false}
items={[]}
actionButtonText={t("pages.notifications.fallback.actionButton")}
actionLink="/notifications/create"
>
Notifications
</BasePageWithStates>
);
};
export default NotificationsPage;
+8 -2
View File
@@ -43,7 +43,7 @@ import CreateStatus from "../Pages/StatusPage/Create/index.jsx";
import StatusPages from "../Pages/StatusPage/StatusPages/index.jsx";
import Status from "../Pages/StatusPage/Status/index.jsx";
import Notifications from "../Pages/Notifications/index.jsx";
import Notifications from "../Pages/Notifications";
import CreateNotifications from "../Pages/Notifications/create/index.jsx";
// Settings
@@ -210,7 +210,13 @@ const Routes = () => {
<Route
path="notifications"
element={<Notifications />}
element={
<>
<ThemeProvider theme={v2theme}>
<Notifications />
</ThemeProvider>
</>
}
/>
<Route
path="notifications/create"
+11
View File
@@ -327,6 +327,17 @@
"netBytesRecv": "{{name}} - Bytes Received"
}
}
},
"notifications": {
"fallback": {
"actionButton": "Create a channel",
"checks": [
"Alert teams about downtime or performance issues",
"Let engineers know when incidents happen",
"Keep administrators informed of system changes"
],
"title": "Notification channles are used to:"
}
}
},
"incidentsTableNoIncidents": "No incidents recorded",