-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Search - Some users are not prioritized over chats or rooms #6627
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @marcochavezf ( |
I am not able to reproduce this on staging. From the vid, it seems the search is not even working. |
I think I was able to reproduce the issue, the users There's no error in the console log of staging, but when I test locally I see these errors (not sure if it's related): I will continue investigating. |
It may be only causing issues for only email entries. |
👋🏽 @Jag96 what could be the next action for this issue? do we remove the deploy blocker label? |
I think that the users that appear below the group chats are user that don't have a existing conversation with the logged in user. |
@marcochavezf I think we can remove the deploy blocker label here since this seems like a case we missed in #6544 instead of a regression. I've posted in slack to double-check how we want to handle this case, but I think we can just make this a follow up to fix the missed case. Removing the deploy blocker label and updating to daily and leaving assigned to me for now, but @isagoico I think we can check off #6544 if there aren't any regressions with search. |
@parasharrajat could you please update the logic from #6544 to include a fix for this? |
📣 @parasharrajat You have been assigned to this job by @Jag96! |
@isagoico Could you please share test account credentials with me to test this issue? I can't reproduce reliably on my testing account. You can slack me if that is the way. Thanks |
@Jag96
I will merge the personalDetails array in the recentReports before sorting. Now
Second, we can divide the let me know. Which one do you like? Both of these approaches will fix the issue of the duplicate rooms as I said here #5699 (comment) Due to the reason that keys are duplicated in the section list and thus old items with the same keys are never removed. At last, I think this should be added as a milestone of the existing contract as this case was missed in the main issue and it is an extension to the old code or not caused by the old PR's code. |
@Jag96 What do you think? I am ready to send the PR. |
@parasharrajat @Jag96's going to be ooo for a few days, I'm going to temporarily take over as CME here. Just catching up now... |
So just to clarify, this code is what you're referring to, right?
I agree
Makes sense
Unfortunately I got a bit confused at this point. Can you explain what you meant by this? |
Thanks.
Exactly.
When we will merge the personalDetails in the main recentChats while |
PR Up... Testing it. |
Sorry for the delay here @parasharrajat, reviewed the PR earlier today |
From #6627 (comment)
Still waiting for the Upwork job to be created. |
Triggered auto assignment to @adelekennedy ( |
Sorry your payment got lost in the shuffle here, @parasharrajat! @adelekennedy Can we create an Upwork job for this, then hire @parasharrajat? The PR is currently on staging. |
Issue not reproducible during KI retests. (First week) |
Hired! |
Thanks, @adelekennedy |
The fix for this was deployed to production 6 days ago. There were some comments on the PR but it sounds like an unrelated bug. So @adelekennedy I think we should be good to pay this out tomorrow. |
Noted! Have it on my calendar to pay out on 1/25 - then I will close the job |
@adelekennedy @roryabraham Can you check below video. We seem to be able to repro the issue. 6627.mp4Also, we noticed that exact search match is not always displayed on Top. Not sure if its related to this PR |
Double checking here @roryabraham the job is closed and paid out - but do we need to reopen the job? |
Honestly, I can't keep track of all the expected behavior in the labyrinth that is
Thoughts? cc @parasharrajat |
Ok, nice thoughts @roryabraham. We should certainly do that. But #6627 (comment) is a different issue. it is not the order of options. I think QA is saying that the search is not working properly. The exact match should come first. So the search should also look into the personalDetails (contacts) with respect to Recent reports(chats). This should be a separate issue and thus we can close this and create a new one. Also, plan the order properly (based on your thoughts) and then fix it. |
Created a follow-up: #7582 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue was found when executing #6544
Action Performed:
Expected Result:
Users appear first in the result list over group chats or rooms
Actual Result:
Some users appear after group chats or rooms
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.18.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos:
Bug5362931_Pr_6544.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub
Issue was found when executing #6544
The text was updated successfully, but these errors were encountered: