feat: add share page settings dialog + add org id to deployment as well

This commit is contained in:
BennyKok
2024-01-20 12:06:26 +08:00
parent a2d0e93172
commit 163e6f0426
32 changed files with 2396 additions and 253 deletions
+7 -4
View File
@@ -1,8 +1,6 @@
import { ButtonActionMenu } from "@/components/ButtonActionLoader";
import {
PublicRunOutputs,
} from "@/components/VersionSelect";
import { RunWorkflowInline } from "@/components/RunWorkflowInline";
import { PublicRunOutputs } from "@/components/VersionSelect";
import {
Card,
CardContent,
@@ -89,6 +87,11 @@ export default async function Page({
</CardHeader>
<CardContent>
<div>
{sharedDeployment?.description && (
<>{sharedDeployment?.description}</>
)}
</div>
<RunWorkflowInline
inputs={inputs}
machine_id={sharedDeployment.machine_id}
@@ -102,7 +105,7 @@ export default async function Page({
</CardHeader>
<CardContent>
<PublicRunOutputs />
<PublicRunOutputs preview={sharedDeployment.showcase_media} />
</CardContent>
</Card>
</div>