-
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-02-01] [HOLD for payment 2024-01-31] [$250] Chat-No unread marker when chat with the latest text is from you and marked as unread from LHN #31748
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01c2b3a63cdf2318c4 |
Triggered auto assignment to @miljakljajic ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.No unread marker when chat with the latest text is from you and marked as unread from LHN. What is the root cause of that problem?App/src/pages/home/report/ReportActionsList.js Lines 341 to 343 in 14abfa1
Currently, What changes do you think we should make in order to solve the problem?We might delete this code part to show unread marker although the last messgae is sent by the current user. What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.The unread marker is not displayed. This only happens when the latest message comes from the current app user What is the root cause of that problem?When we mark a message as unread from LHN, it will mark the last message as unread as in here. In case the logged in user is the one sending the last message, that message will be marked as unread, which is not correct because the it doesn't make sense for the user to "unread" their own message. So based on this condition, the marker will not be visible on user's own message. In this case we should do the same as Slack does, which is to mark the "latest message that doesn't come from current user" as unread. What changes do you think we should make in order to solve the problem?In here, if We might need BE change as well to follow the same logic. What alternative solutions did you explore? (Optional)If we want to fix the same way for marking unread from report action context menu, we need to pass the Or we can disable |
@mollfpr, @miljakljajic Eep! 4 days overdue now. Issues have feelings too... |
@mollfpr any thoughts on the initial proposals? |
Sorry for the delay; I forgot to reply here. I'm still confused about the expected result. I think we shouldn't allow the user to unmark their message. @miljakljajic Could you confirm if we want to do that, or maybe we want to change the expected result here? Thanks! |
cc: @MonilBhavsar |
Thanks for the mention. I'll take a look |
This issue is only reproducible on Mobile devices
We need to allow users to unmark their own messages. Many chatting apps including slack has this ability. Reason: in case user wants to catch up from that later |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thanks @MonilBhavsar, for confirming it. @akamefi202 @dukenv0307 Why is it working fine on the Web and Desktop? I found a different result for the App/src/pages/home/report/ReportActionsList.js Lines 341 to 343 in 089ddf4
I think that might be why it's checking the marker it's not displayed. |
@mollfpr Because LHN and Report page is separated in mobile app. App/src/pages/home/report/ReportActionsList.js Lines 219 to 220 in 0863b6a
|
@MonilBhavsar Can you also confirm that once unmarking their own message, we should do the same as Slack does, which is to mark the "latest message that doesn't come from current user" as unread?
Yes this is right |
Pretty sure this has changed recently with Slack. One was able to mark any message as unread in slack previously. I think we should keep that out of scope for now, and handle in new issue. Not a priority though. For this issue, we can mark the last message as unread like Web |
@akamefi202 Do you propose removing the check for the current user App/src/pages/home/report/ReportActionsList.js Lines 340 to 343 in 1682be4
|
Proposals in review... |
@dukenv0307 please check the regression linked by @situchan. Thank you! |
@youssef-lr @mollfpr The PR to fix regression is ready for review. |
Upwork job price has been updated to $250 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.31-7 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-01. 🎊 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:
|
Seems this issue is not fully fixed please this issue #35122 |
@MonilBhavsar what's your thoughts on this one? |
@MonilBhavsar can I get some feedback on @Santhosh-Sellavel 's comment above - is #35122 a regression from this issue? |
|
@MonilBhavsar The issue #35122 isn't related to our PR since we updated |
Yes exactly, that's what I thought. |
I think we're good to close this now. |
Okay thanks! |
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.2-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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
The unread marker will be displayed
Actual Result:
The unread marker is not displayed. This only happens when the latest message comes from the current app user
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6287687_1700684028156.RPReplay_Final1700671844.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: