Repository navigation
Use ActivityIndicator below the header while CollectDepositAccount loads - #103420
Conversation
Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@MelvinBot add QA steps |
|
I added QA steps to the PR description. They open the bank account details step directly, which shows the loader under the "Add bank account" header and then redirects to the country step. The steps then cover Next, refresh, and back navigation. I ran steps 1–9 on web, and all passed. The tester saw one spinner under the header and never a second "Go Back" button. The web tooling can't read the JS console, so I couldn't check step 10. Separate observation (likely unrelated to this diff)On dev, hard-reloading the bare |
Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
|
@MelvinBot mark this PR ready for review |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
🤖 This PR is now marked ready for review. The Tests and QA Steps sections still have TODO placeholders for the human co-author. Fill them in before review. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppios.mp4iOS: mWeb SafariMacOS: Chrome / Safariweb.mov |
|
✋ 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.5.6-0 🚀
|
|
No help site update needed. This PR only changes the loading spinner on the Collect Deposit Account page, which is loading behavior that no help article describes. |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.5.6-6 🚀
Bundle Size Analysis (Sentry): |


Explanation of Change
CollectDepositAccountrenders its loading state inside the sameScreenWrapperasHeaderWithBackButtonAndTitle, so the header (and its back button) stays visible above the loader. Once #96098 flipsFullScreenLoadingIndicator'sshouldUseGoBackButtondefault totrue, this page would show a second, redundant "Go Back" button under its own header.This swaps the
FullScreenLoadingIndicatorfor a plainActivityIndicator(large,flex1), matching the pattern already used for loaders under a visible header elsewhere in Wallet (e.g.PersonalCards/steps/BankConnection). Nothing else on the page changes: the loading conditions are the same, and the header keeps its existing back behavior.This is one of the sites found in the re-audit before the flip.
AI tests run locally
npm run lint-changed: passed (the existingrulesdir/no-inline-useOnyx-selectorviolation at theuseOnyxselector line is pre-existing onmainand grandfathered)npm run typecheck: passednpm run react-compiler-compliance-check check <file>: passednpm run spell-changed: passedoxfmt: clean--findRelatedTests: 91/92 suites passed.tests/unit/pages/HomePage.test.tsxfailed only in the parallel run and passes in isolation on both this change andmain, so it's a pre-existing isolation flake.Fixed Issues
$ #96098
PROPOSAL: #96098 (comment)
Tests
// TODO: The human co-author must fill out the tests you ran before marking this PR as "ready for review"
// Please describe what tests you performed that validates your changed worked.
Offline tests
QA Steps
/settings/wallet/collect-deposit-account/bank-account-detailsdirectly (on web, paste it in the URL bar; on native, use the deep link). To keep the loader on screen longer, throttle the network (for example, Slow 3G in browser dev tools).PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.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