glpi icon indicating copy to clipboard operation
glpi copied to clipboard

feat(forms): Adding dropdown category and related sub question type

Open ccailly opened this issue 1 year ago • 1 comments

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets

Added Dropdown category and related sub-question type : Dropdown

Form editor view : image image

Form end user view : image

ccailly avatar May 15 '24 13:05 ccailly

(opinion based on the provided screenshots) I feel the design choice when checking multiple flag to switch between radio or checkboxes for options lead to a bad understanding. At least it took a few seconds to understand the options will be displayed in a real dropdown. I almost made a comment about why call it dropdown.

I think in this particular case, you should not decorate options at all. More, there is the drag icon, so 2 icons on the left of the options

Ideas for alternative ux:

  • select2 tokenisation (may not work without multiple select)
  • modal with a [new option] link right to the dropdown
  • keep the same design (without decoration), but make options list like it's the dropdown opened (check this link)

orthagh avatar May 22 '24 14:05 orthagh

Capture d’écran du 2024-05-30 11-29-49

ccailly avatar May 30 '24 09:05 ccailly

image

ccailly avatar Jun 11 '24 08:06 ccailly

@AdrienClairembault @orthagh Is this OK for you now?

cedric-anne avatar Jun 11 '24 09:06 cedric-anne