HomePhabricator
Diffusion Comm 741de0af2fd4

[native] rename RelationshipListItemTooltipModal to UserRelationshipTooltipModal

Description

[native] rename RelationshipListItemTooltipModal to UserRelationshipTooltipModal

Summary:
Rename diff

This is step 2 in the list below
Outlined below are the steps I will take to update RelationshipListItemTooltipModal:

  1. Add the block action to relationship list item tooltip menu (RelationshipListItem won't need this option, but User profiles will. This is shown in the figma screenshot above)
  2. Rename RelationshipListItemTooltipModal to something more generic like UserRelationshipTooltipModal
  3. Make UserRelationshipTooltipButton into a functional component (We need to use the useColors hook in a subsequent diff)
  4. Introduce the tooltipButtonIcon as a param to RelationshipListItemTooltipModal (RelationshipListItem will use a pencil icon and user profiles will use a kebab menu icon)
  5. Introduce UserProfileMenuButton (This component will handle navigating to RelationshipListItemTooltipModal

Depends on D9378

Test Plan: flow and confirmed that I am able to still navigate to UserRelationshipTooltipModal when pressing the edit button in RelationshipListItem

Reviewers: atul, inka

Reviewed By: atul

Subscribers: ashoat, tomek, wyilio

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