updated tooltip and placeholder of conditional block (#4369)

This commit is contained in:
Celal Zamanoglu
2025-12-25 00:05:45 +03:00
committed by GitHub
parent d643b7a81c
commit 170c5a649e

View File

@@ -682,7 +682,7 @@ function ConditionalNodeComponent({ id, data }: NodeProps<ConditionalNode>) {
</Label>
{!activeBranch.is_default && (
<HelpTooltip
content={`Jinja: {{ y > 100 }}\nNatural language: y is greater than 100`}
content={`Jinja: {{ y > 100 }}\nNatural language: y is greater than 100\nJinja+Natural language: {{ y }} is greater than 100`}
/>
)}
</div>
@@ -697,7 +697,7 @@ function ConditionalNodeComponent({ id, data }: NodeProps<ConditionalNode>) {
onChange={(value) => {
handleExpressionChange(value);
}}
placeholder="Enter condition to evaluate (Jinja or natural language)"
placeholder="Enter condition to evaluate (Jinja, natural language, or both)"
/>
</div>
)}