langcog / web-cdi

7 stars 5 forks source link

(suggestion/request) likheart/radio buttons for agree-disagree questions #320

Closed JMankewitz closed 3 years ago

JMankewitz commented 3 years ago

Is it too painful to implement a likheart scale for the agree-disagree and how often questions for the centiment demographics (instead of a dropdown)?

Something like https://pypi.org/project/django-likert-field/

Or radio buttons (preferably horizontal)

https://stackoverflow.com/questions/5935546/align-radio-buttons-horizontally-in-django-forms

HenryMehta commented 3 years ago

This shouldn't be difficult to apply as long as @vmarchman confirms this is how she wants to proceed. I suggest we hold off for the pilot study, like some of the other elements, to ensure you can proceed this week. I don't want to apply more than needed because of the additional error risk

vmarchman commented 3 years ago

ok - I agree that the dropdowns are not ideal, but workable for now. Thanks @HenryMehta

vmarchman commented 3 years ago

I agree that the dropdowns are not ideal and would prefer the other format in the long run. But, I don't think it makes that much difference for a pilot.

On Tue, Jan 26, 2021 at 11:56 PM Henry Mehta notifications@github.com wrote:

This shouldn't be difficult to apply as long as @vmarchman https://github.com/vmarchman confirms this is how she wants to proceed. I suggest we hold off for the pilot study, like some of the other elements, to ensure you can proceed this week. I don't want to apply more than needed because of the additional error risk

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/langcog/web-cdi/issues/320#issuecomment-768105908, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2TUTEHVBB4GBTYYEQQRQDS37BLNANCNFSM4WULFFOQ .

vmarchman commented 3 years ago

@HenryMehta Sorry, but consensus is that it is really important to have the responses to the new questions be a likert scale with radio buttons, rather than a drop down. We are willing to wait for that fix. Hopefully, it won't be too hard to implement.

HenryMehta commented 3 years ago

@vmarchman @JMankewitz This has proven significantly more difficult than I anticipated. https://pypi.org/project/django-likert-field/ is 5 years old and doesn't work with Django 2. I have been able to amend it so it creates the right structures, but I cannot get it to provide a star rating system.

I've also spent some time looking at these packages https://djangopackages.org/grids/g/rating/. These basically only apply 1 rating per model (rather than per question) so I cannot use this to apply the star ratings. I've there just moved to Radio Select buttons and implemented that.

Deploying now - I hope it is ok