feat: add run origin options, fix client code templates, buttons and badge styles

This commit is contained in:
BennyKok
2024-01-19 17:08:05 +08:00
parent 81cb44c5cf
commit e220921440
14 changed files with 1152 additions and 181 deletions
+4
View File
@@ -1,6 +1,7 @@
import { LiveStatus } from "./LiveStatus";
import { RunInputs } from "@/components/RunInputs";
import { RunOutputs } from "@/components/RunOutputs";
import { Badge } from "@/components/ui/badge";
import {
Dialog,
DialogContent,
@@ -31,6 +32,9 @@ export async function RunDisplay({
{getRelativeTime(run.created_at)}
</TableCell>
<TableCell>{run.version?.version}</TableCell>
<TableCell>
<Badge variant="outline">{run.origin}</Badge>
</TableCell>
<LiveStatus run={run} />
</TableRow>
</DialogTrigger>