From cf3ca5fe6e172f86f493e083d032f3ae518e2c88 Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Tue, 31 Oct 2023 14:31:18 -0700 Subject: [PATCH] better mirror page --- ui/app/mirrors/page.tsx | 304 ++++++++++++++-------------- ui/app/peers/[peerName]/helpers.tsx | 1 - 2 files changed, 150 insertions(+), 155 deletions(-) diff --git a/ui/app/mirrors/page.tsx b/ui/app/mirrors/page.tsx index 7873841102..b0bd52b9fe 100644 --- a/ui/app/mirrors/page.tsx +++ b/ui/app/mirrors/page.tsx @@ -1,7 +1,5 @@ import { DropDialog } from '@/components/DropDialog'; -import { Badge } from '@/lib/Badge'; import { Button } from '@/lib/Button'; -import { Checkbox } from '@/lib/Checkbox'; import { Header } from '@/lib/Header'; import { Icon } from '@/lib/Icon'; import { Label } from '@/lib/Label'; @@ -29,83 +27,81 @@ async function CDCFlows() { }); return ( - Change-data capture} - toolbar={{ - left: ( - <> - - - - - - - ), - right: , - }} - header={ - - - - - Name - Source - Destination - Start Time - - - } - > - {cdcFlows.map((flow) => ( - - - - - - - - -
- -
-
- -
- -
-
- - - - - - -
- ))} -
+ <> + +
+ + + + + + + + ), + right: , + }} + header={ + + Name + Source + Destination + Start Time + + + } + > + {cdcFlows.map((flow) => ( + + + + + +
+ +
+
+ +
+ +
+
+ + + + + + +
+ ))} +
+
+ ); } @@ -123,81 +119,81 @@ async function QRepFlows() { }); return ( - Query replication} - toolbar={{ - left: ( - <> - - - - - - - ), - right: , - }} - header={ - - - - - Name - Source - Destination - Start Time - - - } - > - {qrepFlows.map((flow) => ( - - - - - - - - -
- -
-
- -
- -
-
- - - - - - - Active - - -
- ))} -
+ <> + +
+ + + + + + + + ), + right: , + }} + header={ + + Name + Source + Destination + Start Time + + + } + > + {qrepFlows.map((flow) => ( + + + + + +
+ +
+
+ +
+ +
+
+ + + + + + +
+ ))} +
+
+ ); } diff --git a/ui/app/peers/[peerName]/helpers.tsx b/ui/app/peers/[peerName]/helpers.tsx index 4eb85060d0..4aaf178326 100644 --- a/ui/app/peers/[peerName]/helpers.tsx +++ b/ui/app/peers/[peerName]/helpers.tsx @@ -14,7 +14,6 @@ export const SlotNameDisplay = ({ slotName }: { slotName: string }) => {