mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-30 00:50:48 +08:00
cc35f243f2
In preparation for adding layouts other than big grid to the NewVideoGrid component, I've abstracted the grid layout system into an interface called Layout. For now, the only implementation of this interface is BigGrid, but this will allow us to easily plug in Spotlight, SplitGrid, and OneOnOne layout systems so we can get rid of the old VideoGrid component and have One Grid to Rule Them All™. Please do shout if any of this seems obtuse or underdocumented, because I'm not super happy with how approachable the NewVideoGrid code looks right now… Incidentally, this refactoring made it way easier to save the state of the grid while in fullscreen / another layout, so I went ahead and did that. |
||
---|---|---|
.. | ||
home | ||
mocks | ||
otel | ||
room | ||
video-grid | ||
initializer-test.ts |