piling.js icon indicating copy to clipboard operation
piling.js copied to clipboard

Create a UI for parameterizing the piling config

Open flekschas opened this issue 6 years ago • 1 comments

This is related to #46 and #47

Once we can import/export the piling config and we have defined the properties of the piling config we can easily build a UI for exploring the parameter space.

To do this efficiently, we can loop over the JSON schema and depending on the data type generate UI elements.

For example:

  • for numerical values, we can create a slider
  • for short string values, we can create a 1-line text input element
  • for long string values, we can create a text area
  • for categorical string values with 3 or fewer categories, we can create radio buttons
  • for categorical string values with 4 or more categories, we can create a drop-down menu
  • for boolean values, we can create a checkbox

flekschas avatar Nov 14 '19 16:11 flekschas

Partially addressed in #51

flekschas avatar Jan 08 '20 15:01 flekschas