Page MenuHomePhabricator

[lib] Include the rawChatName when constructing the chat mention search index
ClosedPublic

Authored by rohan on Dec 26 2023, 10:02 AM.
Tags
None
Referenced Files
F1797267: D10461.id.diff
Sun, May 19, 9:13 PM
F1797203: D10461.id35008.diff
Sun, May 19, 8:46 PM
Unknown Object (File)
Thu, May 9, 9:19 AM
Unknown Object (File)
Sat, Apr 27, 12:30 PM
Unknown Object (File)
Apr 8 2024, 7:35 PM
Unknown Object (File)
Mar 7 2024, 12:44 AM
Unknown Object (File)
Mar 6 2024, 10:56 PM
Unknown Object (File)
Mar 6 2024, 10:56 PM
Subscribers

Details

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 user search index.

Part of 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.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage