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

Contexts filter is difficult to use with large sites #1408

Open
iandunn opened this issue Feb 17, 2023 · 0 comments
Open

Contexts filter is difficult to use with large sites #1408

iandunn opened this issue Feb 17, 2023 · 0 comments

Comments

@iandunn
Copy link

iandunn commented Feb 17, 2023

Problem

The Show all Contexts dropdown list is difficult to navigate when there are a large number of items, because of how small it is. Only 5 entries are visible at a time, but one site I work on has 1,036 total.

That's ok if I already know exactly what I want, since I can just search for it. If I want to explore what the available contexts are, though, or if I can't remember the exact term, then I have to scroll through the list. Many of the parent contexts have more than 5 children, so it can sometimes be difficult to see which parent a child context belong too.

Potential Solutions

  1. Make the dropdown list bigger. Increasing the height, and/or using columns would allow for many more entries to be shown at once.
    .select2-dropdown {
    -width: 100%;
    +width: 50vw;
    }
    
    .select2-container--default .select2-results > .select2-results__options {
    -max-height: 200px;
    +max-height: 75vh;
    +columns: 2;
    }
  2. Move the parent contexts to a separate dropdown menu. The user would first choose a parent, and then that would populate the list of child contexts.
  3. Redesign the entire UI with large sites in mind. I don't know exactly what that would look like, but I'm sure a designer would have some ideas.

I think 3 might be ideal, but 1 is probably the easiest and most practical. 2 could also work, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant