-
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 2021-10-07] Notification badge showed 100 unread messages when user only had 1 unread chat #4273
Comments
Triggered auto assignment to @madmax330 ( |
Of note, when I read the 1 unread message I actually did have, it cleared all 100 unnreads. |
Triggered auto assignment to @Christinadobrzyn ( |
@rafecolton Was able to reproduce this. Here's the new intel on the issue:
|
I faced one more instance of it. On Web. I have 126 notifications on the title but I never got that many messages. There is something really bad going on but I may know what. I'll try to debug this by the far end of the next week. |
Posted in Upwork: Internal job: https://www.upwork.com/ab/applicants/1422014297908846592/job-details Invited @parasharrajat to it! |
Triggered auto assignment to @timszot ( |
I had this too. I navigated to my Chronos DM and it cleared but I've no idea why. Also @parasharrajat won't even have that DM, so it can't be specific to it. |
If you have any single unread message and you go to that chat. All unread message count is reset to the updated one. So navigating to any unread chat should clear the count. |
@laurenreidexpensify Was able to reproduce this issue. Thread here https://expensify.slack.com/archives/C01GTK53T8Q/p1627890930045000 She had 1390 "unread messages". When opening chat with Chronos the number went down, messages from thread:
|
It looks like we're still waiting to hire a contributor for this. @parasharrajat would you like to 'officially' take this job or would you prefer I leave it open for other contributors to take a peek? Not sure how full your plate is right now but I know you've been working on lots! |
I think we should still pursue this, as I'm pretty sure it's related to Chronos. I'm seeing pretty consistently when I have one message from Chronos the badge shows two unread messages, and when I stay in the Chronos chat for a few seconds, the badge goes away. cc @deetergp in case the relation to Chronos means this needs to be solved internally. |
@Christinadobrzyn I don't think fixing #4425 will resolve this. The negative count comes in one specific scenario. |
@kadiealexander Published a PR about it with 6 line changes and should be easy to review and see from the change alone that it's unlikely to cause a regression |
Checking with the team on this one @kidroca, will let you know! |
@kidroca the team agrees! Removing the hold on this one, please proceed with the fix. |
I've tested on all platforms and updated the PR with videos for all of them. |
@isagoico The App/src/libs/UnreadIndicatorUpdater/index.js Lines 15 to 18 in b4c876a
It's intended to be an underlying value and not shown to the user, but for some reason it is displayed |
The problem seems to be right here: App/src/libs/UnreadIndicatorUpdater/updateUnread/index.website.js Lines 11 to 15 in b4c876a
As long as the And we can see it's sometimes getting called with
|
I think we should reopen the original issue: #4425 as we're intentionally using the value |
@mallenexpensify @kidroca I think reopening the original issue here makes sense for the |
PR deployed today so holding this for 7 days before payment! |
PR is not yet deployed to PROD |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.3-1 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 2021-10-07. 🎊 |
PR has been in Prod for over 7 days so paid @kidroca in Upwork! I'm currently ooo until 10-17 so I will close this GH/close the Upwork job when I'm back. |
@kidroca has been paid, closing this issue and the Upwork job |
A similar issue was just reported: #7914 (comment) |
The problem in this task (#4273) was caused by |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
There are no solid reproduction steps yet will investigate further and update.
Expected Result:
Notification badge should display the correct amount of unread messages.
Actual Result:
Notification badge is showing incorrect amount of unread messages.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:
Where is this issue occurring?
Version Number: 1.0.80-2
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
View all open jobs on Upwork
From @alex-mechler https://expensify.slack.com/archives/C01GTK53T8Q/p1627488282388000
The text was updated successfully, but these errors were encountered: