Page MenuHomePhabricator

[lib][native][web] Show a message when a user is already a part of a community
ClosedPublic

Authored by tomek on Apr 26 2024, 1:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 4:56 PM
Unknown Object (File)
Tue, Nov 12, 4:53 PM
Unknown Object (File)
Tue, Nov 12, 2:29 PM
Unknown Object (File)
Tue, Nov 12, 2:29 PM
Unknown Object (File)
Tue, Nov 12, 1:10 PM
Unknown Object (File)
Fri, Nov 8, 9:58 AM
Unknown Object (File)
Fri, Nov 8, 7:24 AM
Unknown Object (File)
Oct 11 2024, 8:41 AM
Subscribers
None

Details

Summary

Introduce a new status to the modals meaning that a user already joined a community.

https://linear.app/comm/issue/ENG-4391/display-a-message-if-youre-already-part-of-a-community

already_a_member_web.png (606×954 px, 45 KB)

already_a_member_native.png (905×439 px, 135 KB)

Depends on D11812

Test Plan

Checked on native and web:

  1. If accepting a link still works
  2. If a message is displayed when a user is already a part of a community

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek added 1 blocking reviewer(s): ashoat.
tomek requested review of this revision.Apr 26 2024, 1:41 PM
ashoat added inline comments.
native/navigation/invite-link-modal.react.js
38–41 ↗(On Diff #39602)

Would this work and be more simple?

web/invite-links/accept-invite-modal.react.js
29–32 ↗(On Diff #39602)

Same here

This revision is now accepted and ready to land.Apr 27 2024, 6:54 PM

Simplify

native/navigation/invite-link-modal.react.js
38–41 ↗(On Diff #39602)

Yes, makes sense!