On the landing page and on the map screen, if you type in or paste an address and hit return (submit form) before the autocomplete appears, the search fails and user incorrectly gets “Sorry, we don’t have any results for this area”. Also note that the location field is blank again — ideally we should leave what they typed in the field, or display it in the error.
The problem seems to be that the autocomplete doesn’t have a chance to respond.
Also, this problem also seems to happen if someone has a slight misspelling.
The user’s goal is to enter an address, and to get meaningful feedback when there is an error so that the can re-try or make a correction.
[ ] Add a meaningful error message 'Sorry, we don’t have any results for “[what they typed]” [because you typed too fast. Please try again./because that address doesn’t exist/because we couldn’t find that address]
[ ] Consider re-trying the search automatically — clicking “Click here to reset search” seems to get results, even though nothing else changed — or find another solution that lets the system to catch up to the user?
[ ] Change button to “Click here to retry search” if that’s what it really means.
[ ] Consider putting what the user typed back into the location field (notice that it’s currently blank after I had entered an address on the previous step)
Steps to reproduce the issue
Go to foodoasis.la
Paste in an address and hit return immediately, as fast as possible (before autocomplete has a chance to respond)
What happens
You will see an error message that makes it look like we don’t have listings in that area, even if we actually do.
What's the expected result?
The accurate results for that address
Device configuration
Device: Mac
OS version: Mojave (10.14) which is several years out of date
Describe the bug
On the landing page and on the map screen, if you type in or paste an address and hit return (submit form) before the autocomplete appears, the search fails and user incorrectly gets “Sorry, we don’t have any results for this area”. Also note that the location field is blank again — ideally we should leave what they typed in the field, or display it in the error.![image](https://github.com/hackforla/food-oasis/assets/3376957/7f3a1b2b-73ad-40fe-b3cd-aa33a390a693)
The problem seems to be that the autocomplete doesn’t have a chance to respond.
Also, this problem also seems to happen if someone has a slight misspelling.
The user’s goal is to enter an address, and to get meaningful feedback when there is an error so that the can re-try or make a correction.
Steps to reproduce the issue
What happens
You will see an error message that makes it look like we don’t have listings in that area, even if we actually do.
What's the expected result?
The accurate results for that address
Device configuration