From d6f39e602d26ae55375e9224c55bb0abbf737121 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Mon, 13 Jul 2026 16:27:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A(frontend)=20move=20focus=20layout?= =?UTF-8?q?=20component=20to=20the=20layout=20feature?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reorganize the codebase so the focus layout component lives in the layout feature folder, alongside the other layout-related code. --- .../{rooms/livekit => layout}/components/FocusLayout.tsx | 2 +- .../src/features/rooms/livekit/prefabs/VideoConference.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/frontend/src/features/{rooms/livekit => layout}/components/FocusLayout.tsx (70%) diff --git a/src/frontend/src/features/rooms/livekit/components/FocusLayout.tsx b/src/frontend/src/features/layout/components/FocusLayout.tsx similarity index 70% rename from src/frontend/src/features/rooms/livekit/components/FocusLayout.tsx rename to src/frontend/src/features/layout/components/FocusLayout.tsx index 04364b4f..de6bc18b 100644 --- a/src/frontend/src/features/rooms/livekit/components/FocusLayout.tsx +++ b/src/frontend/src/features/layout/components/FocusLayout.tsx @@ -1,4 +1,4 @@ -import { ParticipantTile } from './ParticipantTile' +import { ParticipantTile } from '@/features/rooms/livekit/components/ParticipantTile' import type { FocusLayoutProps } from '@livekit/components-react' export function FocusLayout({ trackRef, ...htmlProps }: FocusLayoutProps) { diff --git a/src/frontend/src/features/rooms/livekit/prefabs/VideoConference.tsx b/src/frontend/src/features/rooms/livekit/prefabs/VideoConference.tsx index 13d476fb..6cf45253 100644 --- a/src/frontend/src/features/rooms/livekit/prefabs/VideoConference.tsx +++ b/src/frontend/src/features/rooms/livekit/prefabs/VideoConference.tsx @@ -20,7 +20,6 @@ import { import { useTranslation } from 'react-i18next' import { ControlBar } from './ControlBar/ControlBar' -import { FocusLayout } from '../components/FocusLayout' import { ParticipantTile } from '../components/ParticipantTile' import { SidePanel } from '../components/SidePanel' import { RecordingProvider } from '@/features/recording' @@ -41,6 +40,7 @@ import { ReactionPortals } from '@/features/reactions/components/ReactionPortals import { CarouselLayout } from '@/features/layout/components/CarouselLayout' import { GridLayout } from '@/features/layout/components/GridLayout' import { RoomContentArea } from '@/features/layout/components/RoomContentArea' +import { FocusLayout } from '@/features/layout/components/FocusLayout' import { usePictureInPicture } from '@/features/pip/hooks/usePictureInPicture' import { PipRoomPlaceholder } from '@/features/pip/components/PipRoomPlaceholder'