-
Notifications
You must be signed in to change notification settings - Fork 3k
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 2024-02-07] [HOLD for payment 2024-02-05] [$500] Desktop - Unread chat becomes unbolded in LHN without opening unread messages #35254
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @mountiny ( |
We think that this bug might be related to #vip-vsb |
Job added to Upwork: https://www.upwork.com/jobs/~0108273261b6247483 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Making this external none of the PRs in checklist stand out to me. Anyone can find which pr caused this? |
I am out for couple hours |
It's caused by #34537 where we read the newest action on visibility change. I think we should return early if the report screen on the stack isn't focused. |
This is regression from #34537, I can raise a PR immediately if assigned ProposalPlease re-state the problem that we are trying to solve in this issue.The chat with User A is unbold as soon as User B focuses on the desktop app without even opening chat with User A. What is the root cause of that problem?In here, we do not check that the current report has focus/is the topmost one before marking it as read, so even when the report is not the topmost one, it's still marked as read when the visibility changes. What changes do you think we should make in order to solve the problem?We should
This will fix the issue and there'll be no redundant event listeners for not-focused reports What alternative solutions did you explore? (Optional)NA |
|
I also have this blocker which seems like it has the same root cause: #35251 Do we know if the proposed solutions can fix both? |
@arosiclair Yes, it's same root cause and my proposed solution will fix both (tested). |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
#35251 and #35254 are same issue. (We can combine into one issue if required). Since its under the regression period @FitseTLT Should fix this. Kindly assign me as C+ as well. |
Raised PR for these and linked to the original issue 👍 |
📣 @abdulrahuman5196 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Reverted the offending PR |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.32-5 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-02-05. 🎊 For reference, here are some details about the assignees on this issue:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.33-5 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-02-07. 🎊 For reference, here are some details about the assignees on this issue:
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.32-2
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR #33779
Action Performed:
Precondition;
Expected Result:
For User B, the chat with User A will remain bold because User B has not opened the chat with unread message.
Actual Result:
The chat with User A is unbold as soon as User B focuses on the desktop app without even opening chat with User A.
On web, the issue is reproducible when the other user switches between tab without even opening the chat with new message.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6355850_1706278998747.20240126_202410.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: