-
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-09-29] [$500] BUG: [distance] request map is cut off after going online #26540
Comments
Triggered auto assignment to @trjExpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~016004dbcd8eeeb10d |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @sophiepintoraetz ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ArekChr ( |
Side note:bug: if I create a new issue with external and bug labels it assigns two BZ. |
@neil-marcellini when we go back to online, the amount should be update there itself? means ConfirmPage itself or the user needs to go back the page? |
This comment was marked as off-topic.
This comment was marked as off-topic.
@neil-marcellini please note that my proposal in #26537 fixes the route rendering issue. |
#Proposal Please re-state the problem that we are trying to solve in this issueBUG: [distance] request map is cut off after going online What is the root cause of that problem?The bug appears because the application does not re-fetch the MapBox route when transitioning from offline to online. This means that if the user goes offline and then comes back online, the MapBox route is not updated, causing it not to appear correctly. What changes do you think we should make in order to solve the problem?Add a mechanism to App/src/components/DistanceRequest.js Line 76 in d0b2772
useEffect to listens for changes in the network status and triggers a re-fetch of the MapBox route when the application goes from offline to online.
What alternative solutions did you explore? (Optional)None Resultcropped_mapbox_fixed.mp4 |
cc : @neil-marcellini |
@studentofcoding I don't think you understand the bug correctly. This isn't about loading the route or not. Sometimes when you only have two waypoints and move offline and online back and forth and doing some things like closing modal selecting an address or adding and removing multiple waypoints causing the map to cutoff. Like in your video you have the map fully, but the bug is you'll be having the map but the bottom of the map like 10-15% of it is showing as black which is weird and that is the bug. Let me know if you don't understand the bug. |
@neil-marcellini, could you please provide a video showing the actual results of this issue and specify which platforms are affected? |
@ArekChr a video came with the report here by @situchan in the PR: #25707 (review) |
ProposalPlease re-state the problem that we are trying to solve in this issue.BUG: [distance] request map is cut off after going online What is the root cause of that problem?The problem is related to Mapbox resizing.It is related to the size of the container where the is located. What changes do you think we should make in order to solve the problem?we should call What alternative solutions did you explore? (Optional)none Untitled.mp4 |
📣 @nahid633! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
📣 @nahid633 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@trjExpensify @nahid633 @ArekChr @neil-marcellini 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! |
@nahid633 Friendly bump, any progress with the PR? |
Hey @ArekChr , i got offer from upwork today. I will finish and create PR today. |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.72-11 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-09-29. 🎊 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.
For reference, here are some details about the assignees on this issue:
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:
|
👋 @ArekChr can you get tot he checklist please so we can proceed with the payments? Thanks! |
@trjExpensify, @nahid633, @ArekChr, @neil-marcellini Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Awaiting the above! |
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
The route renders properly on the map and it's not cut off
Actual Result:
The bottom section of the map is cut off and the bottom corners are not rounded
Workaround:
Ignore it
Platforms:
Which of our officially supported platforms is this issue occurring on?
All
Version Number: unreleased
Reproducible in staging?: Not yet
Reproducible in production?: Not yet
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: Originally reported by
@situchan
in a PR review here
Expensify/Expensify Issue URL:
Issue reported by: @situchan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693609781739659
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: