fix: only force full skeletons on single expense reports#59714
Conversation
|
@ZhenjaHorbach 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] |
|
Just updated the PR's description, this is now ready for review cc @mountiny |
|
🚧 @mountiny has triggered a test app build. You can view the workflow run here. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreenrecorder-2025-04-07-15-39-25-77.mp4Android: mWeb ChromeScreenrecorder-2025-04-07-15-41-56-0.mp4iOS: Native2025-04-07.15.47.59.mp4iOS: mWeb Safari2025-04-07.15.48.03.mp4MacOS: Chrome / Safari2025-04-07.15.58.20.movMacOS: Desktop2025-04-07.15.58.20.mov |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
✋ 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 staging by https://github.com/mountiny in version: 9.1.24-2 🚀
|
|
@adhorodyski Failing on mWeb with original bug ID #58388 Pending validation on Desktop, Android and iOS |
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.24-10 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.24-10 🚀
|
Explanation of Change
Right now, we force skeletons to be there for the full time while we fetch report's metadata when being online. This PR limits this to only single expense reports with missing required data, bringing back the performance improvement of eager rendering offline available data whenever possible.
Fixed Issues
$ #58388
PROPOSAL: N/A
Tests
Regular reports
No skeletons when not needed.
Single expense reports
Skeletons each time we visit such reports for the first time. Subsequent visits should not produce a skeleton.
Here's a guide on how to reproduce opening up a fresh single expense report:
Offline tests
QA Steps
Same as Tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.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 and/or tagged@Expensify/designso 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_native.mp4
Android: mWeb Chrome
android_web.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_web.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4