-
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
[LOW][$500] LHN – Chat in LHN in not bold if receive a second IOU from new user #37315
Comments
Triggered auto assignment to @mallenexpensify ( |
@mallenexpensify 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 |
Job added to Upwork: https://www.upwork.com/jobs/~014f4d3cd1fd4967db |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @getusha ( |
@getusha do you think this can be external? |
@mallenexpensify i think this can go external |
Current assignee @getusha is eligible for the External assigner, not assigning anyone new. |
ProposalPlease re-state the problem that we are trying to solve in this issue.LHN – Chat in LHN in not bold if receive a second IOU from new user What is the root cause of that problem?We compare lastReadTime with lastVisibileActionCreated to determine Lines 3834 to 3835 in 22cb01c
What changes do you think we should make in order to solve the problem?We should create a new prop in report like Lines 3834 to 3835 in 22cb01c
What alternative solutions did you explore? (Optional)We should add another logic on Alternatively also we can also add a condition that whenever the iou report (under the current report) is Unread the current report also need to be unread that is we get iou Report from the preview report action using |
@FitseTLT do you mind adding a bit more details in your RCA? |
@getusha |
Triggered auto assignment to @yuwenmemon, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@yuwenmemon 👀 on the proposal above when you have a min. |
📣 @getusha 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
I'm confused here. When the initial request is made, it doesn't appear that the chat in LHN is bold ![]() and as part of these steps:
I don't understand why the chat wouldn't be bold and unread if the person hasn't clicked on it. (which isn't the bug but the precursor to the bug (which says that the chat isn't bold the second time) Here's what the testrail shows ![]() @FitseTLT @getusha are either of you able to fill me in on what I might be missing here. Ran into other weirdness while testing too. |
@mallenexpensify as I explained it before this is not a bug but more of a new feature. As the main user A if you create an expense for user B for user B the chat report will be unread because the report preview corresponding to the expense you created is assumed as a new message for the chat report but now if from USER B if you open the chat so that it will be read and then if you navigate to other chat and if you User A again create an expense to user B chat that expense will be added to the report preview and new message/report action is not created on the main chat with user B so User B will not see bold in this case on the chat with the main user. If we want to give an indicator for the user that new expenses have been added on existing reports that is a new feature request and it needs BE changes but was deemed to be not the priority for now. 👍 |
Current assignee @mallenexpensify is eligible for the NewFeature assigner, not assigning anyone new. |
|
Triggered auto assignment to Design team member for new feature review - @dannymcclain ( |
Thanks @FitseTLT , one more thing.... |
@dannymcclain please hold on reviewing til we have a better idea of next steps. |
@mallenexpensify This feels more like a bug to me than a new feature? Shouldn't a new request always mark the chat as unread no matter what type of request? |
Nope @dannymcclain we only mark a chat as unread when new message/report action is created but we only create a new report preview report action for a new expense if there is no open expense/iou report in the chat. If there is a report that is not paid out then a new expense will be added to to that report and new message is only created for the iou/expense report not for the chat report.
@mallenexpensify Though the title says split the testing steps clearly show that it isn't so it is better to remove the Splits from the title 👍 This issue applies to both iou and expense reports. |
Thanks @FitseTLT.
|
I think the best next step is to start a slack convo. I will do it on Monday if you are ok with it 👍 |
Please do @FitseTLT , post in #expensify-open-source and tag all assigned folks on this issue. Thx |
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: v1.4.44-1
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?/tests/view/4343092
Issue reported by: Applause - Internal team
Action Performed:
Preconditions:
2 accounts are needed for this test, 1 logged in the main testing account and the second in a secondary device or browser.
Both accounts should NOT have a existing conversation.
Expected Result:
The conversation is marked as unread after a new request was made
Actual Result:
The conversation is marked as read after a new request was made
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6394156_1709045670737.Screenrecorder-2024-02-27-11-24-06-158.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mallenexpensifyThe text was updated successfully, but these errors were encountered: