-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
MEDIUM: [$500] Unread indicator is showing in the fevicon even though there is nothing in LHN #31276
Comments
Triggered auto assignment to @miljakljajic ( |
Job added to Upwork: https://www.upwork.com/jobs/~01d98ea368e18737bf |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When requesting money, after completing your request the new notification generated by a logged in user is marked as and unread notification for that user who generated it. This results in a badge being generated unnecessarily on the app icon. What is the root cause of that problem?The root cause seems to be that a user is being notified of their own activity when the onyx event is received What changes do you think we should make in order to solve the problem?Assuming there are no scenarios where a user should be notified of their own activity, it may be the best course of action to simply check that we are not generating notification badges to a user from themself. What alternate solutions did you explore (updated)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.If there is an unread indicator, LHN should have one unread message, but nothing in LHN with unread message. What is the root cause of that problem?We updated
App/src/components/LHNOptionsList/OptionRowLHN.js Lines 92 to 94 in a2cf591
What changes do you think we should make in order to solve the problem?We should check for this case the same way we do in
App/src/components/LHNOptionsList/OptionRowLHN.js Lines 92 to 94 in a2cf591
What alternative solutions did you explore? (Optional)There're 2 places that currently determine whether a report will show in LHN or not, here and here, we can try to combine to one in |
@puneetlath could you please double-check this was not happening simply because of the Concierge chat being unread? This can be easily overseen for the new accounts. |
I think this should be held until this is completed because it will apply changes to |
I think that this issue is a possible duplicate of #28536, or at least has a high chance of getting solved by the associated PR |
@cubuspl42 indeed it does sound very similar to that. @muttmuure perhaps we can put it on hold for #28536 that and then we can have @shawnborton and others who are experiencing this re-test after #28536 is live. |
@puneetlath We're discussing in #31276 right now, it's probably a mistake |
Lol whops, I meant #28536 |
In case this doesn't move forward, please ping also in PR #30133, as Melvin won't remind me about that issue anymore |
Commented in the PR |
Still in review here: #34025 |
Still in review |
Still open |
Not overdue |
Not overdue! |
Held |
PR merged and deployed to production. Taking this off hold. |
Have asked if bug is fixed or not in slack thread https://expensify.slack.com/archives/C049HHMV9SM/p1706532316571099?thread_ts=1699899029.212629&cid=C049HHMV9SM |
@MonilBhavsar, @muttmuure, @situchan Eep! 4 days overdue now. Issues have feelings too... |
This has been working for me for a while now https://expensify.slack.com/archives/C03U7DCU4/p1706112016224459 |
It seems like there are a few PRs that will be eligible for payment here, I need to comb through and figure it out |
OK, so the linked issue was a fix for a regression - #33506 so no payment there. We did get a proposal for this issue above, but since there was an overlap with the regression fix, there was already something solid and we actually didn't need the second proposal. So I am going to close this, but if you think that your work was eligible for payment despite this issue not having a linked PR, please send me a DM! |
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:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
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: @puneetlath
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1699899029212629
Action Performed:
Expected Result:
If there is an unread indicator, LHN should have one unread message
Actual Result:
But nothing in LHN with unread message.
it was caused by this transaction thread, which wasn’t showing up in my LHN, but was considered unread by the logic being used to compute the unread indicator here. We should update the logic of the unread indicator to make sure it matches the logic of the LHN (or even better use shared logic). So that it’s never possible to see the unread indicator when you don’t have anything unread in the LHN.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @muttmuureThe text was updated successfully, but these errors were encountered: