Conversation
…tWorkspaceSelectionPage Use a View-wrapped ActivityIndicator instead of FullScreenLoadingIndicator to avoid a duplicate back control when shouldUseGoBackButton becomes the default. Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>
|
@MelvinBot mark as ready for review |
|
This PR has been marked as ready for review as requested by |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid.movAndroid: mWeb ChromeiOS: mWeb Safari |
|
@MelvinBot do you have better Tests step? App/src/pages/inbox/sidebar/FloatingActionButtonAndPopover.tsx Lines 624 to 632 in 74dab13 Because of this condition, report is created directly inside default workspace, not allowing me to select workspace |
|
Good catch — the current test steps won't reach Here are updated test steps: TestsPrerequisites: Log in with an account that is a member of 2 or more paid workspaces (Collect or Control type) that have Expensify Chat enabled. Make sure you don't have an active policy set that would auto-select one (or switch to a personal/free workspace first).
Alternative path (if you don't have 2+ paid workspaces):
Offline tests
|
|
@MelvinBot this is better prerequisites:
And apply to all Tests/Offline/QA Steps |
|
Updated the PR description to add the following prerequisites to the Tests, Offline tests, and QA Steps sections:
|
|
✋ 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.41-0 🚀
Bundle Size Analysis (Sentry): |
|
Hi @Julesssss. Is it possible to verify this internally? The QA team doesn't have an account that meets the precondition. |
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.41-4 🚀
|


Explanation of Change
As part of the loading indicator standardization (#69850),
FullScreenLoadingIndicatorwill soon enableshouldUseGoBackButtonby default. InNewReportWorkspaceSelectionPage,HeaderWithBackButtonis always visible alongside the loading indicator, so users already have a way to navigate back. UsingFullScreenLoadingIndicatorhere would result in duplicate back controls.This PR replaces
FullScreenLoadingIndicatorwith aView-wrappedActivityIndicatorthat reproduces the exact same visual output:styles.flex1fills remaining space below the header (same as before)styles.fullScreenLoadingprovides the same background color (theme.componentBG), opacity (0.8), and centered layoutActivityIndicatorfrom@components/ActivityIndicatorauto-appliestheme.spinnercolor and preserves telemetry viareasonAttributesFixed Issues
$ #84991
PROPOSAL: #84991 (comment)
Tests
Prerequisites: Log in with an account where user's billable actions are restricted in default policy and has 2 or more paid workspaces.
NewReportWorkspaceSelectionPageorActivityIndicatorOffline tests
Prerequisites: Log in with an account where user's billable actions are restricted in default policy and has 2 or more paid workspaces.
shouldShowLoadingIndicatoris only true whenisLoadingApp && !isOffline)QA Steps
Prerequisites: Log in with an account where user's billable actions are restricted in default policy and has 2 or more paid workspaces.
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