create a new render for the launcher
fcomte opened this issue · comments
Comte commented
We should create a new render for an array.
At the moment we only display a textPanel which is not really good.
One standard use case is the standard :
env:
- name: toto
value: titi
this could be controlled with this json schema :
"env": {
"type": "array",
"title": "Array of Environment Variables",
"description": "A list of environment variables, where each variable includes a name and a value.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the environment variable."
},
"value": {
"type": "string",
"description": "The value of the environment variable."
}
},
"required": ["name", "value"],
"additionalProperties": false
}
}
I am not sure how we can handle that.
Should we go a generic approach ? or a specific one for this use case. @garronej
Comte commented
A generic approach would be better
I guess all object inside items should respect all the usual field for injection x-onyxia, render like slider etc
Add a new item can be done with a + button obviously