HomePhabricator
Diffusion Comm 04ffaeeb5362

[web] introduce UserProfileMessageButton

Description

[web] introduce UserProfileMessageButton

Summary:
This diff introduces the UserProfileMessageButton. The UserProfileMessageButtons will be responsible for navigating to the personal thread between the user and the viewer. For all of this logic we can simply just use the useUserProfileThreadInfo hook

https://linear.app/comm/issue/ENG-4966/introduceport-userprofilemessagebutton

Depends on D9411

Test Plan:
Please see the demo video below

Anonymous user:

Screenshot 2023-10-09 at 3.34.32 AM.png (2×3 px, 751 KB)

Block in either direction:

Screenshot 2023-10-09 at 3.40.44 AM.png (1×3 px, 630 KB)

Reviewers: atul, inka

Reviewed By: atul

Subscribers: ashoat, tomek, wyilio

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

Details

Provenance
ginsuAuthored on Oct 7 2023, 2:07 PM
Reviewer
atul
Differential Revision
D9412: [web] introduce UserProfileMessageButton
Parents
rCOMM5f89c4ae1827: [web] introduce copy username functionality to user profiles
Branches
Unknown
Tags
Unknown