-
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
Deploy Blocker Fix - Update Expense Preview #46681
Conversation
@ishpaul777 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] |
reviewing 👀 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeRecord_2024-08-01-23-42-04.mp4Android: mWeb ChromeRecord_2024-08-01-23-44-23.mp4iOS: NativeScreen.Recording.2024-08-01.at.11.35.08.PM.moviOS: mWeb SafariScreen.Recording.2024-08-01.at.11.38.41.PM.movMacOS: Chrome / SafariScreen.Recording.2024-08-01.at.11.33.00.PM.movMacOS: DesktopScreen.Recording.2024-08-01.at.11.49.51.PM.mov |
Co-authored-by: Ishpaul Singh <[email protected]>
@ishpaul777 committed |
Co-authored-by: Ishpaul Singh <[email protected]>
Thanks! Looks good, Just completing platform videos for checklist |
@grgia looks like a lint issue no idea what it means 🤔
|
lint can be fixed with this diff: diff --git a/src/components/ReportActionItem/ReportPreview.tsx b/src/components/ReportActionItem/ReportPreview.tsx
index 6c21248f2a..44ef758c2d 100644
--- a/src/components/ReportActionItem/ReportPreview.tsx
+++ b/src/components/ReportActionItem/ReportPreview.tsx
@@ -122,7 +122,7 @@ function ReportPreview({
const {translate} = useLocalize();
const {canUseViolations} = usePermissions();
const {isOffline} = useNetwork();
-const allTransactions = useMemo(() => TransactionUtils.getAllReportTransactions(iouReportID, transactions), [iouReportID, transactions]);
+ const allTransactions = useMemo(() => TransactionUtils.getAllReportTransactions(iouReportID, transactions), [iouReportID, transactions]);
const {hasMissingSmartscanFields, areAllRequestsBeingSmartScanned, hasOnlyTransactionsWithPendingRoutes, hasNonReimbursableTransactions} = useMemo(
() => ({
|
the four little dots are spaces I guess @ishpaul777 |
oops! yea just realised that.. |
@@ -122,7 +122,7 @@ function ReportPreview({ | |||
const {translate} = useLocalize(); | |||
const {canUseViolations} = usePermissions(); | |||
const {isOffline} = useNetwork(); | |||
const allTransactions = useMemo(() => TransactionUtils.getAllReportTransactions(iouReportID), [iouReportID]); | |||
const allTransactions = useMemo(() => TransactionUtils.getAllReportTransactions(iouReportID, transactions), [iouReportID, transactions]); |
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.
const allTransactions = useMemo(() => TransactionUtils.getAllReportTransactions(iouReportID, transactions), [iouReportID, transactions]); | |
const allTransactions = useMemo(() => TransactionUtils.getAllReportTransactions(iouReportID, transactions), [iouReportID, transactions]); |
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.
let's see if I can approve and merge this PR despite the fact that I pushed a fix for the lint error
thanks @roryabraham ! |
Deploy Blocker Fix - Update Expense Preview (cherry picked from commit 84ed81c)
✋ 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/roryabraham in version: 9.0.15-8 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.15-9 🚀
|
Details
Screen.Recording.2024-08-01.at.6.46.56.PM.mov
Fixed Issues
$ #46647
PROPOSAL: #46647 (comment) @nyomanjyotisa
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 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