Page MenuHomePhabricator

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

Authored by tomek on May 24 2023, 9:38 AM.
Tags
None
Referenced Files
F3407090: D7959.id27060.diff
Wed, Dec 4, 4:07 AM
F3406256: D7959.id27001.diff
Wed, Dec 4, 1:15 AM
F3406255: D7959.id.diff
Wed, Dec 4, 1:15 AM
F3406254: D7959.diff
Wed, Dec 4, 1:15 AM
Unknown Object (File)
Wed, Nov 20, 3:17 AM
Unknown Object (File)
Nov 4 2024, 10:46 AM
Unknown Object (File)
Nov 4 2024, 8:22 AM
Unknown Object (File)
Nov 4 2024, 8:21 AM
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
Branch
invite2
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

web/invite-links/invite-link-handler.react.js
33–36

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

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