Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(toolbox/conference): review remarks
Calin-Teodor058c82a70456
diff --git a/react/features/toolbox/components/native/OverflowMenu.js b/react/features/toolbox/components/native/OverflowMenu.jsindex 2041eb1e4b..6845229f26 100644--- a/react/features/toolbox/components/native/OverflowMenu.js+++ b/react/features/toolbox/components/native/OverflowMenu.js@@ -7,6 +7,7 @@ import { BottomSheet, hideSheet } from '../../../base/dialog';import { bottomSheetStyles } from '../../../base/dialog/components/native/styles';import { connect } from '../../../base/redux';import { SharedDocumentButton } from '../../../etherpad';+import { ParticipantsPaneButton } from '../../../participants-pane/components/native';import { ReactionMenu } from '../../../reactions/components';import { isReactionsEnabled } from '../../../reactions/functions.any';import { LiveStreamButton, RecordButton } from '../../../recording';@@ -25,7 +26,6 @@ import LinkToSalesforceButton from './LinkToSalesforceButton';import OpenCarmodeButton from './OpenCarmodeButton';import RaiseHandButton from './RaiseHandButton';import ScreenSharingButton from './ScreenSharingButton';-import ToggleCameraButton from './ToggleCameraButton';import ToggleSelfViewButton from './ToggleSelfViewButton';/**@@ -114,14 +114,31 @@ class OverflowMenu extends PureComponent<Props, State> {styles: bottomSheetStyles.buttons};+ const topButtonProps = {+ afterClick: this._onCancel,+ showLabel: true,+ styles: {+ ...bottomSheetStyles.buttons,+ style: {+ ...bottomSheetStyles.buttons.style,+ borderTopLeftRadius: 16,+ borderTopRightRadius: 16+ }+ }+ };++ const firstMenuButtonProps+ = toolbarButtons.has('participantspane') ? topButtonProps : buttonProps;+return (<BottomSheetrenderFooter = { _reactionsEnabled && !toolbarButtons.has('raisehand')? this._renderReactionMenu: null }>- {_selfViewHidden && <ToggleSelfViewButton { ...buttonProps } />}- <OpenCarmodeButton { ...buttonProps } />+ {!toolbarButtons.has('participantspane') && <ParticipantsPaneButton { ...topButtonProps } />}+ <OpenCarmodeButton { ...firstMenuButtonProps } /><AudioOnlyButton { ...buttonProps } />+ {_selfViewHidden && <ToggleSelfViewButton { ...buttonProps } />}{!_reactionsEnabled && !toolbarButtons.has('raisehand') && <RaiseHandButton { ...buttonProps } />}<Divider style = { styles.divider } /><SecurityDialogButton { ...buttonProps } />@@ -132,7 +149,6 @@ class OverflowMenu extends PureComponent<Props, State> {<SharedVideoButton { ...buttonProps } /><ScreenSharingButton { ...buttonProps } /><SpeakerStatsButton { ...buttonProps } />- {!toolbarButtons.has('togglecamera') && <ToggleCameraButton { ...buttonProps } />}{!toolbarButtons.has('tileview') && <TileViewButton { ...buttonProps } />}<Divider style = { styles.divider } /><ClosedCaptionButton { ...buttonProps } />diff --git a/react/features/toolbox/components/native/Toolbox.js b/react/features/toolbox/components/native/Toolbox.jsindex 8591d2d180..fccf80ec7b 100644--- a/react/features/toolbox/components/native/Toolbox.js+++ b/react/features/toolbox/components/native/Toolbox.js@@ -102,8 +102,11 @@ function Toolbox(props: Props) {styles = { buttonStylesBorderless }toggledStyles = { backgroundToggledStyle } />)}{additionalButtons.has('tileview') && <TileViewButton styles = { buttonStylesBorderless } />}- <ParticipantsPaneButton- styles = { buttonStylesBorderless } />+ {+ additionalButtons.has('participantspane')+ && <ParticipantsPaneButton+ styles = { buttonStylesBorderless } />+ }<OverflowMenuButtonstyles = { buttonStylesBorderless }toggledStyles = { toggledButtonStyles } />