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: Typing in a zip code and pressing return results in zero results #1935

Closed
fancyham opened this issue Dec 1, 2023 · 4 comments · Fixed by #1958
Closed

Bug: Typing in a zip code and pressing return results in zero results #1935

fancyham opened this issue Dec 1, 2023 · 4 comments · Fixed by #1958
Assignees
Labels
Feature: Usability Issues that make it easy for visitors to find the information they need quickly and easily P-Feature: Landing Page Food seeker landing page P-Feature: Map Food seeker map view Release Note: Bug Something isn't working (Shows on release notes under "Bug Fixes") Role: Design UI/UX User interface / user experience design Role: Front-end Front End Developer Sprint 05

Comments

@fancyham
Copy link
Collaborator

fancyham commented Dec 1, 2023

Describe the bug

Typing in a zip code and pressing return gives a location error / zero results.

Why? It seems we require that user manually select item from the auto-complete, but this is not normal user behavior.

This affects people using keyboards, and those who don't realize we require tapping an autocomplete item.

User's goal: is to have a system smart enough to figure out what they're looking for, like Google or Apple Maps.

Steps to reproduce the issue

  1. Go to foodoasis.net
  2. Type in a zip code "90011", press return
  3. You'll get 'Sorry, we don't have any results for this area.', but this is because the site didn't get a properly formatted address.

User will only get results from the address field if they pick something from the autocomplete menu.

What's the expected result?

The search results for 9011

What's the actual result?

"Sorry, we don't have any results for this area."

Additional details / screenshot

Demo of

  1. typing in 90011[return] -> no results
  2. typing in 90011[then selecting the only autocomplete result] -> results

(enable audio)
https://github.com/hackforla/food-oasis/assets/3376957/f0e79f4f-64a6-4f79-b0b3-ed5b723738f2

Suggested solution possibilities:

  1. If user types and presses return, then choose the first autocomplete option for them automatically. (this seems easiest to do)
  2. If user types in something, presses return, then display a dialog asking them to select an address from a list of autocompletes. (i.e. force them to select an autocomplete)
@fancyham fancyham added Release Note: Bug Something isn't working (Shows on release notes under "Bug Fixes") Role: Design UI/UX User interface / user experience design Role: Front-end Front End Developer P-Feature: Map Food seeker map view Feature: Usability Issues that make it easy for visitors to find the information they need quickly and easily P-Feature: Landing Page Food seeker landing page Ready for dev lead Issue ready for dev lead to review labels Dec 1, 2023
@fancyham
Copy link
Collaborator Author

fancyham commented Dec 1, 2023

From the design team to devs: can you just implement solution #1? (use the topmost autocomplete if the user hits 'return'). It may not be perfect but it'll solve most of the problem.

Longer term would be to have a more robust autocomplete system that includes organization names:

@entrotech
Copy link
Member

@fancyham Just realized that this seems to be a duplicate of #1679

@fancyham
Copy link
Collaborator Author

fancyham commented Dec 6, 2023

Might be but #1679 wouldn’t auto-complete at all when all five digits were typed, but now that seems to work — (I thought it was taken up by the devs?). The Return key issue seems the same, though.

@qiqicodes qiqicodes self-assigned this Dec 8, 2023
@hanapotski
Copy link
Contributor

this issue is also related > #1470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Usability Issues that make it easy for visitors to find the information they need quickly and easily P-Feature: Landing Page Food seeker landing page P-Feature: Map Food seeker map view Release Note: Bug Something isn't working (Shows on release notes under "Bug Fixes") Role: Design UI/UX User interface / user experience design Role: Front-end Front End Developer Sprint 05
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants