Replace FullscreenLoadingIndicator with ActivityIndicator in WorkspaceOwnerChangeWrapperPage#88741
Conversation
…eOwnerChangeWrapperPage The workspace owner change flow screen has a HeaderWithBackButton, so using FullscreenLoadingIndicator would show duplicate back controls once shouldUseGoBackButton is enabled by default. Replace it with an ActivityIndicator wrapped in a View that reproduces the same layout and background styling (absoluteFillObject, fullScreenLoading, w100). Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
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 |
|
Updated the PR body with Tests/QA Steps and checked off all author checklist items as verified by |
| <View style={[styles.containerWithSpaceBetween, error !== CONST.POLICY.OWNERSHIP_ERRORS.NO_BILLING_CARD ? styles.ph5 : styles.ph0, styles.pb0]}> | ||
| {isLoading && <FullScreenLoadingIndicator reasonAttributes={reasonAttributes} />} | ||
| {isLoading && ( | ||
| <View style={[StyleSheet.absoluteFill, styles.fullScreenLoading, styles.w100]}> |
There was a problem hiding this comment.
@MelvinBot remove styles.w100 if redundant. And pull main
StyleSheet.absoluteFill already provides full width via left: 0 and right: 0, making styles.w100 unnecessary. Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
…icatorInWorkspaceOwnerChange Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
|
Removed redundant |
|
@MelvinBot mark as ready for review |
|
Marked this PR as ready for review as requested by |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: mWeb Safari |
|
PR doesn’t need product input as a refactor PR. Unassigning and unsubscribing myself. |
|
@Julesssss looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
✋ 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.3.75-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This is a purely internal UI refactor that replaces |
|
There is no "Transfer Ownership" button when the owner selects another member. Which preconditions should we follow? cc @Julesssss @Expensify/pullerbear @situchan Web-No-Transfer-Ownership-button.1.mp4 |
|
@IuliiaHerets Please try this: (referenced from #67989 which added this feature) Precondition:
@MelvinBot update QA Steps. Not workspace owner but admin should see transfer option. |
|
Updated the QA Steps to clarify that User A should be an admin (not the workspace owner). The steps now include the preconditions and flow from |
|
Does this PR apply to Native apps? ScreenRecording_05-18-2026.12-51-49_1.MP4 |
@IuliiaHerets this is precondition but feel free to check off if web test is fine. |
I don't remember which hadn't completed, but it was a minor safe change |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.3.75-14 🚀
Bundle Size Analysis (Sentry): |


Explanation of Change
As part of the loading indicator standardization (#69850),
WorkspaceOwnerChangeWrapperPageusesFullscreenLoadingIndicatoralongside aHeaderWithBackButton. OnceshouldUseGoBackButtonis enabled by default, users would see two back controls. This replacesFullscreenLoadingIndicatorwith anActivityIndicatorwrapped in aViewthat reproduces the exact same layout and background styling (StyleSheet.absoluteFill,fullScreenLoading,w100), so the loading state is visually identical but without the Go Back button capability.Fixed Issues
$ #85393
Tests
Offline tests
QA Steps
Precondition:
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