Skip to content
This repository was archived by the owner on Feb 28, 2022. It is now read-only.
This repository was archived by the owner on Feb 28, 2022. It is now read-only.

An address input box for your location #400

@joyce-chen

Description

@joyce-chen

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions