Rename workflow parameter to input parameter (#1071)

This commit is contained in:
Shuchang Zheng
2024-10-28 05:37:37 -07:00
committed by GitHub
parent 3fbd1832ea
commit 4ad6072242
6 changed files with 22 additions and 21 deletions

View File

@@ -63,16 +63,20 @@ function WorkflowRunParameters() {
{} as Record<string, unknown>,
);
const header = (
<header className="space-y-5">
<h1 className="text-3xl">Parameters</h1>
<h2 className="text-lg text-slate-400">
Fill the placeholder values that you have linked throughout your
workflow.
</h2>
</header>
);
if (isFetching) {
return (
<div className="space-y-8">
<header className="space-y-5">
<h1 className="text-3xl">Run Parameters</h1>
<h2 className="text-lg text-slate-400">
Fill the placeholder values that you have linked throughout your
workflow.
</h2>
</header>
{header}
<Skeleton className="h-96 w-full" />
</div>
);
@@ -84,13 +88,7 @@ function WorkflowRunParameters() {
return (
<div className="space-y-8">
<header className="space-y-5">
<h1 className="text-3xl">Run Parameters</h1>
<h2 className="text-lg text-slate-400">
Fill the placeholder values that you have linked throughout your
workflow.
</h2>
</header>
{header}
<RunWorkflowForm
initialValues={initialValues}
workflowParameters={workflowParameters}