[No QA] Add reasonAttributes to FullscreenLoadingIndicator usages in workspace pages#84717
Conversation
|
@shubham1206agra 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] |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
PR doesn’t need product input as a performance PR. Unassigning and unsubscribing myself. |
…cated properties across multiple workspace pages.
…to fix/fullscreen-loading-indicator-reason-attributes
Reviewer Checklist
|
…to fix/fullscreen-loading-indicator-reason-attributes
|
🚧 @youssef-lr has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, 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/youssef-lr in version: 9.3.38-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.38-4 🚀
|
Explanation of Change
Adds
reasonAttributesprop to allFullscreenLoadingIndicatorusages across workspace pages. This wires Sentry telemetry context into each skeleton loading state so engineers can identify which component and condition is causing an infinite or long-running skeleton when debugging Sentry spans.The
reasonAttributesobject contains acontextstring (e.g.'WorkspacePageWithSections.FullscreenLoadingIndicator') that gets attached to the Sentry span, making it possible to filter and diagnose skeleton loading regressions by call site.Fixed Issues
$ #83395
PROPOSAL:
Tests
Offline tests
N/A
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))npm run compress-svg)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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari