Page MenuHomePhabricator

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

Authored by tomek on Jun 13 2024, 4:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 11:05 AM
Unknown Object (File)
Thu, Nov 28, 9:56 AM
Unknown Object (File)
Thu, Nov 28, 9:32 AM
Unknown Object (File)
Thu, Nov 28, 8:51 AM
Unknown Object (File)
Thu, Nov 28, 7:04 AM
Unknown Object (File)
Thu, Nov 28, 6:55 AM
Unknown Object (File)
Sun, Nov 24, 5:51 PM
Unknown Object (File)
Sat, Nov 23, 10:42 PM
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
No Lint Coverage
Unit
No Test Coverage