• Mahmoud Aglan's avatar
    Pool management complete overhaul: interactive 2D grid, schedules, dashboard · 5c9ce3c8
    Mahmoud Aglan authored
    Grid rewrite:
    - Fully interactive lanes×timeslots grid with click/drag cell selection
    - Click individual cells, drag-select rectangles, row headers (full lane),
      column headers (full time slot)
    - Inline booking panel slides up from bottom when cells are selected —
      no separate page needed, book directly from the grid
    - Recurring schedules shown as purple cells on the grid
    - Real-time refresh every 30s via AJAX
    - Visual pool dimensions display with lane numbers
    
    New: Weekly Schedules (pool_schedules):
    - Create recurring weekly templates (coach, academy, age group, gender, lanes)
    - Effective date range, color-coded, max swimmers per schedule
    - Auto-displayed on the grid for the matching day of week
    - Manage page with create form + list of all schedules with delete
    
    New: Pool Dashboard (/pool/{id}/dashboard):
    - KPI cards: today/week/month bookings, swimmers, revenue, utilization %
    - Heatmap: bookings per hour per day of week (last 30 days) with color intensity
    - Booking type breakdown with progress bars
    - Lane utilization bars (hours used vs available)
    - Peak hours chart with AI recommendations for increasing occupancy
    - Low-utilization detection + suggestions
    
    Updated pool index:
    - Cards with mini pool visual, 3 action buttons (grid, dashboard, schedules)
    - Better visual hierarchy and information density
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    5c9ce3c8
Name
Last commit
Last update
..
Academies Loading commit data...
AcademyContracts Loading commit data...
Accounting Loading commit data...
ActivitySubscriptions Loading commit data...
Alerts Loading commit data...
Archive Loading commit data...
Audit Loading commit data...
Auth Loading commit data...
Branches Loading commit data...
Carnets Loading commit data...
Cashier Loading commit data...
Children Loading commit data...
Coaches Loading commit data...
Dashboard Loading commit data...
Death Loading commit data...
Disciplines Loading commit data...
Divorce Loading commit data...
Documents Loading commit data...
Facilities Loading commit data...
FacilityDashboards Loading commit data...
Fines Loading commit data...
Foreign Loading commit data...
Forms Loading commit data...
HR Loading commit data...
Honorary Loading commit data...
Installments Loading commit data...
Interviews Loading commit data...
Inventory Loading commit data...
Members Loading commit data...
Notifications Loading commit data...
Payments Loading commit data...
PlayerAffairs Loading commit data...
PoolManagement Loading commit data...
Pricing Loading commit data...
Procurement Loading commit data...
Receipts Loading commit data...
Rentals Loading commit data...
Reports Loading commit data...
Reservations Loading commit data...
Roles Loading commit data...
Rules Loading commit data...
Sales Loading commit data...
Seasonal Loading commit data...
ServiceCatalog Loading commit data...
Sessions Loading commit data...
Settings Loading commit data...
Sports Loading commit data...
Spouses Loading commit data...
Subscriptions Loading commit data...
Support Loading commit data...
Temporary Loading commit data...
TrainingGroups Loading commit data...
Transfers Loading commit data...
Users Loading commit data...
Waiver Loading commit data...
Workflow Loading commit data...