-
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-10-04] [$250] Chat - New message line marker shown in the wrong position #49525
Comments
Triggered auto assignment to @kadiealexander ( |
@kadiealexander 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 |
@kadiealexander Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~021838488357896477944 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
We have a PR that addresses a different bug in the mark as unread functionality from issue#47817 that I worked on. The result of that PR is that the marker line does not show on the main chat when a message in a thread is marked unread. If it is expected that the thread itself also shows as unread than I can work on this issue after the initial one is merged. IMO the New Message marker here would be confusing as it creates the idea that all messages in the main chat are unread were in fact only in the thread there are unread messages. We should add an indicator in the thread itself, for example if the user has 4 replies and 1 is new based the mark unread functionality, we can show: "1 New reply" instead of "4 Replies". FYI @mollfpr |
Edited by proposal-police: This proposal was edited at 2024-09-25 08:33:00 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.New message marker is shown after coming back from a thread. What is the root cause of that problem?When we coming back from a thread, only part of the report actions are shown in the list. Let say we have message 1-5, go to thread 2 and come back, only message 1-2 are initially visible becuase of comment linking. There is a App/src/pages/home/report/ReportActionsList.tsx Lines 276 to 286 in accea60
When all report actions are rendered, the App/src/pages/home/report/ReportActionsList.tsx Lines 223 to 246 in accea60
This happens after #48445. Previously, we only update What changes do you think we should make in order to solve the problem?Revert the changes from #48445 since #47735 is not happening anymore. What alternative solutions did you explore? (Optional)Since the
|
@bernhardoj Thanks for the proposal.
This seems to be where things take a wrong turn. The previous logic makes more sense because the unread marker should not be less than the report last read time. i think it's best to revert the recent change and find another solution to #47735 |
You're right. I wasn't considering the case where the action created is smaller than the last read time because of comment linking. I have updated my proposal to revert #48445 and after reverting it, I can't repro #47735 anymore after #49367 is merged, specifically this line of changes. |
@bernhardoj this issue was opened before #49367 was merged so I don't think it caused it |
@bernhardoj After discussion we will just have the assigned C+ on the linked issue revert the PR |
🎀 👀 🎀 For engineer PR revert review |
Triggered auto assignment to @dangrous, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Left one comment on the linked PR. Do I need to assign anyone here or are we all set? |
All set |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.40-6 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-10-04. 🎊 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:
|
No checklist needed. We just reverted the offending PR. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.38-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
No new line marker gets shown
Actual Result:
New line marker shown under the message which has a reply
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6608923_1726754307057.video_2024-09-19_16-54-39.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kadiealexanderThe text was updated successfully, but these errors were encountered: