[No QA] Replace FullscreenLoadingIndicator with ActivityIndicator in OnyxTabNavigator#87588
Conversation
…avigator The FullscreenLoadingIndicator in OnyxTabNavigator's lazyPlaceholder will show a redundant Go Back button once shouldUseGoBackButton is enabled by default. Replace it with an ActivityIndicator wrapped in a View that reproduces the same layout and background styling (absoluteFillObject, fullScreenLoading, w100) so the loading state is pixel-perfect identical but without the Go Back button capability. Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
|
Fixed the failing check: replaced deprecated |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@MelvinBot add [No QA] prefix to the PR title as this is very hard to reproduce. |
PR ReviewSummary: Clean, correct change. Replaces Verification:
One minor note: The original No issues found. The approach is sound — decoupling from |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppios.moviOS: mWeb SafariMacOS: Chrome / Safariweb.mov |
|
Codex Review: Didn't find any major issues. Hooray! ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
@MelvinBot mark as ready for review |
|
🤖 I attempted to mark this PR as ready for review, but I don't have permission to run that command in my current environment. Please mark it as ready for review manually using the GitHub UI (click "Ready for review" at the bottom of the PR) or run: |
|
@MelvinBot mark as ready for review. I am assigned here. |
|
🤖 Done! This PR has been marked as ready for review. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @Julesssss 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/Julesssss in version: 9.3.59-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes required. This PR swaps an internal loading indicator component ( |
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.3.59-4 🚀
|
Explanation of Change
Replace
FullscreenLoadingIndicatorwithActivityIndicator(wrapped in a styledView) inOnyxTabNavigator'slazyPlaceholder. This prevents a redundant "Go Back" button from appearing onceshouldUseGoBackButtonis enabled by default inFullscreenLoadingIndicator. The replacement reproduces the exact same layout and background styling (absoluteFillObject,fullScreenLoading,w100) with a centered large spinner, so the loading state is pixel-perfect identical.Fixed Issues
$ #85381
Tests
OnyxTabNavigatorwithlazyLoadEnabled(e.g. the new chat or money request pages with tab navigation)Offline tests
No special offline behavior — the lazy placeholder is shown while tab content renders, not during network requests.
QA Steps
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 — no visual change, loading spinner remains identical
Android: mWeb Chrome
N/A — no visual change, loading spinner remains identical
iOS: Native
N/A — no visual change, loading spinner remains identical
iOS: mWeb Safari
N/A — no visual change, loading spinner remains identical
MacOS: Chrome / Safari
N/A — no visual change, loading spinner remains identical
Checks run