JavaScript spelling (#4206)

This commit is contained in:
Henri Courdent
2024-08-07 12:04:26 +02:00
committed by GitHub
parent 5f99e0496c
commit 01051bad21
4 changed files with 4 additions and 4 deletions
@@ -315,7 +315,7 @@
<ToggleButton
small
light
tooltip="Javascript expression ('flow_input' or 'results')."
tooltip="JavaScript expression ('flow_input' or 'results')."
value="javascript"
icon={FunctionSquare}
/>
@@ -52,7 +52,7 @@ Here's the user's request: ${instructions}
You can find the details of all the steps below:
${flowDetails}
Determine for the user the javascript expression for the branching condition composed of the previous results or the flow inputs.
Determine for the user the JavaScript expression for the branching condition composed of the previous results or the flow inputs.
All inputs start with either results. or flow_input. and are followed by the key of the input.
Here's a summary of the available data:
<available>
@@ -27,7 +27,7 @@
role="alert"
id="dynamic-input-help-box"
>
Single javascript expression. The following functions and objects are available:
Single JavaScript expression. The following functions and objects are available:
<ul class="ml-4">
<li><b>{'results.<id>'}</b>: the result of step at id 'id'</li>
<li><b>flow_input</b>: the object containing the flow input arguments</li>
@@ -88,7 +88,7 @@
popover: {
title: 'Iterator expression',
description:
'The iterator expression is a javascript expression that respresents the array to iterate on. Here we will iterate on the firstname input letter by letter',
'The iterator expression is a JavaScript expression that respresents the array to iterate on. Here we will iterate on the firstname input letter by letter',
onNextClick: () => {
updateFlowModuleById($flowStore, id, (module) => {
if (module.value.type === 'forloopflow') {