-
Notifications
You must be signed in to change notification settings - Fork 14
Add selects with images #347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@lognaturel I've started to flesh this one out and added some questions to figma. I'm worried that adding more than 5 images when you have a label and button will be pushing it. I think we could squeeze 7 for selects without buttons. I didn't include likert, but I assume that's out of scope for this one. |
That's right. |
@lognaturel @latin-panda - I updated the epic. Please edit if I've missed something! @latin-panda we may want to break this up into sub issues. Maybe we can pair on that so I break them down into manageable slices or you can take a pass? I want to expand on some of the points in the additional notes section, but I'll do that in slack so we can determine next steps. |
Thanks @alyblenkin; since the user stories and UIUX are clear, we can split the EPIC once we work on it. |
Do you think we should create a separate issue for when images don't load? |
I think it's part of this work, it's okay to leave it here |
Engine is ready, still working in the front-end |
Uh oh!
There was an error while loading. Please reload this page.
Description
Add selects with images
Checklist
User Story
I want add selects with images with different appearances
so that so that data collectors can have a visual reference when selecting choices.
Appearances for select one/multiple
Use columns appearance when no appearance is specified
Figma link
Grid: columns appearance
Same as the new default for no appearance above
Figma link
Grid: columns-pack appearance
Try to accommodate as many options as possible in a single line as possible per device and scales down accordingly per screen size. For users who want to conserve space to prevent the user from scrolling to see more options. Not ideal for accessibility.
Figma link
Grid: columns-n appearance
Users can decide the number of columns and enforce that number (2, 3, 3+), but it caps at 10.
Figma link
Images, no buttons
No formal button in the label area, but the option is highlighted with a tick in the corner. The user can tap anywhere on the image.
Figma link
Long label
We don't want to truncate information so the box will keep expanding. Other options should also expand so everything in that row should be the same height.
Figma link
Disabled state
Images should still be partially visible with 60% opacity for the images with disabled text styles.
Figma link
Loading images
When images take longer to load, the user will see a visual placeholder of the content, so they know something is happening. The label will still be visible.
Figma link
Broken image
If the image is unable to load, the user sees a image icon with a slash through it.
Figma link
Dependencies
Additional Notes
Related Issues
The text was updated successfully, but these errors were encountered: