Skip to content
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

[ON HOLD #34610] [$500] Distance - Duplicate waypoints message does not instantly show up in distance request editor #36519

Closed
6 tasks done
kbecciv opened this issue Feb 14, 2024 · 62 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Feb 14, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v1.4.41-3
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Go to workspace chat.
  2. Go to + > Request money > Distance.
  3. Enter A-B-A waypoints.
  4. Reorder the waypoints by dragging so that it becomes A-A-B.
  5. Note that error message for duplicate waypoints instantly shows up.
  6. Change the distance back to A-B-A.
  7. Proceed to confirmation page.
  8. Click Distance.
  9. Reorder the waypoints by dragging so that it becomes A-A-B.
  10. Note that error message for duplicate waypoints instantly shows up.
  11. Create the distance request with A-B-A waypoints.
  12. Go to request details page.
  13. Click Distance.
  14. Reorder the waypoints by dragging so that it becomes A-A-B.

Expected Result:

The error message for duplicate waypoints will instantly show up.

Actual Result:

The error message for duplicate waypoints does not instantly show up. It only shows up after user attempts to save the duplicate waypoints.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6379526_1707925145578.20240214_195943.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01b6febd25fc272874
  • Upwork Job ID: 1757796016628969472
  • Last Price Increase: 2024-08-07
@kbecciv kbecciv added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 14, 2024
@melvin-bot melvin-bot bot changed the title Distance - Duplicate waypoints message does not instantly show up in distance request editor [$500] Distance - Duplicate waypoints message does not instantly show up in distance request editor Feb 14, 2024
Copy link

melvin-bot bot commented Feb 14, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01b6febd25fc272874

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 14, 2024
Copy link

melvin-bot bot commented Feb 14, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt (External)

Copy link

melvin-bot bot commented Feb 14, 2024

Triggered auto assignment to @zanyrenney (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@kbecciv
Copy link
Author

kbecciv commented Feb 14, 2024

We think that this bug might be related #wave5-free-submitters
CC @dylanexpensify

@paultsimura
Copy link
Contributor

paultsimura commented Feb 14, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

When editing a Distance request, the duplicate waypoints error is not shown immediately.

What is the root cause of that problem?

When implementing this immediate error display, it was added only for the creation flow: #32999, and the edit flow was missed.

What changes do you think we should make in order to solve the problem?

We need to add the same changes (made in #32999 to IOURequestStepDistance) to the DistanceRequest/index.js, which is used on the edit flow.

As a side note, we should also add the !isEditingRequest as a third param here to merge the correct collection (non-draft transactions for the Edit flow) when updating the waypoints:

Transaction.updateWaypoints(transactionID, newWaypoints, !isEditingRequest)

Transaction.updateWaypoints(transactionID, newWaypoints).then(() => {
setOptimisticWaypoints(null);
});

What alternative solutions did you explore? (Optional)

@s77rt
Copy link
Contributor

s77rt commented Feb 14, 2024

I think DistanceRequest should / will be removed in #34610

@zanyrenney Can you please put this on hold for #34610

@melvin-bot melvin-bot bot added the Overdue label Feb 19, 2024
@zanyrenney zanyrenney changed the title [$500] Distance - Duplicate waypoints message does not instantly show up in distance request editor [ON HOLD #34610] [$500] Distance - Duplicate waypoints message does not instantly show up in distance request editor Feb 19, 2024
@zanyrenney
Copy link
Contributor

DONE, thanks!

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Feb 19, 2024
@zanyrenney
Copy link
Contributor

This is on HOLD. so Not a daily priority just now.

@melvin-bot melvin-bot bot removed the Overdue label Feb 21, 2024
@zanyrenney
Copy link
Contributor

Not overdue, on hold.

Copy link

melvin-bot bot commented Feb 21, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Feb 23, 2024
@s77rt
Copy link
Contributor

s77rt commented Feb 23, 2024

Still on hold

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Feb 23, 2024
@s77rt
Copy link
Contributor

s77rt commented Feb 26, 2024

Still on hold

@melvin-bot melvin-bot bot removed the Overdue label Feb 26, 2024
Copy link

melvin-bot bot commented Feb 28, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Feb 29, 2024
@s77rt
Copy link
Contributor

s77rt commented Jun 17, 2024

@zanyrenney Please close this

@melvin-bot melvin-bot bot removed the Overdue label Jun 17, 2024
Copy link

melvin-bot bot commented Jun 19, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

1 similar comment
Copy link

melvin-bot bot commented Jun 26, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@s77rt
Copy link
Contributor

s77rt commented Jun 26, 2024

To be closed

@melvin-bot melvin-bot bot removed the Overdue label Jun 26, 2024
Copy link

melvin-bot bot commented Jul 3, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Jul 5, 2024
@s77rt
Copy link
Contributor

s77rt commented Jul 5, 2024

To be closed

@melvin-bot melvin-bot bot removed the Overdue label Jul 5, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Jul 15, 2024
@s77rt
Copy link
Contributor

s77rt commented Jul 15, 2024

@zanyrenney We can close this one

@melvin-bot melvin-bot bot removed the Overdue label Jul 15, 2024
Copy link

melvin-bot bot commented Jul 17, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Jul 23, 2024
@s77rt
Copy link
Contributor

s77rt commented Jul 23, 2024

To be closed

@melvin-bot melvin-bot bot removed the Overdue label Jul 23, 2024
Copy link

melvin-bot bot commented Jul 24, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

1 similar comment
Copy link

melvin-bot bot commented Jul 31, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Aug 1, 2024
@s77rt
Copy link
Contributor

s77rt commented Aug 2, 2024

@zanyrenney ^

@melvin-bot melvin-bot bot removed the Overdue label Aug 2, 2024
Copy link

melvin-bot bot commented Aug 7, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Aug 12, 2024
@zanyrenney
Copy link
Contributor

Closed based on comment abve.

@melvin-bot melvin-bot bot removed the Overdue label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Weekly KSv2
Projects
No open projects
Archived in project
Development

No branches or pull requests

4 participants