HomePhabricator
Diffusion Comm 76e4ca6af009

[native] Update RelationshipList to call useUserSearchIndex

Description

[native] Update RelationshipList to call useUserSearchIndex

Summary:
There are several search experiences in the app that do not use get/usePotentialMemberItems. This means we need to update them individually, so I'm separating out diffs to do exactly this to make it easy for reviewers. [[ https://linear.app/comm/issue/ENG-6019/[after-landing]-try-to-update-remaining-search-experiences-to-use | ENG-6019 ]] tracks attempting to update these search experiences to use usePotentialMemberItems. Each diff will affect one file ideally.

This diff affects RelationshipList.

This component is used when:

  • viewing friend list on native
  • adding friends from friend list on native
  • viewing block list on native

Addresses ENG-5434

Depends on D10251

Test Plan:
Please see the video below where I (1) view friends list (2) add friends from friend list (3) view block list

Reviewers: atul, ginsu, inka

Reviewed By: inka

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D10252

Details

Provenance
rohanAuthored on Dec 5 2023, 9:50 AM
Reviewer
inka
Differential Revision
D10252: [native] Update RelationshipList to call useUserSearchIndex
Parents
rCOMMec35a73e89d0: [web] Update UserList to call useUserSearchIndex
Branches
Unknown
Tags
Unknown