-
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
[$1000] Chat is not marked as read when receiving messages while in the report #23733
Comments
Triggered auto assignment to @sonialiap ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~01fb57ede1a93ebb92 |
Current assignee @sonialiap is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Follow up to #23729 |
ProposalNote: I was able to reproduce this issue on Web too, so it was not only on mobile.See below video. Screen.Recording.2023-07-27.at.23.43.52.movPlease re-state the problem that we are trying to solve in this issue.When a user has a report opened and a new message is received, the message is not marked as read. What is the root cause of that problem?The RC of this issue is the following function showReportActionNotification logic as it is the entrypoint of any newly received message in a report. Whenever a new message is received, this function is triggered and it calculates if a notification should be shown to the user for that message or not using the Further down we can see the call to the method If the guard clause mentioned above prevents the notification to be sent to the user, the function returns and It can be seen here in What changes do you think we should make in order to solve the problem?The call to the
What alternative solutions did you explore? (Optional)N/A |
@Talha345 Can you please check if you are still able to reproduce on web, when having the changes from these PR in your branch: I believe you haven't. I think when making the proposal its important to be up to date with the latest state of the branch. |
@hannojg my local branch was updated with main and I had the changes from this PR of yours while testing. The reproduction video for web I shared above in my proposal, already had these changes. |
@sonialiap, @fedirjh Eep! 4 days overdue now. Issues have feelings too... |
Reviewing shortly. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Hey, I think this needs to be retested on the latest staging / production version! |
@hannojg Reproduced on latest staging just now. unread-04-08.1.1.mov |
I am unable to reproduce it in the latest staging build 🏷️ CleanShot.2023-08-06.at.17.17.24-converted.mp4 |
@fedirjh Pretty strange because I am able to reproduce on the same version of STG.I also tried it with a new account but couldn't reproduce on it so I am guessing it is a specific edge case. Screen.Recording.2023-08-06.at.18.36.43.movmWeb: WhatsApp.Video.2023-08-06.at.6.42.51.PM.mp4 |
Current assignee @sonialiap is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
Reassigned C+ per the request #23733 (comment) |
Hm okay, will double check! You are using the original reproduction steps or any other ones? |
Yes, I am using the reproduction steps mentioned in this issue and have also shared multiple videos in the comments above.You can also see my proposal as to what I think is causing this problem. I just noticed the links to code in my proposal have deviated because the proposal is 3 weeks old and a lot of changes have been made in the codebase but I hope you will be able to understand it |
@sonialiap, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@sonialiap, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@Talha345 can you test again on latest main? I am also not able to reproduce. unread.mov |
@situchan I am no longer able to reproduce this on either platform in dev on latest main but I am still able to reproduce it on STG.Lets wait a day or two and we can test again on STG to see if the issue is no longer present. |
@sonialiap @situchan this issue is now 4 weeks old and preventing us from maintaining WAQ, can you:
Thanks! |
Current assignee @situchan is eligible for the Internal assigner, not assigning anyone new. |
@sonialiap, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I cannot reproduce on staging or production either. Seems like the issue is resolved Please reopen if the issue shows up again |
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:
Break down in numbered steps
On mobile
Expected Result:
Describe what you think should've happened
The chat should be marked as read
Actual Result:
Describe what actually happened
The chat will still appear as unread
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.46-0
Reproducible in staging?: Y
Reproducible in production?: Y
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
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @hannojg
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: