-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Bug: [New Expensify] Unread message shows as bold in the LHN but green line does not appear reported by @gadhiyamanan #11726
Comments
Triggered auto assignment to @slafortune ( |
Reproduced on slafortune@expenisfy.com While the message is bolded indicating a new message was sent - the unread message does not show the “NEW” green line above the unread message. I was not logged into New Expensify when the message was sent - I was logged into New Expensify but not my active window when the message was sent - |
Also - similar issue is reported here -#10736 |
Triggered auto assignment to @marcaaron ( |
This is a pretty frustrating one. Gonna take it internal so we can design and fix it properly, but here's why it happens:
App/src/pages/home/report/ReportActionsView.js Lines 179 to 180 in d0f0dd5
That is the correct behavior when you are already looking at the chat. But doesn't really work as expected when you:
Said another way, we are making a really bad assumption that a "new action appeared" when we only look at the |
A Contributor Manager will be assigned to issue payment via Upwork if we deploy an associated Pull Request to production. Per Contributing.md. |
Eep! 4 days overdue now. Issues have feelings too... |
Triggered auto assignment to @isabelastisser ( |
hey @marcaaron is there anything for me to do here? I reviewed the issue and your comments, and it seems like we're taking this internally, and the payment in Upwork will only need to be made if we deploy an associated Pull Request to production. Unassigning myself. |
I'll assign myself and try to find someone to take this one. |
I think it would be fine to add a test cases for the steps in the PR. There are four test cases and I'm not sure if any of them are covered by the existing test case. |
Ok cool, I'll take this part then. Anything else if the checklist you think we should fill out from a CME perspective? I think the testing scripts was all that applied? |
Still haven't gotten to this one, though on my list. |
Circling back and closing the loop on this today. |
I think this one will need to stay open based on the conversation here. Unfortunately, some changes in my PR to fix this issue will need to be reverted. After that, I'm honestly not too sure what possible solution to apply. There is a general conflict between: showing cached content as fast as possible and showing an accurate placement for the new line indicator. If we want it fast then it will be inaccurate (at least for some amount of time). If we want an accurate placement for the new line then we have to wait for the server to tell us where it should go. By that time, it's not clear whether the behavior would be to show the "new line" or mark the report as "read". I thought about it for a bit and couldn't come up with a clear solution. Anyways, I've worked on this code a lot so I will let some others step up and take a stab at this problem once the revert PR is up. |
Thanks for jumping in, as I was wavering on the best next steps. That said, what do you think about minimally ensuring that TestRail has coverage for the QA steps in #12722? |
Yes, that is the first suggestion in the RCA (of several) |
Ah sorry for crossing wires. Did you ship the RCA yet? I'll make sure to give it a thorough look. |
Working on it. |
Still need to circle back on TestRail. I'll make time for that this week. |
Sorry ya'll, I keep struggling to come back to this one. Crossing this off the list before Thanksgiving kicks in. |
Alright, apologies for the delay here. I think we are good on this regression test, which is covered by this script in TestRail.
Closing this issue. Please re-open if you think I missed something. |
@JmillsExpensify I think the issue is not resolved yet |
Are you sure about that? No one else is assigned to this issue. cc @marcaaron not sure how that happened, but can you clarify? |
still able to reproduce, I think PR reverted due to regression |
Yes, @gadhiyamanan is correct. See my comment here. |
Ah thanks, I forgot about that. So what's our next step in that case? We have a daily on this issue, though we're all not treating it that way, so minimally we should agree on it's priority and update the labels/titles accordingly. |
Tried reproducing the original test steps again and could not. I think we can close for now and create a new issue if it gets reported again. 2022-12-08_09-39-42.mp4 |
issue is reproducible on the latest version Screen.Recording.2023-02-03.at.11.49.24.AM.mov |
@marcaaron I'm not sure what's going on here, and I know we still have some deprecate sequence numbers polish in play. That said, I was able to reproduce the issue all the same. |
Actually, given that we're working on it in the linked issue from Ben and the reporter is the same, let's keep this one closed. |
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:
Expected Result:
Both in the LHN and in the chat shows New message indicator
Actual Result:
No new message indicator inside the chat, only in the LHN it shows as bold as new message indicator
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.12-3
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/195195728-9396a493-a85d-48b3-90ba-b8dc7d876f2b.mp4
https://user-images.githubusercontent.com/43996225/195195752-26184b12-3057-40dc-bac5-e3e67d76a1ff.mov
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1665479496661839
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: