Conversation
…countPageBase As part of loading indicator standardization, replace FullScreenLoadingIndicator with a styled View + ActivityIndicator in VerifyAccountPageBase.tsx to prevent duplicate back controls when shouldUseGoBackButton becomes the default. Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
|
I created this PR from an upstream branch since I don't have push access to your fork. To take ownership of this branch and be able to push updates, run: Then you can close this PR and open a new one from your fork. |
|
The failing check ( Failing test:
Why it's unrelated: This PR only modifies |
| style={[styles.flex1, styles.pRelative]} | ||
| reasonAttributes={{context: 'VerifyAccountPageBase', isUserValidated} satisfies SkeletonSpanReasonAttributes} | ||
| /> | ||
| <View style={[styles.flex1, styles.pRelative, styles.alignItemsCenter, styles.justifyContentCenter, {backgroundColor: theme.componentBG, opacity: 0.8}]}> |
There was a problem hiding this comment.
@MelvinBot use existing styles.fullScreenLoading, similar to #84798
There was a problem hiding this comment.
Updated — replaced the inline styles with styles.fullScreenLoading and removed the now-unused useTheme import, matching the pattern from #84798.
Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
|
The failing check is unrelated to this PR. Analysis: The only non-checklist failure is Evidence: The main branch also has test failures in its recent CI runs (e.g. run 23162452674). This is a pre-existing test issue, not caused by this PR's changes. |
| /> | ||
| <FullScreenLoadingIndicator | ||
| style={[styles.flex1, styles.pRelative]} | ||
| reasonAttributes={{context: 'VerifyAccountPageBase', isUserValidated} satisfies SkeletonSpanReasonAttributes} |
There was a problem hiding this comment.
@MelvinBot restore this prop reasonAttributes. We need it
There was a problem hiding this comment.
Restored the reasonAttributes prop on ActivityIndicator — it accepts the same prop as FullScreenLoadingIndicator did, so the telemetry span is preserved.
Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
|
The failing check is unrelated to this PR. Failing test:
Analysis: This test is for the Evidence: The only file changed in this PR is A new set of checks is currently running and may pass on retry. |
|
@MelvinBot mark as ready for review |
|
Marked this PR as ready for review. |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid.movAndroid: mWeb ChromeiOS: mWeb Safari |
|
🚧 @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 🚀
|
|
Deploy Blocker #85654 was identified to be related to this PR. |
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 9.3.40-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.41-4 🚀
|


Explanation of Change
As part of loading indicator standardization (#69850),
FullScreenLoadingIndicatorwill soon enableshouldUseGoBackButtonby default. InVerifyAccountPageBase.tsx, this component is rendered alongsideHeaderWithBackButton, which would result in duplicate back controls.This PR replaces
FullScreenLoadingIndicatorwith aView-wrappedActivityIndicatorthat reproduces the exact same visual styles (componentBG background, 0.8 opacity, centered large spinner in the flex-filling content area below the header). SinceVerifyAccountPageBaseis a shared base component used by 15+ verify account pages, this single change fixes the loading pattern for all of them.Fixed Issues
$ #84993
PROPOSAL: #84993 (comment)
Tests
VerifyAccountPageBase(e.g. Settings > Contact methods > Validate account)isUserValidatedbecomes trueOffline tests
N/A — this is a pure UI component swap with no network behavior change.
QA Steps
VerifyAccountPageBase(e.g. Settings > Contact methods > Validate account)isUserValidatedbecomes truePR 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