-
Notifications
You must be signed in to change notification settings - Fork 3.2k
🍒 Cherry pick PR #60048 to staging 🍒 #60072
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
🍒 Cherry pick PR #60048 to staging 🍒 #60072
Conversation
(cherry picked from commit a37f46e)
[CP Staging] fix: Paid expense preview shows Approve button after reset (cherry picked from commit 4751e06) (CP triggered by luacmartins)
@@ -8635,7 +8635,7 @@ function canApproveIOU( | |||
const isCurrentUserManager = managerID === userAccountID; | |||
const isOpenExpenseReport = isOpenExpenseReportReportUtils(iouReport); | |||
const isApproved = isReportApproved({report: iouReport}); | |||
const iouSettled = isSettled(iouReport?.reportID); | |||
const iouSettled = isSettled(iouReport); | |||
const reportNameValuePairs = chatReportRNVP ?? getReportNameValuePairs(iouReport?.reportID); |
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.
Conflict was on line 8639. I changed it to what is currently on staging - https://github.com/Expensify/App/blob/staging/src/libs/actions/IOU.ts#L8639
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 9.1.26-9 🚀
|
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 9.1.26-10 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.26-10 🚀
|
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 9.1.27-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.1.28-15 🚀
|
🍒 Cherry pick #60048 to staging 🍒
This PR had conflicts when we tried to cherry-pick it to staging. You'll need to manually perform the cherry-pick, using the following steps:
Then manually resolve conflicts, and commit the change with
git cherry-pick --continue
. Lastly, please run:That will help us keep track of who triggered this CP. Once all that's done, push your changes with
git push origin cherry-pick-staging-60048-14391327356-1
, and then open this PR for review.Note that you must test this PR, and both the author and reviewer checklist should be completed, just as if you were merging the PR to main.
Pro-tip: If this PR appears to have conflicts against the staging base, it means that the version on staging has been updated. The easiest thing to do if you see this is to close the PR and re-run the CP.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop