(frontend) add admin side panel for room management

Introduce new dedicated side panel for room administration, providing
centralized interface for admins to manage room settings and participants.
Content will be added in the upcoming commits.
This commit is contained in:
lebaudantoine
2025-02-24 23:09:48 +01:00
committed by aleb_the_flash
parent 7c46029f87
commit 5d89efec78
8 changed files with 161 additions and 6 deletions

View File

@@ -11,6 +11,7 @@ import { ReactNode } from 'react'
import { Chat } from '../prefabs/Chat'
import { Transcript } from './Transcript'
import { Effects } from './effects/Effects'
import { Admin } from './Admin'
type StyledSidePanelProps = {
title: string
@@ -108,6 +109,7 @@ export const SidePanel = () => {
isChatOpen,
isSidePanelOpen,
isTranscriptOpen,
isAdminOpen,
} = useSidePanel()
const { t } = useTranslation('rooms', { keyPrefix: 'sidePanel' })
@@ -132,6 +134,9 @@ export const SidePanel = () => {
<Panel isOpen={isTranscriptOpen}>
<Transcript />
</Panel>
<Panel isOpen={isAdminOpen}>
<Admin />
</Panel>
</StyledSidePanel>
)
}