feat: enhance FlowgramNodeForm and WorkflowNodeCard by removing unused spec prop and adding node description display

This commit is contained in:
mlogclub
2026-06-28 15:12:56 +08:00
parent 298f65ee96
commit 389291143a
3 changed files with 9 additions and 12 deletions
@@ -150,6 +150,15 @@ export function NodeConfigPanel({
/>
</div>
{nodeSpec?.description ? (
<div className="space-y-2">
<Label></Label>
<div className="rounded-md border bg-muted/30 px-3 py-2 text-xs leading-5 text-muted-foreground">
{nodeSpec.description}
</div>
</div>
) : null}
{inputSchema.length > 0 ? (
<div className="space-y-3">
<div className="text-sm font-medium"></div>