Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
Create a basic flux pipeline using pipeline builder
Open script editor
Add a map function.
Within the lamda function for the map pipeline function set the cursor to a location where an inline function like strings.trimRight is desired.
In the "Flux Functions" panel locate the strings.trimRight function.
Click to insert the function automatically into the lambda function.
The inline function is added as a pipeline function instead.
Screencast
InsertInlineStringTrimRight.webm
Expected behavior:
Expected that the inline function would be inserted at the location of he cursor.
Actual behavior:
The inline function is inserted as a pipeline function.
After clicking "Run Script" an error occurs. "missing property value"
Environment info:
OS: Ubuntu 24.04
Browser: Opera 127
Backend: Influxdb1 OSS in docker.
Chronograf: 1.10.9
Config:
Logs:
INFO[7481] Response: Bad Request component=server method=POST remote_addr="[::1]:40810" response_time=11.813163ms status=400
INFO[7488] Response: OK component=server method=GET remote_addr="[::1]:46800" response_time="55.595µs" status=200
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
mapfunction.mappipeline function set the cursor to a location where an inline function likestrings.trimRightis desired.strings.trimRightfunction.The inline function is added as a pipeline function instead.
Screencast
InsertInlineStringTrimRight.webm
Expected behavior:
Expected that the inline function would be inserted at the location of he cursor.
Actual behavior:
The inline function is inserted as a pipeline function.
After clicking "Run Script" an error occurs. "missing property value"
Environment info:
OS: Ubuntu 24.04
Browser: Opera 127
Backend: Influxdb1 OSS in docker.
Chronograf: 1.10.9
Config:
Logs: