Page MenuHomePhabricator

[web] Introduce searching users in `AddMembersModal`
ClosedPublic

Authored by jacek on Apr 15 2022, 4:38 AM.
Tags
None
Referenced Files
F5086239: D3743.id.diff
Sat, Mar 29, 7:03 PM
Unknown Object (File)
Fri, Mar 28, 7:07 AM
Unknown Object (File)
Fri, Mar 28, 7:07 AM
Unknown Object (File)
Tue, Mar 25, 9:18 AM
Unknown Object (File)
Tue, Mar 25, 1:10 AM
Unknown Object (File)
Tue, Mar 25, 1:10 AM
Unknown Object (File)
Thu, Mar 13, 10:36 PM
Unknown Object (File)
Feb 1 2025, 2:37 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek added inline comments.
web/modals/threads/members/add-members-modal.react.js
47–57 ↗(On Diff #11513)

This can be simplified a bit

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