diff --git a/apps/webapp/app/routes/__app/orgs/$organizationSlug/workflows/$workflowSlug/runs/index.tsx b/apps/webapp/app/routes/__app/orgs/$organizationSlug/workflows/$workflowSlug/runs/index.tsx index 8dda65b0c..8ccf0186c 100644 --- a/apps/webapp/app/routes/__app/orgs/$organizationSlug/workflows/$workflowSlug/runs/index.tsx +++ b/apps/webapp/app/routes/__app/orgs/$organizationSlug/workflows/$workflowSlug/runs/index.tsx @@ -1,14 +1,151 @@ +import { + CheckIcon, + ExclamationTriangleIcon, + InformationCircleIcon, +} from "@heroicons/react/24/solid"; +import { CheckCircleIcon } from "@heroicons/react/24/solid"; import { Link } from "@remix-run/react"; -import { Header1 } from "~/components/primitives/text/Headers"; +import classNames from "classnames"; +import { Panel } from "~/components/layout/Panel"; +import { Spinner } from "~/components/primitives/Spinner"; +import { Header1, Header2 } from "~/components/primitives/text/Headers"; + +const headerCell = "px-4 py-5 text-left text-base font-semibold text-slate-300"; +const headerCellRightAlign = classNames(headerCell, "text-right"); +const cell = "flex whitespace-nowrap text-sm text-slate-300"; +const cellLeftAligned = classNames(cell, "justify-start"); +const cellRightAligned = classNames(cell, "justify-end"); export default function Page() { return ( <> - Runs -
Runs table will go here
- - Example run - + Runs + + 20 runs of 530 + + + + + + + + + + + + + + + + + clbuoggr500047cw95pv8r1oh + + + + + In progress + + + + 12:45pm 22 Dec 2022 + + + – + + + + + + + + + clbuoggr500047cw95pv8r1oh + + + + + Complete + + + + 12:45pm 22 Dec 2022 + + + 10:13am 23 Dec 2022 + + 1d 4h 44m + + + + + clbuoggr500047cw95pv8r1oh + + + + + Error + + + + 12:45pm 22 Dec 2022 + + + – + + + + + + + + +
+ ID + + Status + + Started + + Completed + + Duration + + Test +
+
+
+ + + No runs found for this Workflow + +
+
+
+
); } + +function Cell({ + children, + to, + alignment = "right", +}: { + children: React.ReactNode; + to: string; + alignment?: "left" | "right"; +}) { + return ( + + + {children} + + + ); +}