-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2023-04-12] [$2000] City and State doesn’t populate for the address I-80 but works well with other address like I-35 , I-40, I-70 #15753
Comments
Triggered auto assignment to @arielgreen ( |
Bug0 Triage Checklist (Main S/O)
|
Note that even for other ones (e.g., I-35), it doesn't populate zip. |
Job added to Upwork: https://www.upwork.com/jobs/~0195f9f8aaab8dc5c1 |
Current assignee @arielgreen is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
Triggered auto assignment to @francoisl ( |
Please re-state the problem that we are trying to solve in this issue.The users address is not populating when you use the auto-completion from Google. What is the root cause of that problem?The root cause of this is due to the backend server not returning an address. This is not an issue with the frontend application. |
📣 @sshere! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.Setting address I-80 (Interstate 80) doesn’t populate the addresses (city, state, ...) as per the Google Places Autocomplete What is the root cause of that problem?The root cause is:
For more information please refer to Google's response here: https://issuetracker.google.com/issues/35823492#comment2 What changes do you think we should make in order to solve the problem?To fix this, we need to use the Google's place autocomplete information as a fallback in case the Place Detail does not have that information. The response from Google Autocomplete is quite structured so we can retrieve the state and city using the following logic:
in App/src/components/AddressSearch.js Line 85 in 4a172c9
The App/src/components/AddressSearch.js Line 157 in 4a172c9
There might we wild result format returned from Google Autocomplete for countries other than the US, if we're not sure we can limit the above fallback logic to addresses in the US. It will improve the user experience. What alternative solutions did you explore? (Optional)NA ResultWorking well after the fix: Screen.Recording.2023-03-11.at.12.40.30.mov |
@sobitneupane sure, the structure of the address within the US is very consistent as I observed. I agree my solution will be the last one to be considered if there's no other perfect solution. |
I'd be ok with this solution, though it sounds like it wouldn't work very well for all non-US addresses. Looking at the Alternatively, we could use this fallback solution only if the predicted country is |
@francoisl yes we can do this as well. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.94-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-04-12. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
I filled out most of the checklist above. For the regression test steps, we can use this comment @arielgreen. |
@tienifr @sobitneupane @priya-zha, please apply for this posting on Upwork asap so I can send payment |
@arielgreen I’ve applied, thanks! |
@arielgreen Submitted the proposal. Thanks |
@arielgreen Proposal Submitted. |
@arielgreen are we all set here with payments and the regression steps issue? |
@francoisl, @sobitneupane, @arielgreen, @tienifr Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@arielgreen friendly bump ^ |
@priya-zha @tienifr paid, apologies for delay |
Just waiting on @sobitneupane to accept, then everything here is done and we can close. |
@arielgreen Accepted the offer. |
All payments made, we are set here. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Setting address I-80 (Interstate 80) should populate the addresses as per the recommendation
Actual Result:
Setting address I-80 (Interstate 80) doesn’t populate the addresses as per the recommendation
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.80-1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
address.mp4
Recording.1650.mp4
Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1678254121686449
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: