-
Mahmoud Aglan authored
Features: - SpaceLayoutManager: full CRUD for facility layouts (grid/lanes/zones/custom) with visual segment preview and toggle availability - SpaceAssignmentWizard: 5-step wizard for assigning groups to facility segments Step 1: Search and select training group Step 2: Choose which schedule slot to assign Step 3: Pick the facility (if not already linked) Step 4: Visual grid/lane/zone selector with real-time collision detection Step 5: Success confirmation - Visual grid renders as clickable cells showing available/selected/occupied/disabled states - Real-time collision checking against existing confirmed reservations - Saves space_reservation_template on TrainingSchedule for auto-reservation on session creation - Fix: ReservationService.autoReserveForSession() now uses correct field names (space_reservation_template instead of segments, segment_ids instead of segments key) - Added "التخطيط" action link in facility list table - Added "تعيين المساحات" to sidebar navigation Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
40d21535