Back
25 Dec, 2025

[0.2.3.0] - 2025-12-25

Added

  •  Unified Grid Layout:
  • Introduced a new `layout` parameter to the `[wpj_lobby]` shortcode to control the meeting room visual structure.
  • `layout="split"` (Default):** Maintains the classic layout with separate grids for Presenters (Top) and Users (Bottom).
  •  `layout="unified"`: Merges all participants into a single, responsive gallery grid.
  •  Smart Dynamic Sizing (CSS-First):
  •  Implemented modern CSS `:has()` selectors to automatically adjust the Unified Grid columns/rows based on participant count (1-6 users) without relying on complex JavaScript calculations.
  • Adaptive States:
  • 1 User: Full screen (100% height/width).
  • 2 Users: Split 50/50 side-by-side.
  • 3-4 Users: 2x2 Grid.
  • 5-6 Users: 2x3 Grid.
  • 7+ Users: Auto-flow grid with scroll.

Changed

  • Grid Architecture: Refactored `sortAndRouteVideoGrid` logic to support conditional rendering containers (`.wpj_unified-grid` vs `.wpj_presenter-grid`).
  • Shortcode Logic: Updated `wpj_lobby_shortcode` to process and sanitize the new `layout` attribute and pass it securely via Context Transient.