After user clicks a link, we're going to call link verification endpoint. Based on the result, we will navigate user to this modal.
Depends on D7522
Differential D7524
[native] Create invitation modal tomek on Apr 19 2023, 5:34 AM. Authored by Tags None Referenced Files
Details
After user clicks a link, we're going to call link verification endpoint. Based on the result, we will navigate user to this modal. Depends on D7522 Open a link that:
Diff Detail
Event Timeline
Comment Actions Would it make sense to add an invariant to check that this modal is not called with `status: 'already_joined'? Currently there is nothing stopping someone from doing that, because there is no type checking. And the modal would be displayed without errors, with a message that would be incorrect and misleading. Comment Actions Instead of using an invariant I decided that we can simply close the modal. This is consistent with our approach that a modal shouldn't be opened when a user is a member of the community. |