Devographics / Monorepo

Monorepo containing the State of JS apps
surveyform-sigma.vercel.app
Other
124 stars 50 forks source link

Clarify behaviour of None in checkbox group => should clear up all data including follow ups #290

Open eric-burel opened 11 months ago

eric-burel commented 11 months ago

The "None" option of a CheckboxGroupSentiment component is slightly ambiguous, as the UX might not completely match the data model:

From UX standpoint:

image

From data model standpoint:

This leads to scenarios like this, where you have a positive opinion of buttons, yet said you used none of those elements.

image

The current behaviour might be the right one, but I feel like treating sentiment as a generic followup may be weird. But perhaps "None" should be handled more "aggressively" and remove all follow-ups?

SachaG commented 11 months ago

I think "none" should probably clear all follow-ups as well.