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

Design intuitive mode control for Circulars index #2866

Open
jracusin opened this issue Feb 3, 2025 · 7 comments
Open

Design intuitive mode control for Circulars index #2866

jracusin opened this issue Feb 3, 2025 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@jracusin
Copy link
Contributor

jracusin commented Feb 3, 2025

Description

Index/Group view buttons are not intuitive to users, and currently labels change.

Acceptance criteria

  • screenshots, drawings or other mockups 2-4 different control styles
  • control should have a label that does not use our internal jargon
  • control should have an icon for narrow/mobile view
  • control should have a stable footprint on page
  • label text should be stable to be 508 compliant

Notes

  • toggle buttons are implemented as segmented buttons elsewhere on site
  • USWDS component toggle-on/toggle-off
  • MUI icon set
@jracusin jracusin added the enhancement New feature or request label Feb 3, 2025
@jracusin jracusin added this to the Circulars Synonyms milestone Feb 3, 2025
@jracusin jracusin moved this to Open in GCN Feb 3, 2025
@jracusin jracusin added this to GCN Feb 3, 2025
@Courey Courey moved this from Open to In Progress in GCN Feb 6, 2025
@Courey
Copy link
Contributor

Courey commented Feb 6, 2025

Option 1

This is a prototype with even spacing, the same height for buttons, different text for the search box based on view, and a toggle with icons for the index/group view.

Image Image

Option 2

Ignore the spacing and everything else here, this one just shows an alternate icon for group view

Image

Option 3

Checkbox style beneath search bar

Image Image

Option 4

Select box
Image
Image

Please feel free to mix and match from different options.
I also need to know what words we want on the different options

@Courey Courey moved this from In Progress to In Review in GCN Feb 6, 2025
@lpsinger
Copy link
Member

lpsinger commented Feb 6, 2025

  1. This is my favorite. 👍
  2. That icon looks like it does sorting, not grouping. 👎
  3. Checkboxes should not be mutually exclusive. These are behaving more like radio buttons. 👎
  4. Takes up too much space. 👎

@Courey
Copy link
Contributor

Courey commented Feb 6, 2025

Here is option 1 with the circulars/events wording:
Image
Image

@Courey
Copy link
Contributor

Courey commented Feb 6, 2025

Also, here is all the buttons the same size as the search bar. Do you like them all small or normal sized?
Image

@lpsinger
Copy link
Member

lpsinger commented Feb 6, 2025

Small. Same size as the search bar.

Note that there are a few style inconsistencies here: the button corners are rounded differently.

@Courey
Copy link
Contributor

Courey commented Feb 7, 2025

Image

@lpsinger
Copy link
Member

lpsinger commented Feb 8, 2025

The height looks good, but there is an artifact at the border between the two segments of the button. If you open a PR I can take a look. I remember having seen those artifacts before. I don't remember how to fix it, but seeing the code may jog my memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Review
Development

No branches or pull requests

3 participants