-
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
[$500] mWeb - LHN - IOU chat is not ordered under pinned messages in LHN #31221
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01fd8b81f64cb92084 |
Triggered auto assignment to @joekaufmanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.IOU chat is not ordered under pinned messages in LHN What is the root cause of that problem?The main problem is that when we generate a list of Pinned and GBRReports(with IOUs elements), the elements are a part of the same array Lines 187 to 188 in f285c9c
What changes do you think we should make in order to solve the problem?To fix this In my understanding it will look like this
Lines 185 to 196 in f285c9c
Then we need to sort these arrays (I think the first stage can be implemented within sorting, but it will be difficult to read)
Lines 199 to 200 in f285c9c
And at the end create a new list
Line 217 in f285c9c
What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb - LHN - IOU chat is not ordered under pinned messages in LHN What is the root cause of that problem?Lines 172 to 188 in f0fb7a8
We combined the pinned report and GBRReport in the same section and the order of these report in this section is sort by the display name What changes do you think we should make in order to solve the problem?Let's see this comment
I think we should put the pinned report and GBRReport into 2 sections separately and display the pinned report before GBRReport What alternative solutions did you explore? (Optional) |
@puneetlath @greg-schroeder I see that you have context that relate to this issue in here could you help to confirm the expected ? |
Going to triage this today |
Ah yes, we have changed the ordering so that pinned and GBR (green dot) are treated the same. So they will be mixed together. @lanitochka17 we might need to update our regression tests to account for this. |
Thanks for the ping - Have updated the following TC to mention that pending IOUs (green dot) and pinned chats are at the same level for ordering: |
Thanks! Going to go ahead and close this. |
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: 1.3.98-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:
Preconditions:
Steps:
Expected Result:
The chats should be ordered by Pinned > Outstanding IOUs > Drafts > Other chats
Actual Result:
IOU chat is not ordered under pinned messages in LHN
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6271919_1699656039683.Recording__1363.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: