- Implemented DockedCallPanel component to render the docked call interface when an active call is present. - Created RemoteCursorOverlay component to display remote cursor positions during screen sharing. - Added hooks for managing docked call state and remote cursor functionality. - Introduced pending drag state management for seamless transitions between docked and floating states. - Developed embed filter management components for personal and room-wide settings, allowing users to customize URL embed visibility. - Implemented auto-joining functionality for rooms within spaces, enhancing user experience during space navigation. - Added state management for tracking joining progress of rooms in spaces.
18 lines
433 B
TypeScript
18 lines
433 B
TypeScript
import React, { ReactNode } from 'react';
|
|
import { Box } from 'folds';
|
|
import { DockedCallPanel } from '../../features/call/DockedCallPanel';
|
|
|
|
type ClientLayoutProps = {
|
|
nav: ReactNode;
|
|
children: ReactNode;
|
|
};
|
|
export function ClientLayout({ nav, children }: ClientLayoutProps) {
|
|
return (
|
|
<Box grow="Yes">
|
|
<Box shrink="No">{nav}</Box>
|
|
<Box grow="Yes">{children}</Box>
|
|
<DockedCallPanel />
|
|
</Box>
|
|
);
|
|
}
|