(feat): add avatars to call modals
Some checks failed
/ deploy (push) Has been cancelled

(feat): add fullscreen & popout buttons
(feat): remove clock icon from awaiting messages
(qol): update todos
This commit is contained in:
Alois 2026-05-09 14:36:19 +02:00
commit 30cf5ae3b9
14 changed files with 248 additions and 29 deletions

View file

@ -83,6 +83,7 @@ function calculateOptimalGridLayout(
export default function View() {
const room = useCall((state) => state.room);
const layoutVersion = useCall((state) => state.layoutVersion);
const activeScreenShareParticipantIds = useCall(
(state) => state.activeScreenShareParticipantIds,
);
@ -98,15 +99,21 @@ export default function View() {
return;
}
const syncContainerSize = () => {
const { width, height } = element.getBoundingClientRect();
setContainerSize({ width, height });
};
const observer = new ResizeObserver(([entry]) => {
const { width, height } = entry.contentRect;
setContainerSize({ width, height });
});
syncContainerSize();
observer.observe(element);
return () => observer.disconnect();
}, []);
}, [layoutVersion]);
useEffect(() => {
const syncParticipants = () => {