Conversation
…berPage PhoneNumberPage renders HeaderWithBackButton and FullscreenLoadingIndicator as siblings. When shouldUseGoBackButton becomes the default, users would see two back controls. Replace with View + ActivityIndicator to avoid the conflict while preserving the same visual appearance. 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 Prettier check: the |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
| reasonAttributes={{context: 'PhoneNumberPage', isLoadingApp} satisfies SkeletonSpanReasonAttributes} | ||
| /> | ||
| <View | ||
| style={[styles.flex1, styles.pRelative, styles.justifyContentCenter, styles.alignItemsCenter, StyleUtils.getBackgroundColorStyle(theme.componentBG), {opacity: 0.8}]} |
There was a problem hiding this comment.
@MelvinBot we already have defined style - fullScreenLoading. Apply same fix as #84798
<View style={[styles.flex1, styles.fullScreenLoading]}>
There was a problem hiding this comment.
Applied — replaced the inline styles with styles.fullScreenLoading and removed the now-unused useStyleUtils and useTheme imports.
Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
|
@MelvinBot mark as ready for review |
|
Marked as ready for review! ✅ |
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeiOS: mWeb Safari |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Good for product
Julesssss
left a comment
There was a problem hiding this comment.
Good test cases, thanks!
|
🚧 @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! 🧪🧪
|
|
✋ 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/Julesssss in version: 9.3.40-0 🚀
|
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 9.3.40-0 🚀
|



Explanation of Change
Replaces
FullscreenLoadingIndicatorwith aView+ActivityIndicatorinPhoneNumberPage.tsx.PhoneNumberPagerendersHeaderWithBackButtonandFullscreenLoadingIndicatoras siblings. As part of the loading indicator standardization (preparing to enableshouldUseGoBackButtonby default), this would result in two back controls. Since the header already provides navigation,FullscreenLoadingIndicatoris unnecessary — a plainActivityIndicatorwrapped in a styledViewis sufficient.The replacement
Viewreplicates the exact styles fromFullscreenLoadingIndicator'sfullScreenLoadingstyle:componentBGbackground color,0.8opacity, and centered layout. This follows the same pattern already applied inProfilePage.tsx.Fixed Issues
$ #84989
PROPOSAL: #84989 (comment)
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