Add variable path (#10720)

<img width="537" alt="Capture d’écran 2025-03-07 à 09 44 21"
src="https://github.com/user-attachments/assets/52c4d292-01af-4389-aa66-551be2358dd7"
/>

- search through step output schema the variable
- build the variable path
- returns the variable label 
- display both
This commit is contained in:
Thomas Trompette
2025-03-10 13:44:58 +01:00
committed by GitHub
parent c067044e01
commit c981ae329e
29 changed files with 620 additions and 195 deletions

View File

@ -33,9 +33,9 @@ export const useAvailableVariablesInWorkflowStep = ({
const availableStepsOutputSchema: StepOutputSchema[] =
getStepsOutputSchema(previousStepIds).filter(isDefined);
const triggersOutputSchema: StepOutputSchema[] = getStepsOutputSchema([
TRIGGER_STEP_ID,
]).filter(isDefined);
const triggersOutputSchema: StepOutputSchema[] = isDefined(flow.trigger)
? getStepsOutputSchema([TRIGGER_STEP_ID]).filter(isDefined)
: [];
const availableVariablesInWorkflowStep = [
...availableStepsOutputSchema,