From 32aa34092ca3c47945101972eccfdab231ce7821 Mon Sep 17 00:00:00 2001
From: Maximilian Kaske <56969857+mxkaske@users.noreply.github.com>
Date: Wed, 25 Oct 2023 21:38:08 +0200
Subject: [PATCH] status check (#393)
* wip
* chore: filter include monitoring
* fix: include
---
.../web/src/app/status-page/[domain]/page.tsx | 4 +
apps/web/src/components/icons.tsx | 4 +
.../components/status-page/status-check.tsx | 93 +++++++++++++++++++
apps/web/src/lib/tracker.ts | 44 +++++++--
4 files changed, 138 insertions(+), 7 deletions(-)
create mode 100644 apps/web/src/components/status-page/status-check.tsx
diff --git a/apps/web/src/app/status-page/[domain]/page.tsx b/apps/web/src/app/status-page/[domain]/page.tsx
index 3569ea1a3..c2542fd81 100644
--- a/apps/web/src/app/status-page/[domain]/page.tsx
+++ b/apps/web/src/app/status-page/[domain]/page.tsx
@@ -13,6 +13,9 @@ import { EmptyState } from "@/components/dashboard/empty-state";
import { Header } from "@/components/dashboard/header";
import { IncidentList } from "@/components/status-page/incident-list";
import { MonitorList } from "@/components/status-page/monitor-list";
+import { StatusCheck } from "@/components/status-page/status-check";
+import { getMonitorListData } from "@/lib/tb";
+import { notEmpty } from "@/lib/utils";
import { api } from "@/trpc/server";
const url =
@@ -58,6 +61,7 @@ export default async function Page({ params }: Props) {
/>
) : (
<>
+
(