Change parameter addition overlay to include a new tab for credentials (#1886)

Co-authored-by: Muhammed Salih Altun <muhammedsalihaltun@gmail.com>
This commit is contained in:
Shuchang Zheng
2025-03-05 09:19:21 -05:00
committed by GitHub
parent 8f88639ace
commit ea5ff593dd
4 changed files with 42 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ function SwitchBar({ options, value, onChange }: Props) {
<div
key={option.value}
className={cn(
"cursor-pointer rounded-sm px-3 py-2 text-xs hover:bg-slate-700",
"cursor-pointer whitespace-nowrap rounded-sm px-3 py-2 text-xs hover:bg-slate-700",
{
"bg-slate-700": selected,
},

View File

@@ -28,7 +28,7 @@ function WorkflowBlockInput(props: Props) {
<PlusIcon className="size-4" />
</div>
</PopoverTrigger>
<PopoverContent>
<PopoverContent className="w-[22rem]">
<WorkflowBlockParameterSelect
nodeId={nodeId}
onAdd={(parameterKey) => {

View File

@@ -31,7 +31,7 @@ function WorkflowBlockInputTextarea(props: Props) {
<PlusIcon className="size-4" />
</div>
</PopoverTrigger>
<PopoverContent>
<PopoverContent className="w-[22rem]">
<WorkflowBlockParameterSelect
nodeId={nodeId}
onAdd={(parameterKey) => {