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

[$250][HOLD #37374] Track expense - Waypoints swap places when tap and hold #40818

Open
1 of 6 tasks
lanitochka17 opened this issue Apr 23, 2024 · 49 comments
Open
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Apr 23, 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: 1.4.64-3
Reproducible in staging?: Y
Reproducible in production?: N
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:
Slack conversation:

Issue found when executing PR #40176

Action Performed:

  1. Open the App
  2. Log in
  3. Click on the Global Fab.
  4. Press "Track Expense".
  5. Click on "Distance" at the top.
  6. Add two or more valid waypoints.
  7. Swap them around
  8. Try tap and hold each waypoint one by one
  9. Repeat steps 7 and 8 (If needed)

Expected Result:

All waypoints must stay until moved by user. Behavior should be the same as in Web and mWeb

Actual Result:

Some waypoints swap places when tap and hold

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

Bug6459187_1713893255264.Screen_Recording_20240423_194241_New_Expensify__2_.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0117efc9769c84fcf4
  • Upwork Job ID: 1785733717315878912
  • Last Price Increase: 2024-05-22
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Apr 23, 2024
Copy link

melvin-bot bot commented Apr 23, 2024

Triggered auto assignment to @blimpich (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@lanitochka17
Copy link
Author

@blimpich FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave-collect - Release 1

@lanitochka17
Copy link
Author

Production:

Record_2024-04-23-21-06-27_4f9154176b47c00da84e32064abf1c48.mp4

@blimpich
Copy link
Contributor

Will look into this this afternoon, have a medical appointment in a bit, but commenting to say this is on my radar for today

@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 23, 2024
@mountiny
Copy link
Contributor

The distance is not yet fully supported in the track expense flow.

cc @neil-marcellini @koko57 for visibility

removing a block as this is a specific ui related issue

@blimpich
Copy link
Contributor

Ah, I see this is related to this new feature #36985 (comment). @neil-marcellini @koko57 I'll defer to you on what you think is best here. Seems frontend specific, so happy to guide this through being marked as external and being solved by contributors if you think that is best here.

@melvin-bot melvin-bot bot added the Overdue label Apr 26, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

@blimpich Eep! 4 days overdue now. Issues have feelings too...

Copy link

melvin-bot bot commented May 1, 2024

@blimpich Still overdue 6 days?! Let's take care of this!

@blimpich
Copy link
Contributor

blimpich commented May 1, 2024

Gonna add external to put this one out for contributors.

@melvin-bot melvin-bot bot removed the Overdue label May 1, 2024
@blimpich blimpich added the External Added to denote the issue can be worked on by a contributor label May 1, 2024
Copy link

melvin-bot bot commented May 1, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0117efc9769c84fcf4

@melvin-bot melvin-bot bot changed the title Track expense - Waypoints swap places when tap and hold [$250] Track expense - Waypoints swap places when tap and hold May 1, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label May 1, 2024
Copy link

melvin-bot bot commented May 1, 2024

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

@koko57
Copy link
Contributor

koko57 commented May 2, 2024

@blimpich sorry, I didn't notice your earlier message. As Vit mentioned:

The distance is not yet fully supported in the track expense flow.

I think that should be hold until the track expense fully supports distance, then retested (the problem may not occur anymore after this is done).

cc @neil-marcellini

@blimpich
Copy link
Contributor

blimpich commented May 2, 2024

I see, is there a tracking issue that we could reference for this issue then? If so I will update the issue title to wait until its resolved before retesting this.

@koko57
Copy link
Contributor

koko57 commented May 2, 2024

I cc'ed Neil because this should be linked to a BE issue, I don't have an access to the backend issues

@blimpich
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label May 20, 2024
Copy link

melvin-bot bot commented May 20, 2024

@sakluger, @blimpich, @mallenexpensify, @dukenv0307 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@koko57
Copy link
Contributor

koko57 commented May 21, 2024

Still fighting 😅 I've found something that maybe will help me with finally finding the root cause and a solution - When we have more than 2 points the points are swapping only in the range of the swapped elements, I mean when we have 3 points and we swap 2 first points - they are swapped back and the third stays as it is (the whole list is not affected). When we have 5 points and we drag the 1st to be 3rd one, only 3 first items are swapped 4rd and 5th stay as they were. And it's always that the item we want to be the first in a sequence is last and the other are in proper order - like instead 1st, 2nd and 3rd we would get 2nd 3rd and 1st.

@blimpich
Copy link
Contributor

What a bizarre bug 🐛

Copy link

melvin-bot bot commented May 22, 2024

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

@koko57
Copy link
Contributor

koko57 commented May 22, 2024

Still working on it, Melv

@melvin-bot melvin-bot bot added the Overdue label May 23, 2024
@blimpich
Copy link
Contributor

Assigning @koko57 so that their updates will calm Melvin down

@melvin-bot melvin-bot bot removed the Overdue label May 23, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label May 23, 2024
@koko57
Copy link
Contributor

koko57 commented May 24, 2024

I needed to focus on my other issue to finally open a PR, so I haven't much time to work on this one. Will get back to it on Monday

@melvin-bot melvin-bot bot added the Overdue label May 27, 2024
Copy link

melvin-bot bot commented May 27, 2024

@sakluger, @blimpich, @mallenexpensify, @koko57, @dukenv0307 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@blimpich
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label May 27, 2024
@koko57
Copy link
Contributor

koko57 commented May 28, 2024

I've checked another thing that could be causing it in the code, but it turned out that it's not the culprit. I was wondering if it was working before introducing the New Architecture and I built the project with the New Arch disabled. It turns out that it works as expected. I will look what can we do with that

@koko57
Copy link
Contributor

koko57 commented May 29, 2024

I'm ooo tomorrow and on Friday, will get back to it next week.

Copy link

melvin-bot bot commented Jun 3, 2024

@sakluger, @blimpich, @mallenexpensify, @koko57, @dukenv0307 Eep! 4 days overdue now. Issues have feelings too...

@sakluger
Copy link
Contributor

sakluger commented Jun 3, 2024

I'm back, @mallenexpensify I'll unassign you now.

@koko57
Copy link
Contributor

koko57 commented Jun 4, 2024

Still working on it

@koko57
Copy link
Contributor

koko57 commented Jun 6, 2024

I've checked the behaviour of the draggable flatlist on a clean project - one with our current configuration (rn 0.73.2, gesture handler 2.14.1 and reanimated 3.8.0) and after an upgrade to rm 0.74 (and gesture handler and reanimated upgraded). With our config it was not working well (some elements after drag even disappeared), on the upgraded version it worked, however the glitch that I mentioned for iOS was happening. But ordering was working as expected. As we have the upgrade to 0.74 ongoing, maybe we could hold on this and then work on some additional fixes if they were still necessary.

@blimpich
Copy link
Contributor

blimpich commented Jun 6, 2024

@koko57 That sounds good to me! Lets hold on #37374

@blimpich blimpich changed the title [$250] Track expense - Waypoints swap places when tap and hold [$250][HOLD 37374] Track expense - Waypoints swap places when tap and hold Jun 6, 2024
@blimpich blimpich changed the title [$250][HOLD 37374] Track expense - Waypoints swap places when tap and hold [$250][HOLD #37374] Track expense - Waypoints swap places when tap and hold Jun 6, 2024
@sakluger sakluger added Weekly KSv2 and removed Daily KSv2 labels Jun 7, 2024
@sakluger
Copy link
Contributor

sakluger commented Jun 7, 2024

Moving to weekly. Based on the hold issue, we may not update for a week or two.

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. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
Status: No status
Development

No branches or pull requests

8 participants