-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[CP Staging] Fix not found view when linking to a message #53064
[CP Staging] Fix not found view when linking to a message #53064
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] |
@@ -2330,6 +2331,7 @@ function createWorkspaceFromIOUPayment(iouReport: OnyxEntry<Report>): WorkspaceF | |||
addWorkspaceRoom: null, | |||
}, | |||
pendingAction: null, | |||
isOptimisticReport: false, |
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.
Found another place where we don't set the isOptimisticReport
to false.
@bernhardoj @hoangzinh any other places this might be needed? |
@bernhardoj should we also set App/src/libs/actions/Policy/Policy.ts Line 2567 in bff85fa
|
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-11-25.at.22.26.51.android.movAndroid: mWeb ChromeScreen.Recording.2024-11-25.at.22.21.34.android.chrome.moviOS: NativeScreen.Recording.2024-11-25.at.22.28.11.ios.moviOS: mWeb SafariScreen.Recording.2024-11-25.at.22.29.16.ios.safari.movMacOS: Chrome / SafariScreen.Recording.2024-11-25.at.22.16.15.web.movMacOS: DesktopScreen.Recording.2024-11-25.at.22.23.52.desktop.mov |
createPolicyExpenseChat already includes it in the success data. |
@bernhardoj looks good. You can start to add recordings |
Done |
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, but I got a question about one change
@@ -515,7 +515,7 @@ function ReportScreen({route, currentReportID = '', navigation}: ReportScreenPro | |||
// This function is triggered when a user clicks on a link to navigate to a report. | |||
// For each link click, we retrieve the report data again, even though it may already be cached. | |||
// There should be only one openReport execution per page start or navigating | |||
fetchReportIfNeeded(); | |||
fetchReport(); |
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.
@bernhardoj @hoangzinh why this change?
I think this fix is safe but please add more info to the comment there. |
…to-comment [CP Staging] Fix not found view when linking to a message (cherry picked from commit cfaec15) (CP triggered by mountiny)
✋ 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/mountiny in version: 9.0.66-6 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.66-8 🚀
|
Explanation of Change
Fixed Issues
$ #53013
$ #52204
PROPOSAL:
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
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.mp4
Android: mWeb Chrome
android.mweb.mp4
iOS: Native
ops.mp4
iOS: mWeb Safari
ios.mweb.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4