Fix/38814: Distance - Unable to save second distance edit offline#38987
Fix/38814: Distance - Unable to save second distance edit offline#38987srikarparsi merged 3 commits intoExpensify:mainfrom
Conversation
|
@abdulrahuman5196 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] |
|
Small change |
|
"Tests" block is outdated |
|
@cubuspl42 Updated |
|
@cubuspl42 Any update here |
|
I'm testing right now. |
|
Tested on this PR feature branch + fix-unable-to-save-second-distance-edit-offline-android-compressed.mp4The handles for dragging waypoints don't render, and there's a crash after attempting to drag them a few times. While I don't think this is related, I believe that this is good enough reason to double-check this. You didn't include videos from other platforms than Web. Please...
|
|
Please fill the "Details" section, something like "This fixes a regression introduced in PR #{id}, which intended to fix issue #{issue-id}". This allows efficient navigation. In general, never leave "Details" empty. |
|
Can you reproduce the issue I mentioned? If so, did you find out if it's unrelated (i.e. occurring on |
|
@cubuspl42 I uploaded videos. On the Android and IOS native we have another bug: Can't drag waypoint. But I checked this bug and saw that it isn't related to this PR. We can create another issue to fix this Screen.Recording.2024-03-29.at.15.08.32.mov |
Neither this one, nor the original one, right?
...unless there already is one. It would be good to know its ID, we might consider holding on it. |
|
@cubuspl42 We can report this bug on Slack channel. This fix is very simple and I think we don't need to hold this issue |
I am not sure |
Go for it :)
You wrote "Blocked by another bug", classifying two platforms as untested 🙁 We should pick, we can't go with "not holding" and "blocked by another bug" at the same time |
|
@cubuspl42 I see another way to test this PR. I am updating videos for Android and IOS Screen.Recording.2024-03-29.at.18.33.18.mov |
|
@cubuspl42 Updated videos |
|
We have a ridiculous problem. We need to change... ...to... ...or anything else that won't match this pattern. |
|
@cubuspl42 updated |
|
@cubuspl42 Is there any problem? It is small change, we should speed up it |
|
No problem with this one. I spent some time on another issue in my queue. |
|
I'm testing and recording videos; I'll approve it soon. |
|
So, to double ensure...
I can't understand why you rush me so much, if we don't know exactly why the app is crashing under our feet during testing. I'm glad you found a workaround. |
|
@cubuspl42 That bug isn't causing this PR, this bug also happened on the main. It shouldn't be a blocker here. We can create a bug on Slack channel to fix it |
|
I reported this on |
Reviewer Checklist
Screenshots/VideosAndroid: Nativefix-unable-to-save-second-distance-edit-offline-android-compressed.mp4Android: mWeb Chromefix-unable-to-save-second-distance-edit-offline-android-web-compressed.mp4iOS: Nativefix-unable-to-save-second-distance-edit-offline-ios-compressed.mp4iOS: mWeb Safarifix-unable-to-save-second-distance-edit-offline-ios-web-compressed.mp4MacOS: Chrome / Safarifix-unable-to-save-second-distance-edit-offline-web-converted.mp4MacOS: Desktop |
|
Originally, the testing steps involved re-ordering the waypoints. It triggered a crash, which is also observable on We considered two options:
I suggested going with the first, but @DylanDylann strongly recommends the second option. I don't want to force my way, as I can see the benefits of both paths, so I approved. I'll leave the decision about the final approval to you. |
|
Hi, I am okay with merging because I think we can all agree that the root causes aren't related. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|


Details
This fixes a regression introduced in PR, which was a solution for #34610
Fixed Issues
$ #38814
PROPOSAL: NA
Tests
Offline tests
Same above
QA Steps
Same above
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-03-29.at.18.41.10.mov
Android: mWeb Chrome
Screen.Recording.2024-03-29.at.15.06.14.mov
iOS: Native
Screen.Recording.2024-03-29.at.18.33.18.mov
iOS: mWeb Safari
Screen.Recording.2024-03-29.at.15.10.18.mov
MacOS: Chrome / Safari
Screen.Recording.2024-03-26.at.14.11.09.mov
MacOS: Desktop
Screen.Recording.2024-03-29.at.15.10.50.mov