Open
Description
Problem statement
Many customers frequently send in requests to extend the capability of coder_parameter
s in the UI. There are a few desired features:
- Conditional Parameters
- Allowing the selection of one parameter reveal or hide following parameters
- An example use case would be selecting a team and showing their allowed resources
- Multiple Parameter Selection
- I.E. Using a radio to allow multiple selection for a single parameter
- Dropdown Parameters
- Parameters with more options
Proposal
Before we attempt to implement these features individually, @kylecarbs recommended we experiment with allowing users to express coder_parameter
s as code using JSONForms.
We would allow users to write their workspace parameters in the UI using JSONForms and render them using the React integration. In this scenario, the visual and functional flexibility of coder_parameter
would both be dramatically improved.
Note that this is not an explicit feature request. Someone who is interested in tinkering with this can experiment and help decide whether or not it's a viable option.