Repository navigation
Replace FullscreenLoadingIndicator with ActivityIndicator in WorkspaceWorkflowsApprovalsCreatePage - #88742
Conversation
…eWorkflowsApprovalsCreatePage Use ActivityIndicator wrapped in a View with fullScreenLoading styles instead of FullscreenLoadingIndicator to avoid double back controls when shouldUseGoBackButton is enabled by default. Follows existing codebase convention (e.g. LoadingPage.tsx). 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 Tests/QA Steps and check off all items in author checklist as verified by me. And pull main |
|
Done! I've updated the PR body with:
Re: merging main — GitHub's signed commit validation is consistently timing out (HTTP 409/502/504) on both the merges API and the update-branch API. This appears to be a transient GitHub-side issue with the |
|
@MelvinBot pull main and mark as ready for review |
|
Marked as ready for review ✅ |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: mWeb Safari |
|
✅ Marked the PR as ready for review. ❌ Merging main failed — GitHub's signed commit validation keeps timing out (HTTP 409: "Unable to validate Require signed commits: Rule was unable to be completed in 10 seconds"). This has been happening persistently across multiple retry attempts. Please try clicking "Update branch" on the PR page manually, or retry later. |
|
🚧 @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.74-7 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This change swaps an internal loading indicator component ( |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.3.74-7 🚀
|


Explanation of Change
Replace
FullscreenLoadingIndicatorwithActivityIndicator(wrapped in a styledView) inWorkspaceWorkflowsApprovalsCreatePage. This avoids showing two back controls (the header back button AND the Go Back button from the loader) onceshouldUseGoBackButtonis enabled by default inFullscreenLoadingIndicator.The replacement
Viewuses[styles.flex1, styles.fullScreenLoading]which provides the same centered layout and background styling (componentBG color, 0.8 opacity). This follows the existing codebase convention seen inLoadingPage.tsxand other similar migrations.Fixed Issues
$ #85395
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