HomePhabricator
Diffusion Comm 91e90f292e22

[web] introduce community header actions

Description

[web] introduce community header actions

Summary:
This component houses the invite link button and the community settings button, two possible community action buttons that can be rendered, and all the related logic for that. If a community does not have an active invite link then the invite link button should not be rendered.

The invite link button should push the ViewInviteLinkModal and the community settings button will navigate the user to the community settings screen (will be done in a subsequent diff)

Linear task: https://linear.app/comm/issue/ENG-5933/top-bar

Depends on D10497

Test Plan:
Please see the screenshots + demo video below

When the community has an active invite link

When the community does not have an active invite link

Screenshot 2023-12-29 at 3.27.25 PM.png (1×3 px, 868 KB)

Reviewers: atul, kamil, rohan

Reviewed By: atul

Subscribers: ashoat, tomek

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

Details

Provenance
ginsuAuthored on Jan 2 2024, 2:27 PM
Reviewer
atul
Differential Revision
D10498: [web] introduce community header actions
Parents
rCOMM584a1febf4b0: Revert "[native] Temporary changes for staff release"
Branches
Unknown
Tags
Unknown