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

empty list in facet value selector #1949

Open
simpian opened this issue Dec 23, 2022 · 4 comments
Open

empty list in facet value selector #1949

simpian opened this issue Dec 23, 2022 · 4 comments

Comments

@simpian
Copy link
Contributor

simpian commented Dec 23, 2022

Is your feature request related to a problem? Please describe.
Since version 1.9.0, facet value selector will return an empty list if no keyword is entered. This is not use friendly when we try to find and select a list of facets for products when we don't know the exact keyword to search, hence user needs to open the facet list page on a separate tab and use the keyword they see to search for the facet. Users are complaining this is not user-friendly.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Can we please show the list of facets like we did before the changes from 1.9.0? Or we have a flag that returns this list when true.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
No other alternative right now, other than falling back to version 1.8.5

Additional context
Add any other context or screenshots about the feature request here.

@michaelbromley
Copy link
Member

Thanks for the report. The reason for the change in v1.9 is that, when there are lots of facets/values (e.g. one of our own projects has hundreds), eager-loading them for the selector widget because a noticable drag on the UI, which is why we switched to lazy-loading based on filter term.

But I can totally see why this could be a UX regression if the user doesn't have a clear idea of what to start typing.

I'll have to think of how we can solve both issues at the same time.

@michaelbromley
Copy link
Member

@simpian I'm experimenting with a way to handle this whilst keeping the performance gains of the lazy-loading. How about if the user presses the "down" arrow key to trigger loading all facet values?

By the way, how many individual facet values do you have in your project?

@simpian
Copy link
Contributor Author

simpian commented Jan 5, 2023

hi Michael, thanks for following up!

I have about 300 facet values in my project.

I'm wondering if it is possible to load all facets only when you click on the arrow from the dropdown.
image

when users are going to pick a facet, they likely will be using mouse to navigate, and it is natural for them to use mouse to click on the arrow and then see the whole list loaded, and scroll to find the facet they want to use.

let me know if this is possible, thanks!

@dlhck dlhck added this to the v3.2.0 milestone Sep 27, 2024
@dlhck
Copy link
Collaborator

dlhck commented Sep 27, 2024

Could be resolved together with #2903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📅 Planned
Development

No branches or pull requests

3 participants