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

[$250] mWeb - Xero - 2FA animation slides in and out slowly #51254

Open
2 of 8 tasks
IuliiaHerets opened this issue Oct 22, 2024 · 12 comments
Open
2 of 8 tasks

[$250] mWeb - Xero - 2FA animation slides in and out slowly #51254

IuliiaHerets opened this issue Oct 22, 2024 · 12 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Oct 22, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.0.52-1
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: #50790
Issue reported by: Applause Internal Team

Action Performed:

  1. Log in with a Gmail account without 2FA
  2. Create a workspace
  3. Navigate to Workspace settings - More features
  4. Enable "Accounting"
  5. Navigate to Workspace settings - Accounting
  6. Tap on the "Connect" button next to Xero
  7. Dismiss the modal

Expected Result:

The animation should be smooth.

Actual Result:

2FA animation slides in and out slowly.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6641963_1729596764193.JKGS8535.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021849192343033802575
  • Upwork Job ID: 1849192343033802575
  • Last Price Increase: 2024-10-30
Issue OwnerCurrent Issue Owner: @rushatgabhane
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 22, 2024
Copy link

melvin-bot bot commented Oct 22, 2024

Triggered auto assignment to @adelekennedy (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@IuliiaHerets
Copy link
Author

We think that this bug might be related to #wave-collect - Release 2

@IuliiaHerets
Copy link
Author

@adelekennedy FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@zfurtak
Copy link
Contributor

zfurtak commented Oct 22, 2024

I can take care of it immediately 👍

@zfurtak
Copy link
Contributor

zfurtak commented Oct 22, 2024

I tested the cases also without the changes made in my PR and here is the comparison:

Firstly, I think the problem is only related to IOS mweb, on Android it looks correct (in my opinion).

Comparison on Android
android-before.mov
android-after.mov

Secondly - IOS mweb, the slow animation is there even without my modified code, it already looked rather rough. For comparison, I checked in debug mode, but I also looked at the app in production and there's not much difference. Below you can see the behaviour before my changes and after.

It is indeed a bug, but not caused by my code, at most it might be more visible because my code adds a sliding out animation that was not there before.

Comparison on IOS
ios-before.mov
ios-after.mov

However, I can address this bug and try to fix the rough animation as it is a part of our issue to improve the UX.

@situchan
Copy link
Contributor

yup, this is not a regression.

Also QA team stated that Reproducible in production?: Y

@adelekennedy adelekennedy added the External Added to denote the issue can be worked on by a contributor label Oct 23, 2024
@melvin-bot melvin-bot bot changed the title mWeb - Xero - 2FA animation slides in and out slowly [$250] mWeb - Xero - 2FA animation slides in and out slowly Oct 23, 2024
Copy link

melvin-bot bot commented Oct 23, 2024

Job added to Upwork: https://www.upwork.com/jobs/~021849192343033802575

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 23, 2024
Copy link

melvin-bot bot commented Oct 23, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane (External)

@zfurtak
Copy link
Contributor

zfurtak commented Oct 25, 2024

The rough modal's animation is caused by Lottie animation inside the modal.
Just to compare without the Lottie component inside it behaves like below:

Screen.Recording.2024-10-25.at.11.53.43.mov

The only solution I found is a workaround (however far from perfection): to add prop shouldLoadAfterInteractions to Lottie component so the animation loads after opening modal, but it doesn't solve the problem for sliding down.
See how it looks:

Screen.Recording.2024-10-25.at.13.53.52.mov

Copy link

melvin-bot bot commented Oct 29, 2024

@rushatgabhane, @adelekennedy Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot added the Overdue label Oct 29, 2024
Copy link

melvin-bot bot commented Oct 30, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@adelekennedy
Copy link

@rushatgabhane thoughts on the above?

@melvin-bot melvin-bot bot removed the Overdue label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

5 participants