Page MenuHomePhabricator

[web] Use search users in chat composer
ClosedPublic

Authored by michal on May 29 2023, 7:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 28, 9:53 PM
Unknown Object (File)
Thu, Mar 28, 9:53 PM
Unknown Object (File)
Thu, Mar 28, 9:53 PM
Unknown Object (File)
Thu, Mar 28, 9:52 PM
Unknown Object (File)
Thu, Mar 28, 9:43 PM
Unknown Object (File)
Feb 17 2024, 11:09 PM
Unknown Object (File)
Feb 17 2024, 9:54 PM
Unknown Object (File)
Feb 17 2024, 9:27 PM
Subscribers

Details

Summary

We want to use search users in chat composer so can create chat with users not in user store

Depends on D8012

Test Plan

Search for users. Check if there are users not in user store. Check if they can be selected properly

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil requested changes to this revision.May 30 2023, 9:42 AM
kamil added inline comments.
web/chat/chat-thread-composer.react.js
65–87 ↗(On Diff #27159)

I think there is a possibility to wrap this in a hook in lib to avoid code duplication with D8010? Or am I missing something?

Or at least you can move shared code to a shared function

71–80 ↗(On Diff #27159)

Are you sure that debounce is not needed?

This revision now requires changes to proceed.May 30 2023, 9:42 AM

Removed code duplication (function was introduced in D8010)

web/chat/chat-thread-composer.react.js
71–80 ↗(On Diff #27159)

Other places are not yet debounced, a task for this already exists: https://linear.app/comm/issue/ENG-1327.

This revision is now accepted and ready to land.Jun 5 2023, 2:09 AM