-
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
[Payment due][$500] Distance Expense - Impossible to remove a waypoint when editing a distance request offline #34686
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01979a5064cc9154e6 |
Triggered auto assignment to @lschurr ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Posting @paultsimura proposal here: ProposalPlease re-state the problem that we are trying to solve in this issue.When editing a Distance request offline, the waypoint cannot be removed What is the root cause of that problem?This is because we do not handle the Editing flow correctly when passing the isDraft parameter to
When we are creating a new request, we correctly remove the waypoint from a draft transaction. But when we edit an existing transaction, we should modify the real, not draft transaction. What changes do you think we should make in order to solve the problem?We should pass the
What alternative solutions did you explore? (Optional) |
@tgolen confirmed the bug and the proposed fix here: https://expensify.slack.com/archives/C049HHMV9SM/p1705505264249909 |
I will take a look at the issue and come up with a solution. |
📣 @Vlad-AIMaster! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The waypoint is not deleted after hitting the option to delete. After going back online, the 3 waypoints are still displayed. What is the root cause of that problem?The RCA here
We always pass What changes do you think we should make in order to solve the problem?After refactoring, we use So, in these places
We should update
One more thing that the above proposal is omitted, we also need to update
The updateWaypoint function also be used here App/src/components/DistanceRequest/index.js Line 203 in 4da7fda
But this component will be removed here and we only use IOURequestStepDistance so that we don't need to fix in here What alternative solutions did you explore? (Optional)NA |
In my defense, this is a minor addition (that doesn't affect the issue, just covers a different flow) that 100% would have been caught during the PR since I always check other similar use cases when making a change. This looks very similar to the discussion here: Moreover, the change in here makes no UX difference, since this component is used only in the Create flow (not in Edit flow), so
|
@rushatgabhane could you take a look at this one? |
Bump @rushatgabhane |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
I will try to take a look at this today. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@paultsimura Thank you for proposal. Your RCA is correct. Your solution also works and on point. |
@DylanDylann Thank you for proposal. Your proposal is very similar to @paultsimura 's proposal. I think it would be fair to go with his proposal. |
We can go with @paultsimura 's proposal. C+ reviewed 🎀 👀 🎀 |
On hold |
On hold |
On hold |
Hold |
Still on hold |
@lschurr this can be taken off hold – #37560 is in Production already. Here's the timeline:
Should we be eligible for compensation here if the issue was resolved by another PR while this one was in progress? |
Recently had a similar case and got this comment by @mallenexpensify . Not completely sure if it also applies here
|
Thanks @paultsimura and @alitoshmatov - I checked with the team and we agreed that we should pay full comp for the contributor on the PR and half comp to the C+ since proposals were reviewed but the PR was not. Payment summary:
|
Thanks, I've accepted the offer. |
All set! |
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: v1.4.26-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: N/A
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @paultsimura
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1705505264249909 & https://expensify.slack.com/archives/C01GTK53T8Q/p1705484273717249
Action Performed:
Expected Result:
The waypoint should be deleted.
Actual Result:
The waypoint is not deleted after hitting the option to delete. After going back online, the 3 waypoints are still displayed.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Screen.Recording.2024-01-17.at.10.28.52.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: