-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[$500] Chat is showing bold in the LHN for the sender #36959
Comments
Triggered auto assignment to @isabelastisser ( |
Job added to Upwork: https://www.upwork.com/jobs/~014244c90b04778060 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Updated reproducible steps in OP, removed @mananjadhav please prioritize this. Also, please try to reproduce and post your results. Internal thread in #vip-vsb about too @isabelastisser |
ProposalPlease re-state the problem that we are trying to solve in this issue.We should never show the LHN as bold when the sender sends the message. What is the root cause of that problem?We do a naive timestamp comparison when we determine if something is unread. This has an underlying assumption that the sender has the current chat open, so the report's last read timestamp will match the last sent timestamp. This logic fails under the reproducible steps of this ticket. What changes do you think we should make in order to solve the problem?We can enhance the current isUnread logic to consider the sender of the last message so that it won't mark it as unread if the sender is me.
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Chat is showing bold in the LHN when the message is send by the user itself. What is the root cause of that problem?This line of code below is causing to set the
it causes to apply style styles.sidebarLinkTextBold here
This change was introduced in commit c4de9b2
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @Julesssss ( |
As far as I can tell from testing this isn't reproducible on production, so I'm adding the
Thread in expensify-bugs here. |
I can reproduce it on production, so I'm removing the label. Also, this doesn't seem bad enough to hold the deployment on IMO. Just an annoyance with an easy workaround. *to reproduce on mobile you have to minimize the app immediately after sending the message, instead of switching chats. repro-prod.mov |
Ah nice, I tried a bunch and couldn't on web prod. Interesting a bunch of people have only started running into it in the last day judging by the multiple reports coming in as well. Anyway, agree if it's on prod it's not a deploy blocker. 👍 (FWIW, I don't agree with the sentiment that this type of bug in the core flow of day-to-day chat use wouldn't warrant being a blocker). |
Cool. Yeah, I swear I noticed this on Monday/Tuesday.
In my case |
It looks like the real fix will be to return For internal employees. here's the potential solution |
Okay, sorry but based on this message looks like I should be sticking with wave 5/6 work. Depending on other tasks I will be happy to pick this back up if we get it attached to a wave. |
This issue came up in #top-tier and we've escalated it to a fireroom. |
Sending PR |
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.42-4
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: @mallenexpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1708372588901089
Action Performed:
If the above doesn't work, vary the speed in which you 'quickly navigate to another chat'? I've been able to reproduce it by very-quickly navigating sometimes, other times I've had to wait a second then navigate to another chat.
Expected Result:
Chat I sent to user A to NOT show as bold
Actual Result:
Chat is bold
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
2024-02-20_13-06-17.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: