Page MenuHomePhabricator

[web] Introduce searching users in `AddMembersModal`
ClosedPublic

Authored by jacek on Apr 15 2022, 4:38 AM.
Tags
None
Referenced Files
F3374316: D3743.id11513.diff
Tue, Nov 26, 3:01 PM
F3374292: D3743.id12108.diff
Tue, Nov 26, 2:54 PM
Unknown Object (File)
Sun, Nov 24, 4:24 PM
Unknown Object (File)
Fri, Nov 22, 10:03 PM
Unknown Object (File)
Fri, Nov 22, 5:43 PM
Unknown Object (File)
Thu, Nov 21, 3:19 AM
Unknown Object (File)
Wed, Nov 13, 12:48 PM
Unknown Object (File)
Fri, Nov 8, 3:33 AM

Details

Summary

Add logic responsible for finding users, that can be added (or not) to the thread based on search query. Used getPotentialMemberItems lib function, that is used in native app.

Screenshot_Google Chrome_2022-04-15_135513.png (516×470 px, 27 KB)

Test Plan

The search can be tested after introducing button activating AddMembersModal - search results should be exactly the same as in mobile app for the same query.

Diff Detail

Repository
rCOMM Comm
Branch
jacek/add-m-5
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek added inline comments.
web/modals/threads/members/add-members-modal.react.js
47–57

This can be simplified a bit

This revision is now accepted and ready to land.Apr 15 2022, 9:35 AM