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

For packaging shapes and materials, display autocomplete suggestions without having to type the first character #3748

Closed
stephanegigandet opened this issue Feb 28, 2023 · 1 comment · Fixed by #3750
Assignees
Labels
✨ enhancement New feature or request

Comments

@stephanegigandet
Copy link
Contributor

stephanegigandet commented Feb 28, 2023

Reported by @thomas-algo in #3744

Packaging shapes and materials suggestions are listed by popularity, and the first suggestions cover a big percentage of the products, so it makes a lot of sense to display the suggestions without having to type the first character, especially if we pass the product category, and/or the shape as offered by openfoodfacts/openfoodfacts-dart#695

See also #3749

@stephanegigandet
Copy link
Contributor Author

Note that at this time, suggestions are ordered by popularity only for packaging shapes and materials, so we should not do this for other taxonomies, as otherwise we would get suggestions in alphabetic order. For other suggestions, it makes sense to wait for at least 1 character.

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

Successfully merging a pull request may close this issue.

2 participants