Clinical-Genomics-Lund / bonsai

Visualize and analyze resistance and outbreak of bacterial pathogen
https://bonsai-wgs.readthedocs.io/en/latest/
4 stars 1 forks source link

/groups/edit: Make it easier to fill in the datatypes and JSON paths inputs #87

Closed alkc closed 8 months ago

alkc commented 11 months ago

Please describe your role and what you want to do

I want to be able to edit the datatypes and JSON paths without having to check the code/input data/documentation if the entered values are correct.

Describe the solution you'd like

I suspect the datatypes problem is easy by changing the input to a dropdown list or a text input with a <datalist>of allowed data types.

The JSON paths can perhaps be solved the same way, with a dropdown or a text input with autocomplete.

In the case a text input is retained for JSON rather than a fixed list of allowed values, we should add a small hint close to the input on the correct format of the JSON path.