Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lib] Include the rawChatName when constructing the chat mention sear…
…ch index Summary: This diff is the final one in the stack. It allows us to actually @-mention a chat with ENS users with a cleared name by the member's wallet addresses. This is done in the same way we construct our search indexes for users - we take all possible search terms into an array for the thread ID and then join them by a space. For reference, here is the code for the [[ https://github.com/CommE2E/comm/blob/165d35ab1a3ff1ff5d776763a899101d03d4d0f9/lib/selectors/nav-selectors.js#L115 | user search index ]]. Part of [[ https://linear.app/comm/issue/ENG-5436/update-usechatmentioncandidatesobjandutils-to-support-ing-chats-by | ENG-5436 ]] Depends on D10460 Test Plan: Please see the videos below where I can now @-mention the chat both by ENS name and wallet addresses. {F1007657} {F1007714} Reviewers: atul, ginsu, inka Reviewed By: inka Subscribers: ashoat, tomek Differential Revision: https://phab.comm.dev/D10461
- Loading branch information