HomePhabricator
Diffusion Comm 9761ffcc760f

[lib/native] introduce UserProfileMessageButton

Description

[lib/native] introduce UserProfileMessageButton

Summary:
This diff introduces the UserProfileMessageButton component that will be rendered on a user profile. This button will be used to navigate to a thread between the viewer and the user of the profile

Figma designs (left is when there in no block in either direction and right is when there is a block in either direction):

Screenshot 2023-09-22 at 4.34.33 PM.png (1×1 px, 277 KB)

Depends on D9247

Test Plan:
Please see the demo video below

anonymous user:

Screenshot 2023-09-20 at 4.49.07 PM.png (1×1 px, 750 KB)

block in either direction is active:

Screenshot 2023-09-22 at 4.15.11 PM.png (1×1 px, 732 KB)

Reviewers: atul, inka

Reviewed By: atul

Subscribers: kamil, ashoat, tomek

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

Details

Provenance
ginsuAuthored on Sep 3 2023, 11:37 AM
Reviewer
atul
Differential Revision
D9252: [lib/native] introduce UserProfileMessageButton
Parents
rCOMM905e10ddeb97: [native] Remove react-native-background-upload
Branches
Unknown
Tags
Unknown