[HOLD for payment + bonus] Make bank account loading animations consistently top docked in the right hand pane
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
- Open New Expensify
- Click "+"
- Click "Create Workspace"
- Click "Get Started"
Expected Result:
We expect all loading animations in the bank account connection flow to be positioned at the top of right hand pane here:

Actual Result:
Some loading animations are positioned in the center here (Validate step):

And here (clicking Get Started)

https://user-images.githubusercontent.com/36425901/129765531-565686a8-546e-4771-b682-87a702b8c08b.mov
Workaround:
Simply ignore, this is a design change.
Platform:
Where is this issue occurring?
- Web
- iOS
- Android
- Desktop App
- Mobile Web
Version Number: v1.0.85-9 Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation Expensify/Expensify Issue URL:
Triggered auto assignment to @arielgreen (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.
Thinking this is a good external candidate issue
Proposal
We do pass the below styles to that component for the loading animation view
https://github.com/Expensify/App/blob/6b3a938b3074ec64816ea5188683f383171543c9/src/styles/styles.js#L1789-L1796
We could remove the justifyContent: 'center' that solves the issue.
We could modify and create a new style for this Component alone.
I'll update more after further investigation thanks!
Updated Proposal
After investigation, I conclude that we should create a new style. Because it was used by common FullScreenLoadingIndicator also!
So, we could create a new style as below in styles.js
And use it in the below line, https://github.com/Expensify/App/blob/d386f424a00b9026729342cdab58091b0c2c0ad8/src/components/VBALoadingIndicator.js#L13
Like this

Demo Video
https://user-images.githubusercontent.com/85645967/129773177-5d322fc6-a092-4421-b647-21d0c10ae8b7.mov
Also, I noticed in the expected Image there is a nav header with a close option it's not available currently will add that post discussion!
Also, a different message is shown, will update that too based on the input. Thanks!
Triggered auto assignment to @TomatoToaster (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
Triggered auto assignment to @kadiealexander (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Applying the label so a posting can be made. Agreed this can be external (and there's a proposal a few comments up)
Upwork post: https://www.upwork.com/jobs/~0176449bcbd8e3cd2c
Triggered auto assignment to @Jag96 (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Still waiting on proposals, double-checked that the links were still in the job post (they're still good).
@Jag96 when you get a moment could you please take a look at @Santhosh-Sellavel's proposal above?
@Santhosh-Sellavel your updated proposal looks good on web, one thing I noticed on mobile is that the indicator is pretty close to the top, maybe we can add update the style to ensure it has some more space on mobile as well? Tagging @Expensify/design to confirm we'd want to add more space:
Also, I noticed in the expected Image there is a nav header with a close option it's not available currently will add that post discussion!
@MitchExpensify is this something we want to add to the steps in the beginning? I thought we only had these for certain steps in the flow, but not sure. If we end up wanting to update every step to show the title while the loading screen is active I think we should create a new issue, since that increases the scope of work here.
@Santhosh-Sellavel also could you apply to the Upwork job so once design clarifies we can accept your proposal and get an offer sent over?
![]()
Also, I noticed in the expected Image there is a nav header with a close option it's not available currently will add that post discussion!
Also, a different message is shown, will update that too based on the input. Thanks!
@Jag96 Any thoughts on this? Can we skip it now?
@kadiealexander @Jag96 Applied for the job on Upwork, thanks!
I think we can skip updating the Nav Header for this issue, I will defer to @MitchExpensify about the copy change and I'll defer to @Expensify/design regarding the spacing on the top on mobile. Once we get clarification on those 2 items you're good to move forward with a PR. cc @kadiealexander
In terms of spacing, I would expect this view to look like this where we have a header above the empty state:

cc: @shawnborton @Jag96
We have a header height defined as 65 here
https://github.com/Expensify/App/blob/95bf36d950f57d01ae37af2e0d8f2e664a273b75/src/styles/variables.js#L2
So we can just add a marginTop: variables.contentHeaderHeight to the below style which proposed earlier. (Along with a temporary comment saying "until header is added leaving a void space.")
This is how it looks,
iOS

Web
https://user-images.githubusercontent.com/85645967/130638916-d3298848-68ff-4d56-838a-4c0c31af6023.mov
Apologies for the confusion here, but why can't we use a header here? I would say that if there is no actual header that is shown, we just center the content in the view. But that being said, I don't particularly like the idea of showing this view without a header, which means there is no way to exit if things get stuck.
Are you suggesting a header with just a close button, no title?
P.S we can use a header component itself