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

Feature request: when adding new grocery item, put exact text as first suggestion instead of last suggestion #637

Open
johnpaulwelsh opened this issue Jan 28, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@johnpaulwelsh
Copy link

What's the feature 🧐

When adding a new grocery item with the search bar at the top, if the item is not already known in the app then it gives a big list of suggested items, and then at the very bottom it shows what I actually typed.

For obvious typos this makes sense: if I wanted to add "Chicken" but I accidentally typed "Chiken", the first three suggestions are "Chicken breast", "Chicken wings", and "Chicken broth" which are all reasonable suggestions. But if I type "Pepsi" which is a correctly-spelled word that the app just doesn't know about yet, then the first three suggestions are "Persian rice", "Pepper", and "Peppers". At the bottom of the list, as the 12th suggestion, is the word "Pepsi" which is what I typed.

Perhaps you could put the exact-typed text as the first suggestion, and then a separator line, and then all the other suggestions. Or you could highlight the suggestions differently than the "this is what you typed" option. Similar to how you display the search results for a grocery item that's already in a list: for example when I search "Pepsi" and it's already in my shopping list, it shows "Pepsi" at the top with a checkmark and different background highlighting to indicate that I already have that one.

Extra information and references

Using Android app version 0.6.8 downloaded through F-Droid, but I'm sure this behavior happens for the web app and iOS too.

@johnpaulwelsh johnpaulwelsh added the enhancement New feature or request label Jan 28, 2025
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
None yet
Development

No branches or pull requests

1 participant