Add backup transaction again#39144
Conversation
|
@hoangzinh 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] |
|
Missing "Details" |
|
@cubuspl42 I don't know how to unassign myself from this PR so just go ahead. |
|
@cubuspl42 I tried to revert the previous PR yesterday, but it is so late |
|
Missing "Tests" section and videos, basically appears untested |
|
@cubuspl42 We still have some problem here, I am trying to resolve |
|
I understand. You can consider marking the PR as a draft when it's being worked on actively, and some aspects are not ready. |
|
@cubuspl42 @puneetlath Marked this PR as ready for review to get more eyes. Before we used In the previous PR, we missed to migrate the above logic. It caused these bugs #38864, #38853 In this PR, I moved that logic again but this bug still be happening Screen.Recording.2024-04-02.at.16.40.32.movLet's see the above video, the This bug hasn't happened before because previously we created |
Sometimes, I don't feel confident with Onyx, but if you suspect that there's a bug here, this makes this situation even more tricky 🙁 @puneetlath Do you have any hints or ideas here? |
|
Hmm, interesting. I don't have any theories off the top of my head. @DylanDylann what makes you think it's an Onyx bug? |
|
@cubuspl42 After investigating again, I see this is not a bug from Onyx. I made a mistake in here. |
|
@DylanDylann So what's the current state of the PR? Is everything finished and tested from your side, and things are ready for a new review round? |
|
I updated this PR to fix these issues: #38853 #35173 #38864
With this fix, #35173 also be resolved
|
|
@cubuspl42 I tested and everything works well, I am uploading the video. You can start your work now. |
I'm sorry about this mess, but please change the word "fix" to something else so we revert the auto-linking: |
Updated |
|
@cubuspl42 We need to wait for the map to be loaded before going to the next step to prevent this bug Screen.Recording.2024-04-10.at.14.44.25.mp4I don't think it relates to the Distance Page. Even though we don't open the distance page, the map still reload |
Okey, thanks for confirming. Maybe we should clarify this in the QA steps, so the QA doesn't raise a false alarm? Technically speaking, the test (as phrased right now) failed in my case. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb Chromeadd-backup-transaction-again-section-1-android-web-compressed.mp4add-backup-transaction-again-section-2-android-web-compressed.mp4iOS: Nativeadd-backup-transaction-again-section-1-ios-compressed.mp4add-backup-transaction-again-section-2-ios-compressed.mp4iOS: mWeb Safariadd-backup-transaction-again-section-1-ios-web-compressed.mp4add-backup-transaction-again-section-2-ios-web-compressed.mp4MacOS: Chrome / Safariadd-backup-transaction-again-section-1-web-converted.mp4add-backup-transaction-again-section-2-web-converted.mp4MacOS: Desktop |
puneetlath
left a comment
There was a problem hiding this comment.
One very small comment.
|
@puneetlath Updated. All yours |
|
✋ 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 staging by https://github.com/puneetlath in version: 1.4.63-0 🚀
|
|
@DylanDylann Based on this comment #40392 (comment) the PR failed to fix #38864 can you look into this? thanks |
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.63-21 🚀
|
|
@DylanDylann Bump |
|
@cubuspl42 What bump? |
|
This comment (slightly above). Or do you mean that it is outdated? 🤔 |
|
It resolved. More information here |
|
Sorry then! |
| if (!isCreatingNewRequest) { | ||
| transactionWasSaved.current = true; | ||
| } |
There was a problem hiding this comment.
We should have checked if isEditing was false here as well. This caused #52241

Details
This fixes a regression introduced in PR
Fixed Issues
$ #38853
$ #35173
$ #38864
PROPOSAL: NA
Tests
Section 1:
Section 2:
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-04-08.at.17.09.21.mov
Android: mWeb Chrome
Screen.Recording.2024-04-08.at.16.55.03.mov
iOS: Native
Screen.Recording.2024-04-08.at.16.54.13.mov
iOS: mWeb Safari
Screen.Recording.2024-04-08.at.16.51.32.mov
MacOS: Chrome / Safari
Screen.Recording.2024-04-08.at.16.45.24.mp4
MacOS: Desktop
Screen.Recording.2024-04-08.at.16.50.36.mov