From 668847edc3aeea0f5cf29c4ee61c8ae136008a2b Mon Sep 17 00:00:00 2001 From: Pattadon Date: Tue, 8 Apr 2025 14:31:30 +0700 Subject: [PATCH] feat: add PipelineStatus component and integrate it into PipelineDetailsPage --- frontend/app/(sidebar)/data-pipeline/page.tsx | 1 + .../data-pipeline/property-listings/page.tsx | 36 +--------------- frontend/components/pipeline/status.tsx | 41 +++++++++++++++++++ 3 files changed, 44 insertions(+), 34 deletions(-) create mode 100644 frontend/components/pipeline/status.tsx diff --git a/frontend/app/(sidebar)/data-pipeline/page.tsx b/frontend/app/(sidebar)/data-pipeline/page.tsx index 44d3a88..7e5a135 100644 --- a/frontend/app/(sidebar)/data-pipeline/page.tsx +++ b/frontend/app/(sidebar)/data-pipeline/page.tsx @@ -98,6 +98,7 @@ export default function DataPipelinePage() { aiPowered={true} /> + {/* mock pipeline card with data */}
- - - Pipeline Status - - -
-
- Status: - - Active - -
-
- Last Run: - 2 hours ago -
-
- Next Run: - Tomorrow at 9:00 AM -
-
- Run Frequency: - Daily -
-
- Total Records: - 1,240 -
-
-
-
+ diff --git a/frontend/components/pipeline/status.tsx b/frontend/components/pipeline/status.tsx new file mode 100644 index 0000000..4266684 --- /dev/null +++ b/frontend/components/pipeline/status.tsx @@ -0,0 +1,41 @@ +import { Badge } from "../ui/badge"; +import { Card, CardHeader, CardTitle, CardContent } from "../ui/card"; + +export function PipelineStatus() { + return ( + + + Pipeline Status + + +
+
+ Status: + + Active + +
+
+ Last Run: + 2 hours ago +
+
+ Next Run: + Tomorrow at 9:00 AM +
+
+ Run Frequency: + Daily +
+
+ Total Records: + 1,240 +
+
+
+
+ ); +} \ No newline at end of file