Page MenuHomePhabricator

[native][web] Navigate to a thread if already joined
ClosedPublic

Authored by tomek on Thu, Jun 13, 4:46 AM.
Tags
None
Referenced Files
F2201756: D12420.id41281.diff
Sat, Jul 6, 5:06 AM
F2201494: D12420.id41326.diff
Sat, Jul 6, 4:11 AM
Unknown Object (File)
Wed, Jul 3, 3:11 PM
Unknown Object (File)
Wed, Jul 3, 1:05 PM
Unknown Object (File)
Tue, Jul 2, 9:48 AM
Unknown Object (File)
Tue, Jul 2, 9:47 AM
Unknown Object (File)
Sun, Jun 30, 1:01 AM
Unknown Object (File)
Sat, Jun 22, 4:44 AM
Subscribers

Details

Summary

When a user already joined a thread or a community, check the most specific chat (a thread is more specific than its community because the fact that a user is a member of a thread requires the user to be a member of this thread's community) and navigate to it if appropriate.

https://linear.app/comm/issue/ENG-8251/navigate-to-a-community-or-a-thread-if-present-in-the-response

Depends on D12399

Test Plan

Tested on both native and web. Used a link to a thread and to a community where the viewer was a member and verified that a thread or a community was opened.
Also checked if the text in a modal correctly reflects whether it is a community or a thread link.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable