-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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] Web- User avatar & animation do not load after switching from Inbox to Settings with animation #47041
Comments
Triggered auto assignment to @puneetlath ( |
We think that this bug might be related to #vip-vsb |
@puneetlath 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 |
Job added to Upwork: https://www.upwork.com/jobs/~01721123276553a8a9 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
It seems that this bug is caused by unnecessary state updates, leading to a much more complicated issue than it initially appears. There's an infinite re-rendering loop occurring when navigating from Settings -> Inbox -> Settings. The top-level component is continuously re-rendering, which could be the underlying cause of performance issues and the heating problem noted in issue #36645.
|
@puneetlath after pull new code i don't reproduce this issue |
Interesting, I can still reproduce it 😂 test.mp4 |
The |
Hi, I'm Julian from Callstack - expert agency - and I would like to work on this issue. |
@codewaseem I've removed |
@JKobrynski, ignore my previous comment. I think the root cause is from LottieView (lottie-react-native). I think it doesn't get cleaned up when we navigate away from the settings page. When we return back to the settings page again, it causes infinite renders. If you turn off animation by removing the autoPlay prop, it doesn't cause infinite rerenders anymore. I tried manually starting and stopping the animation with the ref. Used setTimeout, requestIdleCallback, etc, but nothing seemed to work. |
This issue come up while I'm working on another issue and I want to post a proposal on this one. Can we reapply the |
@dominictb I applied a patch to |
No, I mean I figured out the root cause of this issue while working on that issue. The root cause is different, and I want to post a proposal here instead of tampering with the other issue. |
@dominictb sure, go ahead. |
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@dominictb, In the latest code, it seems that the render count for test-render.mp4 |
@puneetlath @ntdiary this was on production 5 days ago. |
@dominictb, yeah, we generally have a 7-day regression period after deploying to production, and the Melvin automation here seems to have failed. |
@puneetlath This is on HOLD for payment. |
I believe we just need to pay this one out from the latest convo |
Ok @ntdiary can you complete the checklist? And @dominictb can you accept the upwork offer? https://www.upwork.com/nx/wm/offer/103887884 |
@puneetlath Curious what's your thought on this comment?
cc @ntdiary |
@puneetlath, are you referring to the BugZero checklist? It seems like it hasn't been posted recently due to melvin's failure. 😂
The testing steps are simple, it's fine to create a regression test. :) Regression Test steps
|
Regression test issue: https://github.com/Expensify/Expensify/issues/434734 @dominictb bump, can you accept the offer? https://www.upwork.com/nx/wm/offer/103887884. Please ping me here when you have. Payment summary:
Thanks everyone! |
@puneetlath Could you have a look at this comment? |
What do you think is fair $500? |
@puneetlath Yes I agree that would be fair given the effort here cc @ntdiary |
Completely agree. :) |
Ok sounds good. I reviewed the thread and it seems fair to me too. I've updated the payment summary. @dominictb please accept the new offer and ping me here when you have: https://www.upwork.com/nx/wm/offer/104356817 |
@puneetlath I did, thanks 🙏 |
Ok good to go. @ntdiary request on NewDot please. Thanks y'all! |
$500 approved for @ntdiary |
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: v9.0.18-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp #46885
Email or phone of affected tester (no customers): applausetester+kh050806@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
User avatar and the animation will load after switching from Inbox to Settings with animation.
Actual Result:
User avatar and the animation do not load after switching from Inbox to Settings with animation.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6565130_1723080112279.20240808_091738.mp4
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ntdiaryThe text was updated successfully, but these errors were encountered: