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

Bug: Entering an address into the location field and hitting ‘return' quickly breaks search #2129

Open
4 tasks
fancyham opened this issue Apr 22, 2024 · 0 comments
Labels
dev Code Development Priority - Low Optional: Recommended if time permits Release Note: Bug Something isn't working (Shows on release notes under "Bug Fixes")
Milestone

Comments

@fancyham
Copy link
Collaborator

fancyham commented Apr 22, 2024

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

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

  1. Go to foodoasis.la
  2. 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
  • Browser: Safari
  • Browser Version: 14.1.2
@fancyham fancyham added Release Note: Bug Something isn't working (Shows on release notes under "Bug Fixes") Priority - Low Optional: Recommended if time permits labels Apr 22, 2024
@fancyham fancyham changed the title Bug: Quickly typing in a zip code into location field and hitting return breaks search Bug: Typing or pasting an address into location field and hitting return quickly breaks search Apr 22, 2024
@fancyham fancyham changed the title Bug: Typing or pasting an address into location field and hitting return quickly breaks search Bug: Entering an address into the location field and hitting ‘return' quickly breaks search Apr 22, 2024
@fancyham fancyham added this to the Bug fixes milestone Jul 20, 2024
@fancyham fancyham added the dev Code Development label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev Code Development Priority - Low Optional: Recommended if time permits Release Note: Bug Something isn't working (Shows on release notes under "Bug Fixes")
Projects
Status: Prioritized Backlog
Development

No branches or pull requests

1 participant