-
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-09-13] [$500] Mobile distance confirmation screen initially starts on Atlantic City no matter what your start/finish destinations are #26726
Comments
Current assignee @JmillsExpensify is eligible for the Bug assigner, not assigning anyone new. |
Job added to Upwork: https://www.upwork.com/jobs/~01347969a6fa0bd52c |
Bug0 Triage Checklist (Main S/O)
|
Current assignee @JmillsExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Confirmation route starts from incorrect point in distance flow What is the root cause of that problem?We are not providing the initialState in confirmation page for the App/src/components/DistanceRequest.js Lines 238 to 245 in 8150ce0
What changes do you think we should make in order to solve the problem?We need to add
App/src/components/ConfirmedRoute.js Line 92 in 8150ce0
Simulator.Screen.Recording.-.iPhone.11.-.2023-09-05.at.03.21.49.mp4OR We can set the first waypointMarkers coordinate to the initialState.
Simulator.Screen.Recording.-.iPhone.11.-.2023-09-05.at.03.21.14.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Mobile distance confirmation screen initially starts on Atlantic City no matter what your start/finish destinations are What is the root cause of that problem?For web mapview we have a default start state which is But for mobile we haven't defined initial state where to start the map. What changes do you think we should make in order to solve the problem?We can pass the initial state of location inside App/src/components/DistanceRequest.js Line 242 in d2bdaec
initialState={{
zoom: CONST.MAPBOX.DEFAULT_ZOOM,
location: CONST.MAPBOX.DEFAULT_COORDINATE,
}} App/src/components/ConfirmedRoute.js Line 92 in 1e0a249
What alternative solutions did you explore? (Optional)Or we can just define initial state in |
ProposalMobile distance confirmation screen initially starts on Atlantic City no matter what your start/finish destinations are What is the root cause of that problem?We calculate the map on screen focus which triggered after the screen is already visible so the it's not the initial load for the map
What changes do you think we should make in order to solve the problem?Add bounds to initial state and pass it from
Simulator.Screen.Recording.-.iPhone.13.-.2023-09-05.at.01.12.30.mp4What alternative solutions did you explore? (Optional)N/A |
📣 @MahmoudHemaid! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
No @hayata-suenaga ,
for a safer side we can make it |
Let's do this 🚀 |
📣 @Pujan92 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
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:
|
@JmillsExpensify, @Pujan92, @hayata-suenaga, @situchan Huh... This is 4 days overdue. Who can take care of this? |
@JmillsExpensify, @Pujan92, @hayata-suenaga, @situchan 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
I think this one is waiting for payment |
waiting for payment |
@JmillsExpensify, @Pujan92, @hayata-suenaga, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@JmillsExpensify, @Pujan92, @hayata-suenaga, @situchan 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
still waiting for payment |
@JmillsExpensify, @Pujan92, @hayata-suenaga, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@situchan Would you mind completing the BZ checklist? |
Offer sent to @Pujan92 |
Accepted :) |
I feel this doesn't require regression test. Wrong location was visible for a brief moment on first page load, but user ultimately sees correct route. |
I already have accepted offer - #26726 (comment) |
Sry but I already accepted here. |
Thanks for clearing that up. Both offers paid out! |
Oddly, on iOS and Android the confirmation screen starts off panned on Atlantic City, no matter what start/finish destinations someone has entered.
Reproduction video below.
RPReplay_Final1693858456.MP4
I wasn't able to reproduce this on mWeb.
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: