Skip to content
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

Survey Task: Choices and ChoiceButton styling updates #6238

Open
5 tasks
seanmiller26 opened this issue Aug 27, 2024 · 3 comments · May be fixed by #6494 or #6574
Open
5 tasks

Survey Task: Choices and ChoiceButton styling updates #6238

seanmiller26 opened this issue Aug 27, 2024 · 3 comments · May be fixed by #6494 or #6574
Assignees
Labels
design Design and/or UX enhancement New feature or request

Comments

@seanmiller26
Copy link
Contributor

seanmiller26 commented Aug 27, 2024

Package

Choose from the list:

  • app-content-pages
  • app-project
  • [ x ] lib-classifier
  • lib-panoptes-js
  • lib-react-components
  • unknown

Is your feature request related to a problem? Please describe.

Changing the animal choice designs to be more intentional and future-proof. This also addresses mobile friendliness.

Describe the solution you'd like

There are three display options for a survey task: 1 column, 2 columns, or 3 columns, with or without a thumbnail.

1 column styling:
A consistent cell size of 60px H x 500 W. 16pt font. This stretches the full width of the task area.

Screenshot 2024-09-05 at 1 12 28 PM

2 column styling:
A consistent cell size of 60px H x 250px W. 16pt font. Each line should alternate between a #FFFFFF fill and a #EFF2F5 fill.

Screenshot 2024-09-05 at 12 17 09 PM Screenshot 2024-09-05 at 12 17 15 PM Screenshot 2024-09-05 at 12 32 45 PM

3 column styling:
Cell size of 60px H x 166px W. 14pt font. Each line should alternate between a #FFFFFF fill and a #EFF2F5 fill.

Screenshot 2024-09-05 at 12 14 42 PM Screenshot 2024-09-05 at 12 15 35 PM Screenshot 2024-09-05 at 12 31 23 PM

No thumbnail:
Screenshot 2024-09-05 at 12 30 07 PM

Figma for reference https://www.figma.com/design/ASqNlLhicNRzEDhYDA2t8j/Survey?node-id=0-1&m=dev&t=PxDxXDB67AH8V9Aa-1

Tied closely with #6237

@seanmiller26 seanmiller26 added enhancement New feature or request design Design and/or UX labels Aug 27, 2024
@mcbouslog mcbouslog self-assigned this Sep 5, 2024
@seanmiller26 seanmiller26 changed the title Survey Task: styling updates Survey Task: 'choice' styling updates Sep 5, 2024
@mcbouslog mcbouslog changed the title Survey Task: 'choice' styling updates Survey Task: Chooser and ChoiceButton styling updates Sep 6, 2024
@mcbouslog mcbouslog changed the title Survey Task: Chooser and ChoiceButton styling updates Survey Task: Choices and ChoiceButton styling updates Nov 26, 2024
@goplayoutside3
Copy link
Contributor

@seanmiller26 some thoughts about projects that select not to show thumbnails in their survey task choice buttons.

The screenshot in this Issue description shows the choice buttons at the same height as when they have thumbnails. I previously expressed concern about this design choice and I want to bring it up again. I think the large button design is going to degrade the user experience for projects that have selected to hide thumbnails so that their task area fits nicely in a volunteer's device screen.

Here's an example of Squirrel Mapper on production, on a 14in Macbook:
Screenshot 2024-12-18 at 11 22 16 AM

Here's the same exact workflow using the new design on #6494 branch. I now have to scroll the screen every classification.
Screenshot 2024-12-18 at 11 22 33 AM

I also see in #6494 that no-thumbnail choice buttons have a shorter height on mobile-sized screens. Can we do the same for all screens when a project has decided not to show any thumbnails?
Screenshot 2024-12-18 at 11 23 08 AM

@seanmiller26
Copy link
Contributor Author

Thank you for bringing this back up. Good to address it at this stage.

Here is a mock up of our options, including the current 60px h on the left.
image

40px is the recommended smallest touch target. I'm fine with that option as long as the text (especially 2 lines) doesn't seem too tight.

I also spotted a missing styling detail here. The cells of a choice with no thumbnail should have a subtle stroke of #E2E5E9. Very important for legibility.

@seanmiller26
Copy link
Contributor Author

@mcbouslog Decisions from today's meeting:

When a subject and task start to stack, change the columns to be responsive and fit to width, 3 columns, evenly sized. At 768 (mobile size), switch to 2 columns, fit to width, and even. The minimum width of a choice button is 166px. If that size is reached, switch to 1 column - this is an edge case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment