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
[PAID] [$250] The preference setting doesn’t work when navigating between chat and settings. #47273
When you switch to another page, the animated illustration keeps running in the background, adding tasks to a queue.
When you switch back, the browser has to process these tasks first, making it unresponsive to actions using the same queue, such as opening a right-side modal.
What changes do you think we should make in order to solve the problem?
Follow @hoangzinh's suggestion. The previous fix didn’t implement it because it wasn’t quite relevant to that issue, but it does resolve this issue.
Moreover, if we can combine useIsFocused and useAppState hooks, I think it would improve performance here.
What alternative solutions did you explore? (Optional)
The drawback of the main solution is that the animated illustration disappears when the right-side modal is open. We can address this with the code below.
changed the title [-]The preference setting doesn’t work when navigating between chat and settings.[/-][+][$250] The preference setting doesn’t work when navigating between chat and settings.[/+]on Aug 19, 2024
[@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.
changed the title [-][$250] The preference setting doesn’t work when navigating between chat and settings.[/-][+][PAID] [$250] The preference setting doesn’t work when navigating between chat and settings.[/+]on Oct 21, 2024
Activity
melvin-bot commentedon Aug 12, 2024
Triggered auto assignment to @strepanier03 (
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.melvin-bot commentedon Aug 16, 2024
@strepanier03 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
QichenZhu commentedon Aug 17, 2024
Edited by proposal-police: This proposal was edited at 2024-08-17 14:26:34 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Pages with animated illustrations become unresponsive after switching to another page and back.
What is the root cause of that problem?
The root cause is similar to #36645 (comment).
When you switch to another page, the animated illustration keeps running in the background, adding tasks to a queue.
When you switch back, the browser has to process these tasks first, making it unresponsive to actions using the same queue, such as opening a right-side modal.
What changes do you think we should make in order to solve the problem?
Follow @hoangzinh's suggestion. The previous fix didn’t implement it because it wasn’t quite relevant to that issue, but it does resolve this issue.
App/src/components/Lottie/index.tsx
Line 36 in 7615898
What alternative solutions did you explore? (Optional)
The drawback of the main solution is that the animated illustration disappears when the right-side modal is open. We can address this with the code below.
strepanier03 commentedon Aug 19, 2024
Confirmed this occurred on v9.0.22-5 after 3 tries.
[-]The preference setting doesn’t work when navigating between chat and settings.[/-][+][$250] The preference setting doesn’t work when navigating between chat and settings.[/+]melvin-bot commentedon Aug 19, 2024
Job added to Upwork: https://www.upwork.com/jobs/~017fa6be05e532f86f
42 remaining items
suneox commentedon Sep 10, 2024
@hungvu193 I’ve verified the new PR for this issue, and it also resolves #47273 (comment). So we will proceed without holding for your referenced issue
suneox commentedon Sep 25, 2024
Bugzero Checklist
suneox commentedon Sep 25, 2024
@strepanier03 This issue has been deployed to production two weeks ago, and the checklist is completed, so we can proceed with payment for this issue.
suneox commentedon Oct 7, 2024
@strepanier03 Friendly bump for payment
QichenZhu commentedon Oct 21, 2024
Gentle bump @strepanier03
strepanier03 commentedon Oct 21, 2024
Sorry for missing this one, the automation to update the title helps so much and when it fails 🤦♀️ it makes it tough. Handling this now.
[-][$250] The preference setting doesn’t work when navigating between chat and settings.[/-][+][PAID] [$250] The preference setting doesn’t work when navigating between chat and settings.[/+]strepanier03 commentedon Oct 21, 2024
This is paid and contracts closed. Sorry again.