-
Notifications
You must be signed in to change notification settings - Fork 3k
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-07-14] [$1000] Web - Country field does not autofill for certain addresses. #21520
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
I can reproduce this. But it seems like it only happens when you type in the specific address Part of me wonders if this has something to do with the data we're getting from the API for this address, which prevents auto-filling? Regardless, it is reproducible, so we should fix (as long as this isn't an issue with the address API that we have no control over). |
Job added to Upwork: https://www.upwork.com/jobs/~014d5d43c97434907d |
Current assignee @joekaufmanexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
@joekaufmanexpensify This seems like address API response data issue. Adresses are fetched from |
@nishancx Thanks for confirming! Is that something we can update on our end. Or just an issue related to the API we use (over which we have no control). |
Hello, @joekaufmanexpensify. I think this is an issue in google place data. So we have to find a solution not to show such addresses in google place autocomplete component. |
Hm, got it. If this is an issue with the google API data, then I'm not sure we should do anything. I think we'd rather have an address not auto-complete, than remove an address that exists from the search results. Curious if you agree @mollfpr ? |
@joekaufmanexpensify The response from Google API only returns the type of App/src/components/AddressSearch/index.js Lines 143 to 145 in 52a1891
We can get the country name from the autocomplete fallback and get the country's short-name by searching it on |
@mollfpr Got it, thanks! In that case, it sounds like this is something we can fix. Is that right? If so, then let's keep this open for proposals. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Country field does not auto-fill for certain addresses (eg. Bangladesh Border Road) What is the root cause of that problem?This seems like address API response data issue. Addresses are fetched from What changes do you think we should make in order to solve the problem?We are fetching country with |
Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Looks good to me! |
📣 @mollfpr You have been assigned to this job! |
📣 @nishancx 🎉 An offer has been automatically sent to your Upwork account 🎉 Contributor - [$1000] Web - Country field does not autofill for certain addresses. Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻 |
Offer accepted. |
@francoisl @mollfpr @joekaufmanexpensify I have finished everything except testing with high traffic account, I have requested for my account (nishancx@gmail.com) to be converted to high traffic account in #expensify-open-source and I'm waiting for the request to go through. |
Fix: Web - Country field does not autofill for certain addresses. #21520
@kavimuru please update the "Issue reported by:" with my GH Handle |
@francoisl, @mollfpr, @nishancx, @joekaufmanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Not overdue. PR is in review. |
The PR is already deployed to production. |
Sure @francoisl, thank you. |
When should I submit work in upwork right now or after 7 days regression period? Also, if no regressions happen, this should be eligible for bonus right? Since PR got merged within 3 days, 23 hours with weekend in between and without counting weekend it got merded within 1 day, 23 hours of accepting proposal. |
Yep, we'll send an offer in upwork soon. We'll issue payment on 2023-07-14. And then this does qualify for a speed bonus. That will be added when we issue payment! |
Manually creating BZ checklist, since the automation did not work here: 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:
|
@mollfpr could you please complete your portion of the BZ checklist when you have a sec? Thanks! |
@mollfpr offer sent for $1,000 (We'll issue $500 as bonus during payment)! |
@usmantariq96 offer sent for $250! |
@joekaufmanexpensify offer accepted. |
Bumped BZ checklist in Slack. On track to issue payment tomorrow! |
No offending PR is causing the issue. We were unaware there was a result from Google API that doesn't have a country value. So this is an improvement we made to handle that.
This is a one-time bug, so the regression test should be enough.
|
👍 for the regression steps (and the rest too) |
Great, thanks! I updated the BZ checklist with that information. I also created a regression test issue and linked it above. |
BZ checklist is complete. All set to issue payment here! |
@nishancx $1,500 sent and contract ended! |
@mollfpr $1,500 sent and contract ended! |
@usmantariq96 $250 sent and contract ended! |
Upwork job closed. |
Bug is fixed, BZ checklist complete, and all payment issued. Closing as this is all set. Thank you everyone! |
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:
1.Open your profile.
2.Click on "Settings".
3.Click on "Personal Details".
4.Click on "Home Address".
5.Notice that when selecting an address from the options menu, the country field is not automatically filled.
Expected Result:
The Country field should be auto filled, similar to when the user selects other addresses.
Actual Result:
The Country field is not auto filled for certain addresses.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.32-5
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: Any additional supporting documentation
Bug.mp4
Recording.2263.mp4
Expensify/Expensify Issue URL:
Issue reported by: @usmantariq96
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687237650003769
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: