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

@@ -36,7 +36,7 @@ const workflowParameterTypeOptions = [
function header(type: "workflow" | "credential" | "context") {
if (type === "workflow") {
return "Add Workflow Parameter";
return "Add Input Parameter";
}
if (type === "credential") {
return "Add Credential Parameter";

View File

@@ -37,7 +37,7 @@ const workflowParameterTypeOptions = [
function header(type: "workflow" | "credential" | "context") {
if (type === "workflow") {
return "Edit Workflow Parameter";
return "Edit Input Parameter";
}
if (type === "credential") {
return "Edit Credential Parameter";

View File

@@ -54,7 +54,7 @@ function WorkflowParametersPanel() {
<div className="relative w-[25rem] rounded-xl border border-slate-700 bg-slate-950 p-5 shadow-xl">
<div className="space-y-4">
<header>
<h1 className="text-lg">Workflow Parameters</h1>
<h1 className="text-lg">Parameters</h1>
<span className="text-sm text-slate-400">
Create placeholder values that you can link in nodes. You will be
prompted to fill them in before running your workflow.
@@ -79,7 +79,7 @@ function WorkflowParametersPanel() {
});
}}
>
Workflow Parameter
Input Parameter
</DropdownMenuItem>
<DropdownMenuItem
onClick={() => {