HomePhabricator
Diffusion Comm b28c87b6fd58

[web] Call join thread endpoint

Description

[web] Call join thread endpoint

Summary:
Clicking join button results in calling server endpoint. Depending on the result either user sees a modal with an error, or a modal is closed.

Depends on D7957

Test Plan:
Open invite link, accept the invitation - modal should be closed and the community should appear on the list.
Modify join thread endpoint so that it always throws. Accept the invitation - a message about invalid link should appear.

Reviewers: bartek, kamil, inka

Reviewed By: inka

Subscribers: ashoat, atul

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

Details

Provenance
tomekAuthored on May 24 2023, 8:58 AM
Reviewer
inka
Differential Revision
D7958: [web] Call join thread endpoint
Parents
rCOMMa8794470c251: [web] Create a modal where invite link can be accepted
Branches
Unknown
Tags
Unknown