2020-03-25 20:52:23 +08:00
|
|
|
import React, { Component } from 'react';
|
2017-06-04 10:40:14 +08:00
|
|
|
import PropTypes from 'prop-types';
|
2018-11-01 02:51:56 +08:00
|
|
|
import withShortcutHelper from '/imports/ui/components/shortcut-help/service';
|
2017-03-29 23:22:26 +08:00
|
|
|
import { defineMessages, injectIntl } from 'react-intl';
|
2023-09-22 02:10:30 +08:00
|
|
|
import * as PluginSdk from 'bigbluebutton-html-plugin-sdk';
|
2023-11-29 02:31:28 +08:00
|
|
|
import { NavBarItemType } from 'bigbluebutton-html-plugin-sdk/dist/cjs/extensible-areas/nav-bar-item/enums';
|
2021-11-05 02:11:42 +08:00
|
|
|
import Styled from './styles';
|
2023-11-23 04:08:46 +08:00
|
|
|
import RecordingIndicator from './nav-bar-graphql/recording-indicator/component';
|
2023-11-14 01:40:36 +08:00
|
|
|
import TalkingIndicator from '/imports/ui/components/nav-bar/nav-bar-graphql/talking-indicator/component';
|
2021-03-26 05:22:50 +08:00
|
|
|
import ConnectionStatusButton from '/imports/ui/components/connection-status/button/container';
|
2024-03-06 06:33:31 +08:00
|
|
|
import ConnectionStatus from '/imports/ui/components/connection-status/component';
|
2021-03-26 05:22:50 +08:00
|
|
|
import ConnectionStatusService from '/imports/ui/components/connection-status/service';
|
2023-09-22 04:47:51 +08:00
|
|
|
import OptionsDropdownContainer from './options-dropdown/container';
|
2023-11-15 00:30:20 +08:00
|
|
|
import TimerIndicatorContainer from '/imports/ui/components/timer/timer-graphql/indicator/component';
|
2021-09-30 20:43:28 +08:00
|
|
|
import browserInfo from '/imports/utils/browserInfo';
|
|
|
|
import deviceInfo from '/imports/utils/deviceInfo';
|
2023-11-25 04:23:22 +08:00
|
|
|
import { PANELS, ACTIONS, LAYOUT_TYPE } from '../layout/enums';
|
2023-09-22 02:10:30 +08:00
|
|
|
import Button from '/imports/ui/components/common/button/component';
|
2024-02-06 01:36:55 +08:00
|
|
|
import LeaveMeetingButtonContainer from './leave-meeting-button/container';
|
2023-11-25 04:23:22 +08:00
|
|
|
import Settings from '/imports/ui/services/settings';
|
2020-07-16 00:44:59 +08:00
|
|
|
|
2017-03-29 23:22:26 +08:00
|
|
|
const intlMessages = defineMessages({
|
|
|
|
toggleUserListLabel: {
|
|
|
|
id: 'app.navBar.userListToggleBtnLabel',
|
2017-04-10 23:50:03 +08:00
|
|
|
description: 'Toggle button label',
|
2017-03-29 23:22:26 +08:00
|
|
|
},
|
2018-02-23 04:27:19 +08:00
|
|
|
toggleUserListAria: {
|
|
|
|
id: 'app.navBar.toggleUserList.ariaLabel',
|
|
|
|
description: 'description of the lists inside the userlist',
|
|
|
|
},
|
2017-04-18 01:00:15 +08:00
|
|
|
newMessages: {
|
2017-08-11 00:05:51 +08:00
|
|
|
id: 'app.navBar.toggleUserList.newMessages',
|
2017-04-26 22:08:47 +08:00
|
|
|
description: 'label for toggleUserList btn when showing red notification',
|
2017-04-18 01:00:15 +08:00
|
|
|
},
|
2021-12-28 13:40:51 +08:00
|
|
|
newMsgAria: {
|
|
|
|
id: 'app.navBar.toggleUserList.newMsgAria',
|
|
|
|
description: 'label for new message screen reader alert',
|
|
|
|
},
|
2022-01-14 20:59:31 +08:00
|
|
|
defaultBreakoutName: {
|
|
|
|
id: 'app.createBreakoutRoom.room',
|
|
|
|
description: 'default breakout room name',
|
|
|
|
},
|
2023-11-21 00:30:07 +08:00
|
|
|
leaveMeetingLabel: {
|
|
|
|
id: 'app.navBar.leaveMeetingBtnLabel',
|
|
|
|
description: 'Leave meeting button label',
|
|
|
|
},
|
2017-03-29 23:22:26 +08:00
|
|
|
});
|
2016-04-29 03:02:51 +08:00
|
|
|
|
|
|
|
const propTypes = {
|
2018-11-01 02:51:56 +08:00
|
|
|
presentationTitle: PropTypes.string,
|
|
|
|
hasUnreadMessages: PropTypes.bool,
|
|
|
|
shortcuts: PropTypes.string,
|
2022-01-27 01:16:10 +08:00
|
|
|
breakoutNum: PropTypes.number,
|
|
|
|
breakoutName: PropTypes.string,
|
|
|
|
meetingName: PropTypes.string,
|
2023-09-22 02:10:30 +08:00
|
|
|
pluginNavBarItems: PropTypes.arrayOf(PropTypes.shape({
|
|
|
|
id: PropTypes.string,
|
|
|
|
})).isRequired,
|
2016-04-29 03:02:51 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
const defaultProps = {
|
2016-05-04 04:40:46 +08:00
|
|
|
presentationTitle: 'Default Room Title',
|
2016-04-29 03:02:51 +08:00
|
|
|
hasUnreadMessages: false,
|
2018-11-01 02:51:56 +08:00
|
|
|
shortcuts: '',
|
2016-04-29 03:02:51 +08:00
|
|
|
};
|
|
|
|
|
2023-09-26 21:44:58 +08:00
|
|
|
const renderPluginItems = (pluginItems) => {
|
|
|
|
if (pluginItems !== undefined) {
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
{
|
|
|
|
pluginItems.map((pluginItem) => {
|
|
|
|
let returnComponent;
|
|
|
|
switch (pluginItem.type) {
|
2023-11-29 02:31:28 +08:00
|
|
|
case NavBarItemType.BUTTON:
|
2023-09-26 21:44:58 +08:00
|
|
|
returnComponent = (
|
|
|
|
<Styled.PluginComponentWrapper
|
2023-11-29 02:31:28 +08:00
|
|
|
key={`${pluginItem.id}-${pluginItem.type}`}
|
2023-09-26 21:44:58 +08:00
|
|
|
>
|
|
|
|
<Button
|
2023-11-29 02:31:28 +08:00
|
|
|
disabled={pluginItem.disabled}
|
2023-09-26 21:44:58 +08:00
|
|
|
icon={pluginItem.icon}
|
|
|
|
label={pluginItem.label}
|
|
|
|
aria-label={pluginItem.tooltip}
|
|
|
|
color="primary"
|
|
|
|
tooltip={pluginItem.tooltip}
|
|
|
|
onClick={pluginItem.onClick}
|
|
|
|
/>
|
|
|
|
</Styled.PluginComponentWrapper>
|
|
|
|
);
|
|
|
|
break;
|
2023-11-29 02:31:28 +08:00
|
|
|
case NavBarItemType.INFO:
|
2023-09-26 21:44:58 +08:00
|
|
|
returnComponent = (
|
|
|
|
<Styled.PluginComponentWrapper
|
2023-11-29 02:31:28 +08:00
|
|
|
key={`${pluginItem.id}-${pluginItem.type}`}
|
2023-09-26 21:44:58 +08:00
|
|
|
tooltip={pluginItem.tooltip}
|
|
|
|
>
|
|
|
|
<Styled.PluginInfoComponent>
|
|
|
|
{pluginItem.label}
|
|
|
|
</Styled.PluginInfoComponent>
|
|
|
|
</Styled.PluginComponentWrapper>
|
|
|
|
);
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
returnComponent = null;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if (pluginItem.hasSeparator) {
|
|
|
|
switch (pluginItem.position) {
|
|
|
|
case PluginSdk.NavBarItemPosition.RIGHT:
|
|
|
|
returnComponent = (
|
|
|
|
<>
|
|
|
|
{returnComponent}
|
2023-11-29 02:31:28 +08:00
|
|
|
<Styled.PluginSeparatorWrapper key={`${pluginItem.id}-${pluginItem.type}-separator`}>
|
|
|
|
|
|
|
|
|
</Styled.PluginSeparatorWrapper>
|
2023-09-26 21:44:58 +08:00
|
|
|
</>
|
|
|
|
);
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
returnComponent = (
|
|
|
|
<>
|
2023-11-29 02:31:28 +08:00
|
|
|
<Styled.PluginSeparatorWrapper key={`${pluginItem.id}-${pluginItem.type}-separator`}>
|
|
|
|
|
|
|
|
|
</Styled.PluginSeparatorWrapper>
|
2023-09-26 21:44:58 +08:00
|
|
|
{returnComponent}
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return returnComponent;
|
|
|
|
})
|
2023-09-22 02:10:30 +08:00
|
|
|
}
|
2023-09-26 21:44:58 +08:00
|
|
|
</>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
return (<></>);
|
|
|
|
};
|
2024-02-29 03:31:44 +08:00
|
|
|
|
2020-03-25 20:52:23 +08:00
|
|
|
class NavBar extends Component {
|
2021-05-18 04:25:07 +08:00
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
2020-06-20 13:46:10 +08:00
|
|
|
|
2021-05-18 04:25:07 +08:00
|
|
|
this.handleToggleUserList = this.handleToggleUserList.bind(this);
|
2023-09-22 02:10:30 +08:00
|
|
|
this.splitPluginItems = this.splitPluginItems.bind(this);
|
2019-01-16 21:08:20 +08:00
|
|
|
}
|
|
|
|
|
2019-01-04 02:14:35 +08:00
|
|
|
componentDidMount() {
|
2019-01-09 06:17:11 +08:00
|
|
|
const {
|
2021-09-30 20:43:28 +08:00
|
|
|
shortcuts: TOGGLE_USERLIST_AK,
|
2022-01-14 20:59:31 +08:00
|
|
|
intl,
|
|
|
|
breakoutNum,
|
|
|
|
breakoutName,
|
|
|
|
meetingName,
|
2019-01-09 06:17:11 +08:00
|
|
|
} = this.props;
|
|
|
|
|
2022-01-14 20:59:31 +08:00
|
|
|
if (breakoutNum && breakoutNum > 0) {
|
2022-01-27 01:16:10 +08:00
|
|
|
if (breakoutName && meetingName) {
|
|
|
|
const defaultBreakoutName = intl.formatMessage(intlMessages.defaultBreakoutName, {
|
|
|
|
0: breakoutNum,
|
|
|
|
});
|
2022-01-14 20:59:31 +08:00
|
|
|
|
2022-01-27 01:16:10 +08:00
|
|
|
if (breakoutName === defaultBreakoutName) {
|
|
|
|
document.title = `${breakoutNum} - ${meetingName}`;
|
|
|
|
} else {
|
|
|
|
document.title = `${breakoutName} - ${meetingName}`;
|
|
|
|
}
|
2022-01-14 20:59:31 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-30 20:43:28 +08:00
|
|
|
const { isFirefox } = browserInfo;
|
|
|
|
const { isMacos } = deviceInfo;
|
|
|
|
|
|
|
|
// accessKey U does not work on firefox for macOS for some unknown reason
|
|
|
|
if (isMacos && isFirefox && TOGGLE_USERLIST_AK === 'U') {
|
|
|
|
document.addEventListener('keyup', (event) => {
|
|
|
|
const { key, code } = event;
|
2021-11-22 08:55:51 +08:00
|
|
|
const eventKey = key?.toUpperCase();
|
2021-09-30 20:43:28 +08:00
|
|
|
const eventCode = code;
|
2021-11-22 08:55:51 +08:00
|
|
|
if (event?.altKey && (eventKey === TOGGLE_USERLIST_AK || eventCode === `Key${TOGGLE_USERLIST_AK}`)) {
|
2021-09-30 20:43:28 +08:00
|
|
|
this.handleToggleUserList();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
2019-01-04 02:14:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
componentWillUnmount() {
|
2019-01-04 05:09:00 +08:00
|
|
|
clearInterval(this.interval);
|
2019-01-04 02:14:35 +08:00
|
|
|
}
|
|
|
|
|
2021-05-18 04:25:07 +08:00
|
|
|
handleToggleUserList() {
|
|
|
|
const {
|
|
|
|
sidebarNavigation,
|
|
|
|
sidebarContent,
|
2021-08-05 19:03:24 +08:00
|
|
|
layoutContextDispatch,
|
2021-05-18 04:25:07 +08:00
|
|
|
} = this.props;
|
|
|
|
|
|
|
|
if (sidebarNavigation.isOpen) {
|
|
|
|
if (sidebarContent.isOpen) {
|
2021-08-05 19:03:24 +08:00
|
|
|
layoutContextDispatch({
|
2021-05-18 04:25:07 +08:00
|
|
|
type: ACTIONS.SET_SIDEBAR_CONTENT_IS_OPEN,
|
|
|
|
value: false,
|
|
|
|
});
|
2021-08-05 19:03:24 +08:00
|
|
|
layoutContextDispatch({
|
2021-05-18 04:25:07 +08:00
|
|
|
type: ACTIONS.SET_SIDEBAR_CONTENT_PANEL,
|
|
|
|
value: PANELS.NONE,
|
|
|
|
});
|
2021-08-05 19:03:24 +08:00
|
|
|
layoutContextDispatch({
|
2021-05-18 04:25:07 +08:00
|
|
|
type: ACTIONS.SET_ID_CHAT_OPEN,
|
|
|
|
value: '',
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2021-08-05 19:03:24 +08:00
|
|
|
layoutContextDispatch({
|
2021-05-18 04:25:07 +08:00
|
|
|
type: ACTIONS.SET_SIDEBAR_NAVIGATION_IS_OPEN,
|
|
|
|
value: false,
|
|
|
|
});
|
2021-08-05 19:03:24 +08:00
|
|
|
layoutContextDispatch({
|
2021-05-18 04:25:07 +08:00
|
|
|
type: ACTIONS.SET_SIDEBAR_NAVIGATION_PANEL,
|
|
|
|
value: PANELS.NONE,
|
|
|
|
});
|
|
|
|
} else {
|
2021-08-05 19:03:24 +08:00
|
|
|
layoutContextDispatch({
|
2021-05-18 04:25:07 +08:00
|
|
|
type: ACTIONS.SET_SIDEBAR_NAVIGATION_IS_OPEN,
|
|
|
|
value: true,
|
|
|
|
});
|
2021-08-05 19:03:24 +08:00
|
|
|
layoutContextDispatch({
|
2021-05-18 04:25:07 +08:00
|
|
|
type: ACTIONS.SET_SIDEBAR_NAVIGATION_PANEL,
|
|
|
|
value: PANELS.USERLIST,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-22 02:10:30 +08:00
|
|
|
splitPluginItems() {
|
|
|
|
const { pluginNavBarItems } = this.props;
|
|
|
|
|
|
|
|
return pluginNavBarItems.reduce((result, item) => {
|
|
|
|
switch (item.position) {
|
|
|
|
case PluginSdk.NavBarItemPosition.LEFT:
|
|
|
|
result.leftPluginItems.push(item);
|
|
|
|
break;
|
|
|
|
case PluginSdk.NavBarItemPosition.CENTER:
|
|
|
|
result.centerPluginItems.push(item);
|
|
|
|
break;
|
|
|
|
case PluginSdk.NavBarItemPosition.RIGHT:
|
|
|
|
result.rightPluginItems.push(item);
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
return result;
|
|
|
|
}, {
|
|
|
|
leftPluginItems: [],
|
|
|
|
centerPluginItems: [],
|
|
|
|
rightPluginItems: [],
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2017-10-11 06:08:51 +08:00
|
|
|
render() {
|
2018-05-02 08:02:45 +08:00
|
|
|
const {
|
2018-11-01 02:51:56 +08:00
|
|
|
hasUnreadMessages,
|
2021-04-01 22:58:58 +08:00
|
|
|
hasUnreadNotes,
|
2018-11-01 02:51:56 +08:00
|
|
|
intl,
|
|
|
|
shortcuts: TOGGLE_USERLIST_AK,
|
2019-06-07 21:49:50 +08:00
|
|
|
presentationTitle,
|
2019-08-15 04:49:16 +08:00
|
|
|
amIModerator,
|
2021-05-18 04:25:07 +08:00
|
|
|
style,
|
|
|
|
main,
|
2023-03-28 03:58:48 +08:00
|
|
|
isPinned,
|
2021-05-18 04:25:07 +08:00
|
|
|
sidebarNavigation,
|
2023-02-08 19:47:26 +08:00
|
|
|
currentUserId,
|
2023-11-21 00:30:07 +08:00
|
|
|
isDirectLeaveButtonEnabled,
|
|
|
|
isMeteorConnected,
|
2018-05-02 08:02:45 +08:00
|
|
|
} = this.props;
|
2017-10-11 06:08:51 +08:00
|
|
|
|
2023-03-28 03:58:48 +08:00
|
|
|
const hasNotification = hasUnreadMessages || (hasUnreadNotes && !isPinned);
|
2017-10-11 06:08:51 +08:00
|
|
|
|
2018-10-16 01:49:17 +08:00
|
|
|
let ariaLabel = intl.formatMessage(intlMessages.toggleUserListAria);
|
2021-04-01 22:58:58 +08:00
|
|
|
ariaLabel += hasNotification ? (` ${intl.formatMessage(intlMessages.newMessages)}`) : '';
|
2018-10-16 01:49:17 +08:00
|
|
|
|
2021-05-18 04:25:07 +08:00
|
|
|
const isExpanded = sidebarNavigation.isOpen;
|
2023-02-27 21:52:10 +08:00
|
|
|
const { isPhone } = deviceInfo;
|
|
|
|
|
2023-09-22 02:10:30 +08:00
|
|
|
const { leftPluginItems, centerPluginItems, rightPluginItems } = this.splitPluginItems();
|
|
|
|
|
2023-11-25 04:23:22 +08:00
|
|
|
const { selectedLayout } = Settings.application;
|
|
|
|
const shouldShowNavBarToggleButton = selectedLayout !== LAYOUT_TYPE.CAMERAS_ONLY
|
|
|
|
&& selectedLayout !== LAYOUT_TYPE.PRESENTATION_ONLY
|
2023-11-28 18:41:24 +08:00
|
|
|
&& selectedLayout !== LAYOUT_TYPE.PARTICIPANTS_AND_CHAT_ONLY;
|
2023-11-25 04:23:22 +08:00
|
|
|
|
2017-10-11 06:08:51 +08:00
|
|
|
return (
|
2021-11-05 02:11:42 +08:00
|
|
|
<Styled.Navbar
|
2022-04-09 03:05:29 +08:00
|
|
|
id="Navbar"
|
2021-05-18 04:25:07 +08:00
|
|
|
style={
|
|
|
|
main === 'new'
|
|
|
|
? {
|
|
|
|
position: 'absolute',
|
|
|
|
top: style.top,
|
|
|
|
left: style.left,
|
|
|
|
height: style.height,
|
|
|
|
width: style.width,
|
|
|
|
}
|
|
|
|
: {
|
|
|
|
position: 'relative',
|
|
|
|
height: style.height,
|
|
|
|
width: '100%',
|
|
|
|
}
|
|
|
|
}
|
2020-03-25 20:52:23 +08:00
|
|
|
>
|
2021-11-05 02:11:42 +08:00
|
|
|
<Styled.Top>
|
|
|
|
<Styled.Left>
|
2023-11-25 04:23:22 +08:00
|
|
|
{shouldShowNavBarToggleButton && isExpanded && document.dir === 'ltr'
|
2021-12-10 22:55:37 +08:00
|
|
|
&& <Styled.ArrowLeft iconName="left_arrow" />}
|
2023-11-25 04:23:22 +08:00
|
|
|
{shouldShowNavBarToggleButton && !isExpanded && document.dir === 'rtl'
|
2021-12-10 22:55:37 +08:00
|
|
|
&& <Styled.ArrowLeft iconName="left_arrow" />}
|
2023-11-25 04:23:22 +08:00
|
|
|
{shouldShowNavBarToggleButton && (
|
|
|
|
<Styled.NavbarToggleButton
|
2023-11-28 02:30:00 +08:00
|
|
|
tooltipplacement="right"
|
2023-11-25 04:23:22 +08:00
|
|
|
onClick={this.handleToggleUserList}
|
|
|
|
color={isPhone && isExpanded ? 'primary' : 'dark'}
|
2023-11-28 02:30:00 +08:00
|
|
|
size='md'
|
2023-11-25 04:23:22 +08:00
|
|
|
circle
|
|
|
|
hideLabel
|
|
|
|
data-test={hasNotification ? 'hasUnreadMessages' : 'toggleUserList'}
|
|
|
|
label={intl.formatMessage(intlMessages.toggleUserListLabel)}
|
|
|
|
tooltipLabel={intl.formatMessage(intlMessages.toggleUserListLabel)}
|
|
|
|
aria-label={ariaLabel}
|
|
|
|
icon="user"
|
|
|
|
aria-expanded={isExpanded}
|
|
|
|
accessKey={TOGGLE_USERLIST_AK}
|
|
|
|
hasNotification={hasNotification}
|
|
|
|
/>
|
|
|
|
)}
|
|
|
|
{shouldShowNavBarToggleButton && !isExpanded && document.dir === 'ltr'
|
2021-12-10 22:55:37 +08:00
|
|
|
&& <Styled.ArrowRight iconName="right_arrow" />}
|
2023-11-25 04:23:22 +08:00
|
|
|
{shouldShowNavBarToggleButton && isExpanded && document.dir === 'rtl'
|
2021-12-10 22:55:37 +08:00
|
|
|
&& <Styled.ArrowRight iconName="right_arrow" />}
|
2023-09-22 02:10:30 +08:00
|
|
|
{renderPluginItems(leftPluginItems)}
|
2021-11-05 02:11:42 +08:00
|
|
|
</Styled.Left>
|
|
|
|
<Styled.Center>
|
2022-02-09 23:52:42 +08:00
|
|
|
<Styled.PresentationTitle data-test="presentationTitle">
|
2022-01-20 21:03:18 +08:00
|
|
|
{presentationTitle}
|
2022-02-09 23:52:42 +08:00
|
|
|
</Styled.PresentationTitle>
|
2019-11-15 02:47:27 +08:00
|
|
|
<RecordingIndicator
|
|
|
|
amIModerator={amIModerator}
|
2023-02-08 19:47:26 +08:00
|
|
|
currentUserId={currentUserId}
|
2019-11-15 02:47:27 +08:00
|
|
|
/>
|
2023-09-22 02:10:30 +08:00
|
|
|
{renderPluginItems(centerPluginItems)}
|
2021-11-05 02:11:42 +08:00
|
|
|
</Styled.Center>
|
|
|
|
<Styled.Right>
|
2023-09-22 02:10:30 +08:00
|
|
|
{renderPluginItems(rightPluginItems)}
|
2021-03-26 05:22:50 +08:00
|
|
|
{ConnectionStatusService.isEnabled() ? <ConnectionStatusButton /> : null}
|
2024-03-06 06:33:31 +08:00
|
|
|
{ConnectionStatusService.isEnabled() ? <ConnectionStatus /> : null}
|
2023-11-21 00:30:07 +08:00
|
|
|
{isDirectLeaveButtonEnabled && isMeteorConnected
|
2024-02-06 01:36:55 +08:00
|
|
|
? <LeaveMeetingButtonContainer amIModerator={amIModerator} /> : null}
|
2023-11-21 00:30:07 +08:00
|
|
|
<OptionsDropdownContainer
|
|
|
|
amIModerator={amIModerator}
|
|
|
|
isDirectLeaveButtonEnabled={isDirectLeaveButtonEnabled}
|
|
|
|
/>
|
2021-11-05 02:11:42 +08:00
|
|
|
</Styled.Right>
|
|
|
|
</Styled.Top>
|
|
|
|
<Styled.Bottom>
|
2023-11-14 01:40:36 +08:00
|
|
|
<TalkingIndicator amIModerator={amIModerator} />
|
2023-05-16 03:46:44 +08:00
|
|
|
<TimerIndicatorContainer />
|
2021-11-05 02:11:42 +08:00
|
|
|
</Styled.Bottom>
|
|
|
|
</Styled.Navbar>
|
2017-10-11 06:08:51 +08:00
|
|
|
);
|
|
|
|
}
|
2016-04-29 03:02:51 +08:00
|
|
|
}
|
|
|
|
|
2016-05-04 22:48:53 +08:00
|
|
|
NavBar.propTypes = propTypes;
|
|
|
|
NavBar.defaultProps = defaultProps;
|
2024-04-25 04:18:21 +08:00
|
|
|
export default injectIntl(NavBar);
|