-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-10-29] Search - Contacts with no chat history are also categorized under "Recent chats" #50998
Comments
Triggered auto assignment to @MariaHCD ( |
Triggered auto assignment to @VictoriaExpensify ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 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:
|
@luacmartins @Expensify/design I initially thought it was intentional to include all search report options under one section title ("Recent chats"). Do we need to split the options into "Recent searches", "Recent chats", and "Contacts", or should we exclude the contacts options from the list? |
cc @Kicu @SzymczakJ |
ProposalPlease re-state the problem that we are trying to solve in this issue.In Search modal, "Recent chats" includes Concierge, self DM and the rest of the contacts which user has never chatted with before. What is the root cause of that problem?In App/src/components/Search/SearchRouter/SearchRouter.tsx Lines 86 to 93 in 987ff1b
And in 'SearchRouterList`, we only have "Recent Chats" section, not "Contacts" section:
What changes do you think we should make in order to solve the problem?Add a param
Then in here, remove Create const personalDetailsList: OptionData[] = useMemo(
() => (debouncedInputValue === '' ? searchOptions.personalDetails : filteredOptions.personalDetails),
[debouncedInputValue, searchOptions, filteredOptions],
); POCWhat alternative solutions did you explore? (Optional) |
This doesn't need to block the deploy. It can be a follow up improvement as part of the Search project. |
Hmm I would think we would only show actual recent chats in the recent chats section. No need to show Contacts here IMO. |
Same—IMO the options we display in the router are "quick shortcuts". We're surfacing them for convenience. If you're looking for a contact you can use the router to search for it. |
The only place to view your contacts that I knew about was ChatFinderPage. If we're going to remove contacts from SearchRouter how else will we view them? @dannymcclain @shawnborton |
I don't think anyone is suggesting to remove contacts from the SearchRouter. But the default "suggestions" perhaps should only include Recent chats, if that makes sense. |
I like that solution 😃. So to finally clarify: if user hasn't put anything in the text input then we only show recent chats, but when user typed something we show whatever is closest to the searched phrase(just like ChatFinderPage did)? |
Yeah, that is my understanding! cc @luacmartins for the gut check there too |
Yes that's what I was thinking too! |
That seems fine to me as well. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.51-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-10-29. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO. |
@MariaHCD, @luacmartins, @VictoriaExpensify, @SzymczakJ Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@MariaHCD, @luacmartins, @VictoriaExpensify, @SzymczakJ Still overdue 6 days?! Let's take care of this! |
Waiting on payment @VictoriaExpensify |
I don't think anyone needs to be paid here - @SzymczakJ is a contractor and everyone else is internal. If I've missed someone that needs payment, let me know! Otherwise, we are just waiting for the checklist to be complete and we can close this out |
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: 9.0.50-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers): applausetester+kh081006@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
In Search modal, "Recent chats" should only include Concierge and self DM, while the other contacts should be under "Contacts" section.
Actual Result:
In Search modal, "Recent chats" includes Concierge, self DM and the rest of the contacts which user has never chatted with before.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6637299_1729144214325.20241017_134534.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @VictoriaExpensifyThe text was updated successfully, but these errors were encountered: