You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-07-24] LHN not displayed after page refresh from settings page #44860
Thank @ShridharGoel proposal, but this issue also happens on other settings screens that use Lottie. This issue only started occurring in a few recent releases, so could you please find the offending PR?
@suneox It has started happening because we have switched to concurrent mode. We can fix this at all places using a common base logic for Lottie animations.
@suneox It has started happening because we have switched to concurrent mode.
@ShridharGoel Thank you. I also tried reverting the code before the merge commit #42592, and the issue doesn’t happen. It only occurs after commit d047467a enabled React concurrent mode.
We can fix this at all places using a common base logic for Lottie animations.
We don’t need to fix this at all places using Lottie; we just need to fix it in Lottie/index.tsx.
@iwiznia We can fix this issue based on this proposal and implement the fix in Lottie/index.tsx. I have tested it, and it works as expected.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.7-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@suneox] The PR that introduced the bug has been identified. Link to the PR:
[@suneox] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@suneox] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@suneox] Determine if we should create a regression test for this bug.
[@suneox] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@sonialiap] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
[@suneox] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A: Due to the offending PR is an infrastructure update.
[@suneox] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
[@suneox] Determine if we should create a regression test for this bug. N/A: This issue has fixed the regression caused by the infrastructure update.
Activity
melvin-bot commentedon Jul 4, 2024
Triggered auto assignment to @iwiznia (
AutoAssignerNewDotQuality)melvin-bot commentedon Jul 4, 2024
Triggered auto assignment to @sonialiap (
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.ShridharGoel commentedon Jul 4, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
LHN not displayed after page refresh from settings page. Also, menu options inside the about page are not clickable.
What is the root cause of that problem?
Coin animation loading freezes the page.
App/src/pages/settings/AboutPage/AboutPage.tsx
Line 148 in 8ec71d6
What changes do you think we should make in order to solve the problem?
We can do an async load of the animation in this way:
Add the below in Lottie/index.tsx:
Now, update to return the below:
This will fix it for all usages of Lottie animations.
suneox commentedon Jul 5, 2024
Thank @ShridharGoel proposal, but this issue also happens on other settings screens that use Lottie. This issue only started occurring in a few recent releases, so could you please find the offending PR?
ShridharGoel commentedon Jul 5, 2024
@suneox It has started happening because we have switched to concurrent mode. We can fix this at all places using a common base logic for Lottie animations.
suneox commentedon Jul 6, 2024
@ShridharGoel Thank you. I also tried reverting the code before the merge commit #42592, and the issue doesn’t happen. It only occurs after commit
d047467aenabled React concurrent mode.We don’t need to fix this at all places using Lottie; we just need to fix it in
Lottie/index.tsx.@iwiznia We can fix this issue based on this proposal and implement the fix in
Lottie/index.tsx. I have tested it, and it works as expected.15 remaining items
melvin-bot commentedon Jul 17, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 17, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.7-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-07-24. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 17, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
suneox commentedon Jul 20, 2024
sonialiap commentedon Jul 24, 2024
Payment summary:
$250$500 - offer sent in upwork - paid ✔️$250$500 - offer sent in upwork - paid ✔️suneox commentedon Jul 24, 2024
@sonialiap Thank you, I have accepted an offer
melvin-bot commentedon Jul 24, 2024
Payment Summary
Upwork Job
BugZero Checklist (@sonialiap)
sonialiap commentedon Jul 25, 2024
This issue was Critical and High Priority so I've adjusted the payouts to $500
suneox commentedon Jul 25, 2024
Thank you. I really appreciate your recognition of our task.