From e72dd59c192d37a1b012c6534138522aa644bea5 Mon Sep 17 00:00:00 2001 From: Kerem Yilmaz Date: Thu, 25 Jul 2024 06:54:32 -0700 Subject: [PATCH] Add created at to workflow runs table (#645) --- .../src/routes/workflows/Workflows.tsx | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/skyvern-frontend/src/routes/workflows/Workflows.tsx b/skyvern-frontend/src/routes/workflows/Workflows.tsx index 3381e1e249..b56679dbb9 100644 --- a/skyvern-frontend/src/routes/workflows/Workflows.tsx +++ b/skyvern-frontend/src/routes/workflows/Workflows.tsx @@ -23,6 +23,7 @@ import { } from "@/components/ui/pagination"; import { cn } from "@/util/utils"; import { WorkflowTitle } from "./WorkflowTitle"; +import { basicTimeFormat } from "@/util/timeFormat"; function Workflows() { const credentialGetter = useCredentialGetter(); @@ -152,20 +153,21 @@ function Workflows() { - Workflow ID + Workflow ID Workflow Title - Workflow Run ID - Status + Workflow Run ID + Status + Created At {workflowRunsIsLoading ? ( - Loading... + Loading... ) : workflowRuns?.length === 0 ? ( - No workflow runs found + No workflow runs found ) : ( workflowRuns?.map((workflowRun) => { @@ -179,7 +181,7 @@ function Workflows() { }} className="cursor-pointer" > - + {workflowRun.workflow_permanent_id} @@ -187,12 +189,15 @@ function Workflows() { workflowPermanentId={workflowRun.workflow_permanent_id} /> - + {workflowRun.workflow_run_id} - + + + {basicTimeFormat(workflowRun.created_at)} + ); })