Hacker News new | ask | show | jobs
by mygo 2900 days ago
you only designed and implemented for the happy path. when a user submits something that isn’t in your database absolutely nothing happens. a submit button would be a start, as well as some sort of “no results found”. Feedback is important to the user.
2 comments

Thanks for your feedback! I'll address this.
Also some form of typeahead prompt would be useful for a similar reason — for example: if one enters “bread”, being able to select the type of bread from a known list is helpful.
It's pretty hard because of the source data. I'll see what I can do about dividing search results into food categories.

Thanks for your feedback.

Done. :-)