diff --git a/src/components/messenger/list/group-details-panel/group-type-dialog/index.tsx b/src/components/messenger/list/group-details-panel/group-type-dialog/index.tsx index 865521b9b..dc8dc74f8 100644 --- a/src/components/messenger/list/group-details-panel/group-type-dialog/index.tsx +++ b/src/components/messenger/list/group-details-panel/group-type-dialog/index.tsx @@ -39,12 +39,6 @@ export class GroupTypeDialog extends React.Component { Super Groups are designed to accommodate larger communities and are not encrypted by default. Check this box if you are creating a room intended for larger groups (10+ people).

- -

Social Channel

-

- Social Channels are designed for an interactive social experience with a feed, posts, and live chat. Check - this box for rooms where communities can share updates and chat in one space. -

diff --git a/src/components/messenger/list/group-details-panel/group-type-menu/index.test.tsx b/src/components/messenger/list/group-details-panel/group-type-menu/index.test.tsx index 2dbb1a3c3..134a20759 100644 --- a/src/components/messenger/list/group-details-panel/group-type-menu/index.test.tsx +++ b/src/components/messenger/list/group-details-panel/group-type-menu/index.test.tsx @@ -39,16 +39,6 @@ describe(GroupTypeMenu, () => { expect(onSelect).toHaveBeenCalledOnce(); }); - it('publishes onSelect event when social channel is selected', () => { - const onSelect = jest.fn(); - const wrapper = subject({ onSelect }); - - selectInputItem(wrapper, SelectInput, 'social-channel'); - - expect(onSelect).toHaveBeenCalledWith(GroupType.SOCIAL); - expect(onSelect).toHaveBeenCalledOnce(); - }); - it('publishes onOpen event when icon button is clicked', () => { const onOpen = jest.fn(); const wrapper = subject({ onOpen }); diff --git a/src/components/messenger/list/group-details-panel/group-type-menu/index.tsx b/src/components/messenger/list/group-details-panel/group-type-menu/index.tsx index e66173e60..bf0dab41d 100644 --- a/src/components/messenger/list/group-details-panel/group-type-menu/index.tsx +++ b/src/components/messenger/list/group-details-panel/group-type-menu/index.tsx @@ -1,7 +1,6 @@ import * as React from 'react'; -import { IconInfoCircle, IconLock1, IconMonitor2, IconUsers1 } from '@zero-tech/zui/icons'; -import { featureFlags } from '../../../../../lib/feature-flags'; +import { IconInfoCircle, IconLock1, IconUsers1 } from '@zero-tech/zui/icons'; import { IconButton, SelectInput } from '@zero-tech/zui/components'; import { GroupType } from '..'; @@ -59,13 +58,6 @@ export class GroupTypeMenu extends React.Component { onSelect: () => this.selectType(GroupType.SUPER), }); - featureFlags.enableChannels && - menuItems.push({ - id: 'social-channel', - label: this.renderMenuItem(, 'Social Channel'), - onSelect: () => this.selectType(GroupType.SOCIAL), - }); - return menuItems; } @@ -75,8 +67,6 @@ export class GroupTypeMenu extends React.Component { return 'Encrypted Group'; case GroupType.SUPER: return 'Super Group'; - case GroupType.SOCIAL: - return 'Social Channel'; default: return ''; } diff --git a/src/components/messenger/list/group-details-panel/index.tsx b/src/components/messenger/list/group-details-panel/index.tsx index 8532c7b80..7ad7d4ad8 100644 --- a/src/components/messenger/list/group-details-panel/index.tsx +++ b/src/components/messenger/list/group-details-panel/index.tsx @@ -30,7 +30,6 @@ interface State { export enum GroupType { ENCRYPTED = 'encrypted', SUPER = 'super', - SOCIAL = 'social', } export class GroupDetailsPanel extends React.Component {