Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD for payment + bonus] Make bank account loading animations consistently top docked in the right hand pane #4696

Closed
MitchExpensify opened this issue Aug 17, 2021 · 42 comments
Assignees
Labels
Engineering External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement. Reviewing Has a PR in review Weekly KSv2

Comments

@MitchExpensify
Copy link
Contributor

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:

  1. Open New Expensify
  2. Click "+"
  3. Click "Create Workspace"
  4. 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:

image

Actual Result:

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

And here (clicking Get Started)
image

Loading.nimation.copy.a.bit.off.when.hitting.Get.Started.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:

View all open jobs on GitHub

@MitchExpensify MitchExpensify added AutoAssignerTriage Auto assign issues for triage to an available triage team member Daily KSv2 labels Aug 17, 2021
@MelvinBot
Copy link

Triggered auto assignment to @arielgreen (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@MelvinBot MelvinBot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Aug 17, 2021
@MitchExpensify
Copy link
Contributor Author

Thinking this is a good external candidate issue

@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Aug 17, 2021

Proposal

We do pass the below styles to that component for the loading animation view

App/src/styles/styles.js

Lines 1789 to 1796 in 6b3a938

fullScreenLoading: {
backgroundColor: themeColors.componentBG,
opacity: 0.8,
justifyContent: 'center',
alignItems: 'center',
zIndex: 10,
},

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!

@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Aug 17, 2021

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

Screenshot 2021-08-17 at 10 48 10 PM

And use it in the below line,

<View style={[StyleSheet.absoluteFillObject, styles.fullScreenLoading]}>

Like this
Screenshot 2021-08-17 at 10 47 39 PM

Demo Video

Fix.Demo.mov

@Santhosh-Sellavel
Copy link
Collaborator

Screenshot 2021-08-17 at 11 04 44 PM

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!

@MelvinBot
Copy link

Triggered auto assignment to @TomatoToaster (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@arielgreen arielgreen added the Improvement Item broken or needs improvement. label Aug 17, 2021
@arielgreen arielgreen removed their assignment Aug 17, 2021
@TomatoToaster TomatoToaster added the External Added to denote the issue can be worked on by a contributor label Aug 17, 2021
@MelvinBot
Copy link

Triggered auto assignment to @kadiealexander (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@TomatoToaster
Copy link
Contributor

Applying the label so a posting can be made. Agreed this can be external (and there's a proposal a few comments up)

@TomatoToaster TomatoToaster removed their assignment Aug 17, 2021
@kadiealexander
Copy link
Contributor

@MelvinBot MelvinBot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 18, 2021
@MelvinBot
Copy link

Triggered auto assignment to @Jag96 (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@kadiealexander
Copy link
Contributor

Still waiting on proposals, double-checked that the links were still in the job post (they're still good).

@MelvinBot MelvinBot removed the Overdue label Aug 22, 2021
@kadiealexander
Copy link
Contributor

@Jag96 when you get a moment could you please take a look at @Santhosh-Sellavel's proposal above?

@Jag96
Copy link
Contributor

Jag96 commented Aug 23, 2021

@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?

@Santhosh-Sellavel
Copy link
Collaborator

Screenshot 2021-08-17 at 11 04 44 PM

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?

@MelvinBot MelvinBot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 24, 2021
@Jag96 Jag96 added Weekly KSv2 and removed Daily KSv2 labels Aug 24, 2021
@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Aug 24, 2021

Need title copy and new message copy @Jag96 with translations
cc: @MitchExpensify

@MitchExpensify
Copy link
Contributor Author

Title: "One Moment"

Message: "We are taking a look at your information. You will be able to continue with next steps shortly."

@Jag96
Copy link
Contributor

Jag96 commented Aug 24, 2021

@MitchExpensify so currently we are showing that on the VBA loading screen, I think we need the content for what the header should be, similar to the Validate header:

Validate Header Need Header value
image image

Should the header value be whatever step the user just filled out? So after they hit Submit on the Add Bank Account screen, should the value on the loading screen be Add Bank Account? Or do we want to just have it be a static header title like One Moment?

@MitchExpensify
Copy link
Contributor Author

I think a static "One Moment" header is fine personally

@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Aug 24, 2021

@MitchExpensify @Jag96 like this?
Simulator Screen Shot - iPhone 12 - 2021-08-24 at 21 50 39

@MitchExpensify
Copy link
Contributor Author

That works for me @Santhosh-Sellavel

I notice the Validate message is left aligned and the One Moment message is center aligned. Which should we commit to @shawnborton ?

@shawnborton
Copy link
Contributor

shawnborton commented Aug 24, 2021 via email

@Santhosh-Sellavel
Copy link
Collaborator

Are we all good with this @shawnborton @Jag96 @MitchExpensify
#4696 (comment)

@Jag96
Copy link
Contributor

Jag96 commented Aug 24, 2021

Looks good to me!

@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Aug 24, 2021

These are existing translations:

oneMoment: 'Un momento...',
oneMoment: 'One moment...',

Can update I like this,

oneMoment: 'One Moment', // en
oneMoment: 'Un Momento', // es

Are the above translations okay?
Let confirm this alone One Moment or One moment?

@Jag96 @MitchExpensify

@Jag96
Copy link
Contributor

Jag96 commented Aug 24, 2021

If those are no longer used then I think you're good to update them. I'd go with One Moment since we follow that capitalization in a few places (ex - Change Password)

@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Aug 24, 2021

@Jag96 VBA Animation is broken in android
Can I post a separate issue for this?

VBA.Android.Broken.mov

or handle it here?

@Santhosh-Sellavel
Copy link
Collaborator

@Jag96 need to update the fresco version here to 2.5.0

implementation 'com.facebook.fresco:fresco:2.3.0'
implementation 'com.facebook.fresco:animated-gif:2.3.0'

@Jag96
Copy link
Contributor

Jag96 commented Aug 24, 2021

@Santhosh-Sellavel good catch, can you update the fresco version as part of #4805?

@Santhosh-Sellavel
Copy link
Collaborator

Sure @Jag96!

@Santhosh-Sellavel
Copy link
Collaborator

@Jag96 Will get a bonus for this issue 😂 ✌️?

@Jag96
Copy link
Contributor

Jag96 commented Aug 24, 2021

@Santhosh-Sellavel yes we can add a bonus for the extra work you did on this one 👍

@shawnborton
Copy link
Contributor

Looks good to me 👍

@Jag96 Jag96 added the Reviewing Has a PR in review label Aug 25, 2021
Jag96 added a commit that referenced this issue Aug 27, 2021
@Jag96 Jag96 changed the title Make bank account loading animations consistently top docked in the right hand pane [HOLD for payment] Make bank account loading animations consistently top docked in the right hand pane Aug 27, 2021
@Jag96 Jag96 changed the title [HOLD for payment] Make bank account loading animations consistently top docked in the right hand pane [HOLD for payment + bonus] Make bank account loading animations consistently top docked in the right hand pane Aug 27, 2021
@kadiealexander
Copy link
Contributor

Paid with bonus today (7 days after deployment to production).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement. Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants