-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-06-13] [$250] Chat - Unread message marker disappeared for next message if user stays in chat #39871
Comments
Triggered auto assignment to @Christinadobrzyn ( |
@Christinadobrzyn FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #vip-vsp |
Asking qa team for some clarification on how they are getting the unread line - https://expensify.slack.com/archives/C9YU7BX5M/p1712624387659049 |
ProposalPlease re-state the problem that we are trying to solve in this issue.a new message marker persist and it's still displayed over the original unread message What is the root cause of that problem?We have the logic to call App/src/pages/home/report/ReportActionsList.tsx Lines 248 to 251 in 4f67357
This logic is triggered when there's new message comes in (lastVisibleActionCreated get changed), and the report is unread. After calling we reset unread indicator here App/src/libs/actions/Report.ts Line 995 in 4f67357
so the unread indicator disappear What changes do you think we should make in order to solve the problem?This logic is added to reset unread indicator when users mark as read manually so we need to create the flag(shouldResetUnread) with default value is false and pass it true in here Finally, reset unread indicator only if What alternative solutions did you explore? (Optional)NA Resultweb-resize.mp4 |
@tienifr do you know what the issue is here? I got this second video from QA but I still think this is behaving as expected. I don't understand what we need to change here... green.line.repro.mp4 |
Asking the Vip-vsb team for a buddy check if this is a bug - https://expensify.slack.com/archives/C066HJM2CAZ/p1712802929200679 |
@Christinadobrzyn I think if users are in the chat, and then there's new message come in, we shouldn't remove the unread marker. Users may be uncomfortable if it's removed while they're reading the older message |
Based on the convo in slack it sounds like the behaviour in the video is behaving as expected. @tienifr I agree that we could come back to the 'unread' behaviour changes as a feature request but for the time being, this doesn't appear to be a bug so closing. |
Commented in the thread because I feel like we should fix this |
Ah thanks Monil, I updated the expected results in the OP of this GH based on the convo here. I think this can be external? |
Job added to Upwork: https://www.upwork.com/jobs/~017cac380aa031e55a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
Thanks Christina I'm self assigning myself |
@tienifr many things might have changed since your proposal. Do you want to take a look and share updated proposal? |
@MonilBhavsar @eh2077 I tested my proposal and it worked well without any updates |
Okay cool! Thanks for confirming. Since we're updating root logic, can we please make sure to test all cases to make sure we don't break it again Tests
|
@MonilBhavsar Thanks for sharing rich test cases. @tienifr 's proposal looks good. I agree with their RCA and solution. I think we can verify these tests in PR. @MonilBhavsar All yours. 🎀👀🎀 C+ reviewed |
Current assignee @MonilBhavsar is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
watching #42568 |
1 similar comment
watching #42568 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.79-11 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-06-13. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payouts due:
Upwork job is here. @eh2077 do we need a regression test? |
Just a heads up! We should correct the Testrail case that was updated previously |
Just a heads up - I'm going to be ooo until June 24th so going to assign a teammate to pay this out once we have the regression test |
Triggered auto assignment to @puneetlath ( |
@puneetlath when we have a regression test, can you please pay out based on this payment summary? @MonilBhavsar @eh2077 if I understand correctly, the new regression test is going to replace the existing one? |
We should correct the existing regression test with the correct expected behavior. Currently, the test is testing the incorrect behavior that marker should disappear when sending a message. |
@eh2077 bump on the checklist so we can pay. |
Checklist
Regression test
Note Create or update existing regression tests as @MonilBhavsar mentioned #39871 (comment) Do we agree 👍 or 👎 |
Regression test issue: https://github.com/Expensify/Expensify/issues/404987 All paid. Thanks everyone! |
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: 1.4.61-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: https://expensify.testrail.io/index.php?/cases/view/2990295
Issue reported by: Applause - Internal Team
Action Performed:
Preconditions; Two users logged in. User A is in another chat
Expected Result:
Actual Result:
After step 4, a new message marker disappeared
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6442589_1712597097975.unread_message_marker.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ChristinadobrzynThe text was updated successfully, but these errors were encountered: