Replace FullScreenLoadingIndicator with ActivityIndicator in LoadingPage#84798
Conversation
LoadingPage already renders HeaderWithBackButton, so using FullScreenLoadingIndicator is unnecessary and will cause duplicate back controls once shouldUseGoBackButton defaults to true. Replace with a View + ActivityIndicator using the same fullScreenLoading style to maintain pixel-perfect visual parity. Co-authored-by: Jules <Julesssss@users.noreply.github.com>
|
🚧 @Julesssss has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
This comment was marked as off-topic.
This comment was marked as off-topic.
Julesssss
left a comment
There was a problem hiding this comment.
Verified on web adhoc. Loading indicator remains in center
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
@stitesExpensify 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] |
|
@stitesExpensify I don't have a screenshot but verify this UI test. This was a test issue for a large refactor. I'll have a C+ review for the remainder. |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
I'd like to be C+ reviewer for the remainder if needed |
|
Bumping review @stitesExpensify |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @stitesExpensify 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! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.3.37-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.37-10 🚀
|
Explanation of Change
LoadingPage.tsxrendersHeaderWithBackButtonalongsideFullScreenLoadingIndicator. As part of the loading indicator standardization (#69850),shouldUseGoBackButtonwill soon default totrueinFullScreenLoadingIndicator, which would cause users to see two back controls — the header back button AND the Go Back button from the loader.This PR replaces
FullScreenLoadingIndicatorwith aViewwrapping a plainActivityIndicator, using the existingfullScreenLoadingstyle to maintain pixel-perfect visual parity (same background color, opacity, centering, and spinner size). This pattern matches the established convention used inHelpContent.tsx.Fixed Issues
$ #84590
PROPOSAL: #84590 (comment)
Tests
LoadingPage(easiest is Private Notes, accessed after clicking profile in a dm chat)Offline tests
N/A
QA Steps
LoadingPage(easiest is Private Notes, accessed after clicking profile in a dm chat)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
N/A — visual-only component swap, no layout change
Android: mWeb Chrome
N/A — visual-only component swap, no layout change
iOS: Native
N/A — visual-only component swap, no layout change
iOS: mWeb Safari
N/A — visual-only component swap, no layout change
MacOS: Chrome / Safari
N/A — visual-only component swap, no layout change