-
REST action
- {/* ── Header: method + name + id ── */}
-
-
- {action.method}
+
-
- {/* ── URL ── */}
-
{action.url}
-
- {/* ── Auth + description ── */}
-
-
- {AUTH_LABELS[action.authenticationType] ?? action.authenticationType}
+
+ {action.method}
+ {action.name}
+ {action.id}
- {action.description && (
- {action.description}
- )}
-
+
{action.url}
+
+ {AUTH_LABELS[action.authenticationType] ?? action.authenticationType}
+
+
+
+ {expanded &&
+ {action.description && {action.description}}
{/* ── Template references (Step 16.5) ── */}
{hasTemplates && (
@@ -780,6 +783,7 @@ function ActionCard({
)}
+ }
);
}
@@ -791,6 +795,8 @@ type BindingCardProps = {
allComponents: CanvasComponent[];
allActions: RestAction[];
diags: Diagnostic[];
+ expanded: boolean;
+ onToggle: () => void;
onEdit: () => void;
onDelete: () => void;
};
@@ -800,6 +806,8 @@ function BindingCard({
allComponents,
allActions,
diags,
+ expanded,
+ onToggle,
onEdit,
onDelete,
}: BindingCardProps): React.ReactElement {
@@ -822,12 +830,19 @@ function BindingCard({
return (
-
{sourceActionId ? 'Response binding' : 'Component binding'}
- {/* ── Header: id + trigger ── */}
-
- {binding.id}
- {trigger}
-
+
+
+ {expanded &&
{/* ── Source / Target flow ── */}
@@ -883,6 +898,7 @@ function BindingCard({
+
}
);
}
@@ -903,6 +919,18 @@ function ActionInspector(): React.ReactElement {
const [editingVariableName, setEditingVariableName] = useState