-
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-10-12] [$500] [Distance] Web - Map and map image doesn't zoom out and display long unconventional routes #27175
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01c90939608885c398 |
Triggered auto assignment to @maddylewis ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @kevinksullivan ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
Proposed solutionPlease re-state the problem that we are trying to solve in this issue.Assign Task - Web - Map and map image doesn't zoom out and display long unconventional routes What is the root cause of that problem?**
What changes do you think we should make in order to solve the problem?**
Following calculations can be added in the
What alternative solutions did you explore? (Optional)none |
@sumairq Are you suggesting to add the Also, could you attach a video of the working result? |
ProposalPlease re-state the problem that we are trying to solve in this issue.App should zoom out to display full route in map and image What is the root cause of that problem?Currently, to find the bounds of the map we are using only App/src/components/MapView/utils.ts Lines 1 to 13 in f4affe5
What changes do you think we should make in order to solve the problem?We should also consider direction Points in getting the bounds of the map like below :
Attaching a video for support : Expnsify.movWe need to also change the backend that generates a static map preview that is visible in report. What alternative solutions did you explore? (Optional)NA |
ProposalUpdated(#27175 (comment)) |
@rakshitjain13 Where do we get the value of |
@mollfpr In MapView Component
Same thing goes to src/components/MapView/MapView.tsx
|
Thanks @rakshitjain13! The proposal from @rakshitjain13 looks good to me! It also makes sense to consider the direction coor to show the full map. 🎀 👀 🎀 C+ reviewed! |
Triggered auto assignment to @chiragsalian, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@chiragsalian When can I expect the offer on my upwork so that I can raise PR ASAP |
🎯 ⚡️ Woah @mollfpr / @rakshitjain13, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.77-7 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-10-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.
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:
|
Payments
|
@mollfpr - can you review this checklist - thanks! #27175 (comment) |
@maddylewis I didn't receive any offer on upwork as it was my first PR. Let me know if I am missing something. |
@rakshitjain13 - yep, i updated the price already. and then will you follow the instructions outlined in this comment and apply to the job on Upwork? leave a comment here once you've done that and i will process the payment. thanks! |
@maddylewis Already applied to the Upwork job with my Upwork ID: https://www.upwork.com/freelancers/~01c427caaa5ebf3b9c |
payments sent / just waiting on BZ checklist to be reviewed before closing. |
https://github.com/Expensify/App/pull/26500/files#r1359918071
The regressions step should be enough.
|
$1000 payment approved for @mollfpr based on BZ summary. |
@chiragsalian, @mollfpr, @maddylewis, @rakshitjain13 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
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:
. Open the app
2. Click on plus and click on request money
3. Click on 'Distance'
4. In start, select 'India' and in Finish, select 'Pakistan'
5. Observe that map does not display the whole route as it is not straightforward
6. Complete the process, open the request money message twice to open request money page
7. Click on map image to see that map does not display the route fully
Expected Result:
App should zoom out to display full route in map and image
Actual Result:
App does not zoom out to display full route in map and image for long distance unconventional routes
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.67.2
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
doesnt.zoom.out.to.display.full.route.mp4
Recording.4391.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1694103719072409
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: