Page MenuHomePhabricator

[web] Hide "Users in parent channel" header for threads without parent in `AddMembersModal`
ClosedPublic

Authored by jacek on Jul 19 2022, 3:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 17, 9:51 PM
Unknown Object (File)
Thu, Oct 17, 9:51 PM
Unknown Object (File)
Thu, Oct 17, 9:51 PM
Unknown Object (File)
Thu, Oct 17, 9:50 PM
Unknown Object (File)
Sep 19 2024, 1:42 AM
Unknown Object (File)
Sep 2 2024, 3:09 PM
Unknown Object (File)
Aug 28 2024, 8:13 AM
Unknown Object (File)
Aug 28 2024, 7:48 AM

Details

Summary

The diff is solution for: https://linear.app/comm/issue/ENG-1396/addmembersmodal-on-web-shows-users-in-parent-channel-for-community
It provides additional check if channel (that we want to add users to) has parent channel, and hides "Users in parent channel" label if there is no parent channel

Screenshot_Google Chrome_2022-07-19_125821.png (384×633 px, 21 KB)

Test Plan

Tested the modal in Genesis and one manually created COMMUNITY_ROOT thread (to achive something similar to Comm channel in production, where the issue appeared) and confirmed, that the header is not displayed and the modal looks good.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable