-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
fix: update lastActorAccountID for transactionThread #36219
fix: update lastActorAccountID for transactionThread #36219
Conversation
src/libs/actions/IOU.ts
Outdated
@@ -1197,6 +1205,15 @@ function getUpdateMoneyRequestParams( | |||
}); | |||
} | |||
|
|||
if (transactionThread) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we add the same if statement for the optimistic above? Looks like the optimistic data exists always, but failure has a condition.
@eVoloshchak 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] |
nice, looks good to me |
@mountiny conflicts resolved |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-12.at.19.13.32.movAndroid: mWeb ChromeScreen.Recording.2024-02-12.at.19.07.31.moviOS: NativeScreen.Recording.2024-02-12.at.19.17.00.movMacOS: Chrome / SafariScreen.Recording.2024-02-12.at.19.02.21.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and tests well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✋ 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/thienlnam in version: 1.4.41-12 🚀
|
Details
We need to update transactionThread lastActorAccountID optimistically in order to hide current user display for LHN when offline
Fixed Issues
$ #34411
$ #35515
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-02-09.at.12.24.41.mov
Android: mWeb Chrome
iOS: Native
Screen.Recording.2024-02-09.at.11.56.51.mov
iOS: mWeb Safari
Screen.Recording.2024-02-09.at.11.54.42.mov
MacOS: Chrome / Safari
Screen.Recording.2024-02-09.at.10.13.47.mp4
MacOS: Desktop
Screen.Recording.2024-02-09.at.10.20.20.mp4