You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 28, 2022. It is now read-only.
There should be an input box for the user's desired starting location. The user can type in an address as their location so that the "sort by distance" feature can be more versatile.
Current Behavior
Currently, the site prompts location access. If the user allows location access, the site updates each listing with "Distance from your location:". If they do not, the "sort by distance" feature isn't useful until the user refreshes the page.
Possible Solution
The input box can be above the "Sort by" drop-down. If the user allows location access, the box can say "My location". If they don't, the box can have some placeholder text like "Add a starting location". The input box would have autocomplete address suggestions based on what the user is typing.
Context
It would be useful for people who aren't currently at the location that they want the closest listing to, or for someone to add a location after dismissing the location access prompt without having to refresh the page.
Expected Behavior
There should be an input box for the user's desired starting location. The user can type in an address as their location so that the "sort by distance" feature can be more versatile.
Current Behavior
Currently, the site prompts location access. If the user allows location access, the site updates each listing with "Distance from your location:". If they do not, the "sort by distance" feature isn't useful until the user refreshes the page.
Possible Solution
The input box can be above the "Sort by" drop-down. If the user allows location access, the box can say "My location". If they don't, the box can have some placeholder text like "Add a starting location". The input box would have autocomplete address suggestions based on what the user is typing.
Context
It would be useful for people who aren't currently at the location that they want the closest listing to, or for someone to add a location after dismissing the location access prompt without having to refresh the page.