diff --git a/CHANGELOG.md b/CHANGELOG.md index 259b465a..c4fed836 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to - ✨(helm) add support multiple transcribe worker / endpoint #1247 - ✨(backend) make LiveKit Egress recording encoding configurable #1288 - ✨(summary) add speaker-to-participant assignment +- ✨(feat) Introduce Picture-in-Picture (PiP) #890 ### Changed @@ -235,8 +236,6 @@ and this project adheres to - ✨(backend) monitor throttling rate failure through sentry #964 - 🚀(paas) add PaaS deployment scripts, tested on Scalingo #957 -- ✨(feat) Introduce Picture-in-Picture (PiP) #890 - ### Changed diff --git a/src/frontend/src/features/pip/components/PipControlBar.tsx b/src/frontend/src/features/pip/components/PipControlBar.tsx index 61519b77..018c7e86 100644 --- a/src/frontend/src/features/pip/components/PipControlBar.tsx +++ b/src/frontend/src/features/pip/components/PipControlBar.tsx @@ -11,7 +11,7 @@ import { HandToggle } from '@/features/rooms/livekit/components/controls/HandTog import { StartMediaButton } from '@/features/rooms/livekit/components/controls/StartMediaButton' import { usePipElementSize } from '../hooks/usePipElementSize' import { PipOptionsMenu } from './controls/PipOptionsMenu' -import { PipReactionsToggle } from './PipReactionsToggle' +import { ReactionsToggle } from '@/features/reactions/components/ReactionsToggle' export const CollapsibleControls = { HAND: 'hand', @@ -85,8 +85,12 @@ export const PipControlBar = ({ - {!hidden.has(CollapsibleControls.REACTIONS) && } - {showScreenShare && !hidden.has(CollapsibleControls.SCREEN_SHARE) && } + {!hidden.has(CollapsibleControls.REACTIONS) && ( + + )} + {showScreenShare && !hidden.has(CollapsibleControls.SCREEN_SHARE) && ( + + )} {!hidden.has(CollapsibleControls.HAND) && } diff --git a/src/frontend/src/features/pip/components/PipPlaceholder.tsx b/src/frontend/src/features/pip/components/PipPlaceholder.tsx index 15fe42b6..89688b9c 100644 --- a/src/frontend/src/features/pip/components/PipPlaceholder.tsx +++ b/src/frontend/src/features/pip/components/PipPlaceholder.tsx @@ -1,7 +1,6 @@ import { useTranslation } from 'react-i18next' import { styled } from '@/styled-system/jsx' import { useRoomPiP } from '../hooks/useRoomPiP' -import pipIllustration from '/assets/pip.svg' export const PipPlaceholder = () => { const { t } = useTranslation('rooms', { @@ -11,7 +10,13 @@ export const PipPlaceholder = () => { return ( -