influxdata / ui

UI for InfluxDB
93 stars 42 forks source link

Query Parameter Collection #4685

Open influx-product-manager opened 2 years ago

influx-product-manager commented 2 years ago

EPIC Description

Flux scripts allow for parameters to be passed to them at run time. These parameters will vary in value outside of the control of the script itself, and in the case of invocable scripts, will likely be determined by the calling application (or even other script)..

But if you are building scripts that use these parameters using a cloud2 UI, like the flux centric script editor being created, you may be building a script that you can't actually run or test within the UI because you don't have a way to pass the parameters to the script when running it.

This EPIC is for enhancing the UI to be able to prompt the user (or some other mechanism) to obtain those values, so that they can successfully run\/test their script.

Background reference:

https://github.com/influxdata/idpe/issues/12156

influx-product-manager commented 2 years ago

Link to feature: https://influxdata.productboard.com/feature-board/planning/features/13580239

wiedld commented 1 year ago

This is about an overall theme of making the New DataExplorer use params, not variables, for timeRange. This is relevant in the use case of invokable scripts.