VEuPathDB / web-eda

Web browser code for EDA-based applications
Apache License 2.0
0 stars 0 forks source link

listVars variable constraints #302

Open d-callan opened 3 years ago

d-callan commented 3 years ago

background: so for mbio we have an idea where for certain plot elements in certain plots (xaxis and facet in box plots, overlay and facet in scatter) we would like to let the user select up to 10 vars, so long as those vars represent the same data type. specifically for phase 1, we want the user to be able to choose up to 10 different vars representing taxonomic relative abundance. if we a) have the data service state which plot elements in which plots can do this and b) (to borrow an idea from jb) annotate the parent terms of eligible collections of vars then we could:

  1. when a user selected a child of one of the listVar annotated parents, constrain so the only remaining vars were other children of the same parent
  2. when a user selected a term not a child of one of the listVar annotated parents, dont let them pick any more terms.
  3. somehow explain this behavior?
d-callan commented 2 years ago

think this is no longer an mbio phase 1 concern.