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

Update start/end input text to reflect geocoding #379

Merged
merged 1 commit into from
Aug 31, 2024
Merged

Conversation

graue
Copy link
Contributor

@graue graue commented Aug 27, 2024

Purpose: Mitigate bad geocoding like in issue #230 where typing an address like "250 Howard Street" results in a generic result for just "Howard Street."

How it works today: If you click on a geocoded result from the dropdown, the input text gets replaced with a description of that geocoded result. But if you type something and hit Return, your typed text stays unchanged, giving no indication of what result was found.

What this commit changes: Typing something and hitting Return will also replace your input text with a description of the geocoded result.

Future work: Fix Photon not to return results at all if they fail to match part of what you typed (or flag such results as inexact). Get better address data into our geocoder.

Purpose: Mitigate bad geocoding like in issue #230 where typing an
address like "250 Howard Street" results in a generic result for just
"Howard Street."

How it works today: If you click on a geocoded result from the dropdown,
the input text gets replaced with a description of that geocoded result.
But if you type something and hit Return, your typed text stays
unchanged, giving no indication of what result was found.

What this commit changes: Typing something and hitting Return also
causes your input text to be replaced by a description of the geocoded
result.

Future work: Fix Photon not to return results at all if they fail to
match part of what you typed (or flag such results as inexact). Get
better address data into our geocoder.
@graue graue merged commit 2803c18 into main Aug 31, 2024
3 checks passed
@graue graue deleted the graue/geocode-describe branch August 31, 2024 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants