updated tooltip and placeholder of conditional block (#4369)
This commit is contained in:
@@ -682,7 +682,7 @@ function ConditionalNodeComponent({ id, data }: NodeProps<ConditionalNode>) {
|
|||||||
</Label>
|
</Label>
|
||||||
{!activeBranch.is_default && (
|
{!activeBranch.is_default && (
|
||||||
<HelpTooltip
|
<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>
|
</div>
|
||||||
@@ -697,7 +697,7 @@ function ConditionalNodeComponent({ id, data }: NodeProps<ConditionalNode>) {
|
|||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
handleExpressionChange(value);
|
handleExpressionChange(value);
|
||||||
}}
|
}}
|
||||||
placeholder="Enter condition to evaluate (Jinja or natural language)"
|
placeholder="Enter condition to evaluate (Jinja, natural language, or both)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user