From bdccea700acbd396c3a773869ec088a1a0100d7a Mon Sep 17 00:00:00 2001 From: EnricoSchw Date: Wed, 11 Dec 2024 11:23:48 +0100 Subject: [PATCH 1/2] feat: enable conference feature check --- src/script/team/TeamState.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/script/team/TeamState.ts b/src/script/team/TeamState.ts index 9e368138208..abbb2b2bf00 100644 --- a/src/script/team/TeamState.ts +++ b/src/script/team/TeamState.ts @@ -117,7 +117,9 @@ export class TeamState { () => this.teamFeatures()?.mls?.config.protocolToggleUsers.includes(this.userState.self().id) ?? false, ); - this.isConferenceCallingEnabled = ko.pureComputed(() => true); + this.isConferenceCallingEnabled = ko.pureComputed( + () => this.teamFeatures()?.conferenceCalling?.status === FeatureStatus.ENABLED, + ); this.isGuestLinkEnabled = ko.pureComputed( () => this.teamFeatures()?.conversationGuestLinks?.status === FeatureStatus.ENABLED, From 91e59458b4ea343a2444bb0c8f77fa436c27a578 Mon Sep 17 00:00:00 2001 From: EnricoSchw Date: Wed, 11 Dec 2024 11:28:36 +0100 Subject: [PATCH 2/2] feat: remove zoom icons --- .../components/calling/GroupVideoGridTile.tsx | 25 ++----------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/src/script/components/calling/GroupVideoGridTile.tsx b/src/script/components/calling/GroupVideoGridTile.tsx index a657d46bfc6..052fad5fb65 100644 --- a/src/script/components/calling/GroupVideoGridTile.tsx +++ b/src/script/components/calling/GroupVideoGridTile.tsx @@ -17,7 +17,7 @@ * */ -import React, {useState} from 'react'; +import React from 'react'; import {QualifiedId} from '@wireapp/api-client/lib/user'; import {TabIndex} from '@wireapp/react-ui-kit/lib/types/enums'; @@ -89,8 +89,6 @@ const GroupVideoGridTile: React.FC = ({ 'isSwitchingVideoResolution', ]); - const [isZoomedIn, setIsZoomedIn] = useState(false); - const {name} = useKoSubscribableChildren(participant?.user, ['name']); const sharesScreen = videoState === VIDEO_STATE.SCREENSHARE; @@ -108,24 +106,8 @@ const GroupVideoGridTile: React.FC = ({ } }; - const handleZoomClick = () => { - setIsZoomedIn(prev => !prev); - }; - const participantNameColor = getParticipantNameColor({isActivelySpeaking, isAudioEstablished}); - const actionItem = !minimized && sharesScreen && ( - - ); - const nameContainer = !minimized && (
= ({ tabIndex={isMaximized ? TabIndex.FOCUSABLE : TabIndex.UNFOCUSABLE} > {hasActiveVideo ? ( -
+
@@ -250,8 +231,6 @@ const GroupVideoGridTile: React.FC = ({
)} - {actionItem} - {nameContainer} {(hasPausedVideo || isSwitchingVideoResolution) && (