HomePhabricator
Diffusion Comm 752ab9d7c9bc

[web] implement RelationshipPromptButtons into user profiles

Tags
None
Referenced Files
F807828: Screenshot 2023-10-10 at 5.08.38 PM.png
Oct 16 2023, 10:58 PM
File Not Attached
F807759: Screenshot 2023-10-10 at 3.35.24 PM.png
Oct 16 2023, 10:58 PM
File Not Attached
F807758: Screenshot 2023-10-10 at 3.31.11 PM.png
Oct 16 2023, 10:58 PM
File Not Attached
F807757: Screenshot 2023-10-10 at 3.31.18 PM.png
Oct 16 2023, 10:58 PM
File Not Attached
F807756: Screenshot 2023-10-10 at 3.31.16 PM.png
Oct 16 2023, 10:58 PM
File Not Attached
Subscribers
None

Description

[web] implement RelationshipPromptButtons into user profiles

Summary:
This diff adds the RelationshipPromptButton to the UserProfileActionButtons component. The UserProfileActionButtons now handles rendering the different layout of the action buttons on the user profile depending on what the condtion of the relationship status is

Linear Task: https://linear.app/comm/issue/ENG-4967/introduceport-userprofilerelationshipbutton

Depends on D9446

Test Plan:
Please see screenshots below

Not a friend:

Screenshot 2023-10-10 at 3.31.16 PM.png (1×3 px, 802 KB)

Sent Friend Request:

Screenshot 2023-10-10 at 3.31.18 PM.png (1×3 px, 813 KB)

Received Friend Request:

Screenshot 2023-10-10 at 3.31.11 PM.png (1×3 px, 815 KB)

Friend:

Screenshot 2023-10-10 at 3.35.24 PM.png (1×3 px, 751 KB)

Blocked:

Screenshot 2023-10-10 at 5.08.38 PM.png (1×3 px, 599 KB)

Reviewers: atul, inka

Reviewed By: atul

Subscribers: ashoat, tomek, wyilio

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

Details

Provenance
ginsuAuthored on Oct 10 2023, 12:18 PM
Reviewer
atul
Differential Revision
D9447: [web] implement RelationshipPromptButtons into user profiles
Parents
rCOMMa995af541e99: [web] update RelationshipPromptButton to be more reusable
Branches
Unknown
Tags
Unknown