HomePhabricator
Diffusion Comm 1ac8fb7357f8

[web] Introduce `ThreadSettingsRelationshipButton` component

Description

[web] Introduce ThreadSettingsRelationshipButton component

Summary:
Create a button component that dispatches a matching relationship action on click. It will be displayed in "Relationship" tab in thread settings modal on web

Screenshot_Google Chrome_2022-07-29_122412.png (665×460 px, 26 KB)

Test Plan: The component is not used yet. Confirm it works after introducing relationship tab in thread settings modal in next diffs.

Reviewers: tomek, atul, ashoat

Reviewed By: tomek, ashoat

Subscribers: ashoat, adrian, abosh

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

Details

Provenance
jacekAuthored on Aug 3 2022, 4:22 AM
Reviewer
tomek
Differential Revision
D4679: [web] Introduce `ThreadSettingsRelationshipButton` component
Parents
rCOMM8aec1c68e78f: [lib] Introduce shared `getRelationshipActionText` function
Branches
Unknown
Tags
Unknown