-
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
[$500] [distance] Distance - Stop waypoint is filled with Finish address #26725
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @bondydaa ( |
Looks like a legit bug |
Job added to Upwork: https://www.upwork.com/jobs/~0126bac11a54e11305 |
Triggered auto assignment to @adelekennedy ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
@neil-marcellini it seems a backend issue https://expensify.slack.com/archives/C049HHMV9SM/p1693855330395669 |
Ah right nice, we just merged a fix for that, it will be deployed soon so this is not a blocker. |
ah thanks @Pujan92! |
Here's the merged backend PR that fixes this, but we need to CP it. |
@lanitochka17 can you retest against staging API, we CP'd a PR that should have fixed this. |
I can't reproduce it now. |
@bondydaa I still can reproduce on staging now |
@neil-marcellini @bondydaa This is another bug and can be fixed from FE ProposalPlease re-state the problem that we are trying to solve in this issue.Distance - Stop waypoint is filled with Finish address What is the root cause of that problem?App/src/libs/actions/Transaction.js Lines 52 to 57 in f67bf9f
Currently, in the beginning, waypoint1 will be the start point, waypoint2 will be the finish point. When creating a new stop point, start and finish point will remain. The stop point will be waypoint3. App/src/components/DistanceRequest.js Lines 187 to 196 in f67bf9f
But while displaying, the finish point is the last point (in this context, last point is waypoint3). It caused this bug What changes do you think we should make in order to solve the problem?When adding a new stop point we should change the index of the finish point to the last point. In this context, when adding new stop point, this stop point will be waypoint2 and the finish point will move to waypoint3. App/src/libs/actions/Transaction.js Lines 52 to 57 in f67bf9f
ResultScreen.Recording.2023-09-05.at.11.58.44.mp4What alternative solutions did you explore? (Optional)In case, we want to remain the finish point always be waypoint 2. App/src/components/DistanceRequest.js Lines 187 to 196 in f67bf9f
we can update here to display the finish point when index is 1 With this approach, the stop point will display below the finish point |
The issue does not reproduce in build 1.3.64-0. Recording.46.mp4 |
okay thanks for confirming @lanitochka17 . @DylanDylann please follow the process https://github.com/Expensify/App/blob/main/contributingGuides/CONTRIBUTING.md#raising-jobs-and-bugs for reporting new bugs instead of adding it to an existing different bug. I'm going to close this out. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #26591
Action Performed:
Expected Result:
The Stop field is not populated
Actual Result:
The address selected for Finish waypoint is now also populated in Stop waypoint
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.63-0
Reproducible in staging?: Yes
Reproducible in production?: No
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
Bug6188431_20230905_024928.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: