ReproNim / reproschema-ui

UI to render ReproSchema based protocols and assessments.
https://www.repronim.org/reproschema-ui/
Other
3 stars 18 forks source link

ranking items #251

Open danielmlow opened 3 years ago

danielmlow commented 3 years ago

@sanuann @satra

We have this activity where your supposed to rank the items. With the current UI, all I can think of is making each bullet point an item like "Other, please specify" ones we have. But that's rather clunky.

Any alternatives closer to what we need?

https://docs.google.com/document/d/1CaU13ALgn0i1QQqrLPyy881sDfpFrJkJ0o5Uva9FgqM/edit?usp=sharing

Thanks!

satra commented 3 years ago

for this study, shouldn't those questions be in the consent process or some other feedback setting rather than assessment?

regarding ranking or ordering, this would require a different widget and would have to be limited to a specific number of items.

danielmlow commented 3 years ago

Redcap also does not allow drag items in order. So I'll just include it in the protocol and have people enter the integer one item at a time like its outline in the google doc above.

danielmlow commented 3 years ago

@sanuann there is a multi-slider inputType? Or is this something to be implemented?

sanuann commented 3 years ago

@sanuann there is a multi-slider inputType? Or is this something to be implemented?

to be implemented. perhaps @djarecka can take a stab at this when she is ready.

djarecka commented 3 years ago

Are you still talking about the ranking orders? I've google multi-slider inputType and it seems to me to be something else. Could you please send an example so I'm sure that we are on the same page

sanuann commented 3 years ago

Are you still talking about the ranking orders? I've google multi-slider inputType and it seems to me to be something else. Could you please send an example so I'm sure that we are on the same page

we are using https://www.npmjs.com/package/vue-slider-component for the slider widget. For a ranking type question, a multi-slider is just one way to implement a widget for ranking questions.

Also FYI, we use the inputType in the schema file of each item to render the corresponding widget. So, maybe create a new inputType "ranking" or "multislider" and then create a new widget with multiple sliders.