[CP Staging] prevent removing waypoint if it is unnecessary#50184
[CP Staging] prevent removing waypoint if it is unnecessary#50184jasperhuangg merged 2 commits intoExpensify:mainfrom
Conversation
|
@mananjadhav Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-04.at.3.22.34.AM.movAndroid: mWeb ChromeScreen.Recording.2024-10-04.at.3.20.14.AM.moviOS: NativeScreen.Recording.2024-10-04.at.3.15.31.AM.moviOS: mWeb SafariScreen.Recording.2024-10-04.at.3.13.10.AM.movMacOS: Chrome / SafariScreen.Recording.2024-10-04.at.3.04.52.AM.movMacOS: DesktopScreen.Recording.2024-10-04.at.3.08.35.AM.mov |
|
I'm not sure if this is related to this or not, but on iOS when we swap the locations, there is a jerk before the locations reach to the correct positions. Screen.Recording.2024-10-04.at.3.27.37.AM.mov |
|
@nkdengineer The iOS video you uploaded does not test the scenario mentioned in this issue. Please make sure to upload the correct videos of all the platforms. |
|
@Beamanator @jasperhuangg This issue should not be a blocker IMO. If you agree, feel free to merge! |
|
@allroundexperts At the time I test with native, I can't swap the waypoint. I faced this bug that you mentioned above. |
|
I don't feel like that bug is related to these changes, seems fine to merge this as is. |
|
@allroundexperts I updated the video. We need to hold on the waypoint for a few second then we can swap. |
|
Same same - to me, as long as the waypoints end up in the correct locations & not duplicating one of the waypoints & the API requests aren't dupe'd, i agree we're g2g 👍 |
|
Something has been wrong with the PR Reviewer checklist check today, going to go ahead and merge with it failing, the checklist is very clearly posted above. |
[CP Staging] prevent removing waypoint if it is unnecessary (cherry picked from commit 5906651) (CP triggered by jasperhuangg)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/jasperhuangg in version: 9.0.44-7 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
working well for me in staging! |
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.44-12 🚀
|
Details
prevent removing waypoint if it is unnecessary
Fixed Issues
$ #50176
PROPOSAL: #50176 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2024-10-04.at.05.37.51.mov
Android: mWeb Chrome
Screen.Recording.2024-10-04.at.03.13.05.mov
iOS: Native
Screen.Recording.2024-10-04.at.05.36.39.mov
iOS: mWeb Safari
Screen.Recording.2024-10-04.at.03.14.11.mov
MacOS: Chrome / Safari
Screen.Recording.2024-10-04.at.03.09.06.mov
MacOS: Desktop
Screen.Recording.2024-10-04.at.03.18.34.mov