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

Add a proper search results page #112

Open
ellenhp opened this issue Aug 23, 2022 · 2 comments
Open

Add a proper search results page #112

ellenhp opened this issue Aug 23, 2022 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@ellenhp
Copy link
Member

ellenhp commented Aug 23, 2022

Right now we only hit the pelias autocomplete endpoint which doesn't perform interpolation, among other issues. Letting users press enter to see an actual search result page would give us the opportunity to hit the search endpoint and get additional address coverage that way.

@ellenhp ellenhp added the enhancement New feature or request label Aug 23, 2022
@ellenhp ellenhp added this to the Release 0.1 milestone Aug 28, 2022
@kresp0
Copy link
Contributor

kresp0 commented Sep 10, 2022

Can we make it so that when the user press enter, if the first result has a high enough confidence score, the "To" is filled?
Or maybe fill it unconditionally with the first result, not sure.
It would be an effect similar to when a route search is made: select the first result and show the others below in another style.

@ellenhp
Copy link
Member Author

ellenhp commented Sep 10, 2022

I would prefer to show a search results page filled with all of the options returned from the Pelias search endpoint. Right now we're only using the autocomplete endpoint which leads to some problems. The search endpoint is tolerant of misspellings and is capable of doing address interpolation which is very important in some parts of the world with poor address coverage.

In the future though we'll also want to allow users to use the arrow keys to navigate the autocomplete suggestions, which should at least partially satisfy your request. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants