fix: Fetch report from API if needed#34599
Conversation
|
The TypeScript check should stop failing after #33715 – it's not related to this PR. |
|
@allroundexperts 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] |
|
@allroundexperts a friendly bump on the review here, thanks 🤝 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-01-24.at.3.17.24.AM.movAndroid: mWeb ChromeScreen.Recording.2024-01-24.at.2.21.07.AM.moviOS: NativeScreen.Recording.2024-01-24.at.1.59.19.AM.moviOS: mWeb SafariScreen.Recording.2024-01-24.at.1.58.03.AM.movMacOS: Chrome / SafariScreen.Recording.2024-01-22.at.3.18.03.AM.movMacOS: DesktopScreen.Recording.2024-01-22.at.3.22.48.AM.mov |
|
@paultsimura I'm still getting the following on mobile devices: Screen.Recording.2024-01-22.at.3.25.18.AM.movIn order to reproduce, do not open the task which is assigned to you. Just enter the url directly and see the result. Doing the same on Android web results in an infinite loader: Screen.Recording.2024-01-22.at.3.27.40.AM.mov |
Could you please double-check if you have access to the task itself (removing the /title from the URL)? |
Screen.Recording.2024-01-22.at.3.32.43.AM.movYes, I have access to the task. |
|
That is weird because neither did I open the task on my recordings, and everything worked well 🤔 . I will try to reproduce tomorrow |
|
@allroundexperts I would kindly ask you to attach the side-to-side recording of both sender & recipient screens. I have just merged the latest Screen.Recording.2024-01-22.at.08.28.58-compressed.mp4Also, could you please check for me if the |
|
✋ 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/francoisl in version: 1.4.33-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to staging by https://github.com/Gonals in version: 1.4.34-0 🚀
|
|
🚀 Deployed to staging by https://github.com/Gonals in version: 1.4.34-0 🚀
|
|
The QA team reports here that this is not resolving the issue, I'm going to edit the PR description to remove the |
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.4.34-1 🚀
|
This is weird, getting back to it now 🤔 |
|
@allroundexperts seems like I found the issue. |

Details
On the
withReportOrNotFoundwrapper, execute anOpenReportAPI call if the report is missing.Fixed Issues
For #34414
PROPOSAL: #34414 (comment)
Tests
Same as QA
Offline tests
Same as QA
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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 so 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
Android: mWeb Chrome
chrome-compressed.mp4
iOS: Native
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-01-16.at.20.08.18-compressed.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-01-16.at.19.49.52-compressed.mp4
MacOS: Desktop