-
Notifications
You must be signed in to change notification settings - Fork 53
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
Nearby View: Add Location Field Search #1320
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!!! Found some opportunities for cleanup, also looks like there might be a few type errors
...nearbyViewCoords, | ||
name: reversedPoint | ||
}} | ||
LocationIconComponent={() => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah these might both be otp-ui issues!
These were some beautifully excellent catches thank you! All resolved |
# Conflicts: # lib/components/viewers/nearby/nearby-view.tsx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for the changes (and sorry for how long it took me to look at them)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@@ -401,6 +401,7 @@ components: | |||
headsign: "{destination}" | |||
nearbyListIntro: Liste de {count} entités à proximité. | |||
nothingNearby: Aucun lieu à proximité. | |||
searchNearby: Search nearby... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this get flagged for wrong translation on weblate? I assume this was put here to pass the CI tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fingers crossed!
Adds a location field search field to the nearby view. There are still some styling concerns, and the current location issue is annoying as well. Would be nice to get that fixed.
Should we have it try to render a string on first load? If we did that then the placeholder text would never appear and that's why I'm against it.
Should we add using this thing to the Percy tests?