Page MenuHomePhabricator

[web] Open invite link modal when the link is clicked
ClosedPublic

Authored by tomek on Wed, May 24, 9:38 AM.
Tags
None
Referenced Files
F570640: D7959.diff
Sat, Jun 3, 1:58 PM
Unknown Object (File)
Wed, May 24, 1:30 PM
Subscribers

Details

Summary

When a user isn't logged in, we show login panel. When a user logs in, we show a modal.

Depends on D7958

Test Plan

Open invite link as a logged-in user - a modal should appear.
Open the link as a logged-out user. A login form should appear. After successful login, the modal appears.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

web/invite-links/invite-link-handler.react.js
33–36 ↗(On Diff #27001)

We're making sure that one link click causes at most one modal open

tomek requested review of this revision.Wed, May 24, 9:57 AM
This revision is now accepted and ready to land.Thu, May 25, 12:52 AM