bugy / script-server

Web UI for your scripts with execution management
Other
1.59k stars 247 forks source link

parameters - name - colour #634

Closed antonellocaroli closed 1 year ago

antonellocaroli commented 1 year ago

Hi @bugy ,

do you think it would be possible in the future to assign a specific colour to the parameter name? directly in the json file? so that specific colours can be assigned to certain names so that they can be associated with each other? i.e. the parameters of these colours belong to the same 'family/category'.

I don't know if I have explained myself well.

bugy commented 1 year ago

Hi @antonellocaroli could you share the use case please, why do you need it? I don't get the idea of this feature

antonellocaroli commented 1 year ago

actually I don't know if it is strictly necessary, but I thought so in this situation:

basic parameters: par1,par2,par3 enable advanced parameters1: par4 subsequent parameters belong to advanced1: par5,par6,par7 enable advanced parameters2: par8 subsequent parameters belong to advanced2: par9,par10,par11 etc

par1.2.3 of a colour par4,5,6,7 of another colour par8,9,10,11 of another colour

bugy commented 1 year ago

If you would have all these parameter groups on separate lines, won't it be enough for a user to distinguish it? Or may be even having a line separator between those.

To be honest, I think using different colors on UI doesn't look great

antonellocaroli commented 1 year ago

If you would have all these parameter groups on separate lines, won't it be enough for a user to distinguish it? Or may be even having a line separator between those.

of course this would be great and even better

antonellocaroli commented 1 year ago

For me this topic is closed, given this implementation.

https://github.com/bugy/script-server/issues/182