-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[$250] mWeb - Create expense from distansce "use current location" get a big delay about 20s #55137
Comments
Triggered auto assignment to @mallenexpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
App/src/components/AddressSearch/index.tsx Line 261 in c98f805
This updates the App/src/components/AddressSearch/index.tsx Line 491 in c98f805
What changes do you think we should make in order to solve the problem?
App/src/components/AddressSearch/index.tsx Line 297 in c98f805
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?What alternative solutions did you explore? (Optional) |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
Unable to reproduce on Android with new gmail account. |
@mallenexpensify The ability to reproduce this bug depends on the specific location and environment, we already mentioned this in here: QA probably won't be able to simulate a poor GPS connection. While I couldn't replicate the ~20-second delay mentioned by the OP, I was able to observe a ~10-second delay from my side, which is still a significant delay time: Screen.Recording.2025-01-14.at.09.31.56.mov |
@mallenexpensify I can reproduce this issue with ~25 seconds delay after clearing browser's caches for Expensify site: video_2025-01-14_14-20-54.mp4I can take over this issue. |
Job added to Upwork: https://www.upwork.com/jobs/~021879307964726263223 |
Current assignee @dominictb is eligible for the External assigner, not assigning anyone new. |
Thx @truph01 and @dominictb . |
@truph01 Set the timeout to another value does not sound good to me. Can you research the |
On the web, we use the getCurrentPosition method to retrieve the current location: App/src/libs/getCurrentPosition/index.ts Line 17 in 57f544f
The documentation outlines three options that can help optimize response time:
App/src/components/AddressSearch/index.tsx Line 296 in c98f805
From the analysis above, from my side, the only actionable optimization is to reduce the |
@mallenexpensify, @dominictb Huh... This is 4 days overdue. Who can take care of this? |
@truph01 Hmm I'm still not super satisfied with that. Let's investigate further to make sure there's no other ways at all. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@mallenexpensify @dominictb this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Issue not reproducible during KI retests. (First week) |
@mallenexpensify, @dominictb Huh... This is 4 days overdue. Who can take care of this? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thinking more about this, I'm leaning towards closing this unless we have more/better data on the bug
ie. if I have NO GPS connection then I'll never get current location. If I have good-enough GPS, I'll get it soon-enough. |
@mallenexpensify, @dominictb Huh... This is 4 days overdue. Who can take care of this? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Closing for now. Feel free to add comments if you disagree or have other thoughts/ideas, I'll get a notification. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v9.0.84-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5442592&group_by=cases:section_id&group_order=asc&group_id=296081
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Pixel 7 Pro /Android 15/Chrome
App Component: Other
Action Performed:
Expected Result:
The app should let the user use their current location right away
Actual Result:
When create a distance expense, there is a big delay of about 20 seconds before the app can load the current location
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6712233_1736654452821.BigDelay.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: