Page MenuHomePhabricator

[web] Use search users in chat composer
ClosedPublic

Authored by michal on May 29 2023, 7:00 AM.
Tags
None
Referenced Files
F3391199: D8013.diff
Sat, Nov 30, 2:43 AM
Unknown Object (File)
Oct 26 2024, 11:43 PM
Unknown Object (File)
Oct 26 2024, 11:43 PM
Unknown Object (File)
Oct 26 2024, 11:43 PM
Unknown Object (File)
Oct 26 2024, 11:35 PM
Unknown Object (File)
Oct 26 2024, 2:23 PM
Unknown Object (File)
Oct 3 2024, 12:51 AM
Unknown Object (File)
Oct 3 2024, 12:51 AM
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
No Lint Coverage
Unit
No Test Coverage

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

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

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

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