Repository navigation
Use ActivityIndicator instead of FullscreenLoadingIndicator in ProfilePage - #87585
Conversation
Replace FullscreenLoadingIndicator with a View-wrapped ActivityIndicator in ProfilePage.tsx to avoid showing two back controls when shouldUseGoBackButton is enabled by default. The replacement View reproduces the exact same layout and background styling (absoluteFillObject, fullScreenLoading, w100, flex1) so the loading state remains pixel-perfect identical. Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
…ject Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
|
Fixed the failing check: replaced deprecated |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
| style={styles.flex1} | ||
| reasonAttributes={{context: 'ProfilePage', isLoading}} | ||
| /> | ||
| <View style={[StyleSheet.absoluteFill, styles.fullScreenLoading, styles.w100, styles.flex1]}> |
There was a problem hiding this comment.
| <View style={[StyleSheet.absoluteFill, styles.fullScreenLoading, styles.w100, styles.flex1]}> | |
| <View style={[StyleSheet.absoluteFill, styles.fullScreenLoading]}> |
There was a problem hiding this comment.
Applied! Removed the redundant styles.w100 and styles.flex1 since StyleSheet.absoluteFill already handles positioning.
Co-authored-by: situchan <situchan@users.noreply.github.com> Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppios.moviOS: mWeb SafariMacOS: Chrome / Safariweb.mov |
|
🤖 Code Review The change looks correct. The replacement
The migration rationale (preparing for No issues found. ✅ |
|
Codex Review: Didn't find any major issues. 🚀 ℹ️ 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 |
|
🤖 PR has been marked as ready for review. |
|
🚧 @Julesssss has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 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 are required for this PR. This is a purely technical change — swapping |
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.3.59-4 🚀
|
Explanation of Change
Replaces
FullscreenLoadingIndicatorwith aView-wrappedActivityIndicatorinProfilePage.tsx. This is part of the loading indicator standardization effort —ProfilePagerenders aHeaderWithBackButton, so whenshouldUseGoBackButtonis enabled by default inFullscreenLoadingIndicator, users would see two back controls. The replacementViewreproduces the exact same styles (StyleSheet.absoluteFillObject,fullScreenLoading,w100,flex1) so the loading state is pixel-perfect identical.Fixed Issues
$ #85382
Tests
Offline tests
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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari