Wednesday, April 1, 2026

League Day Type Workflow & Schedule Sync

League Day Type Workflow & Schedule Sync

Canadian Elite Volleyball Academy — Development Update • April 1, 2026

League Day Type Workflow & Schedule Sync

What & Why

When a superadmin or coordinator changes a league day's type (PLAY, SORTING, or REGULAR), the schedule must automatically regenerate to match the new type. Currently, changing the type only updates the label without regenerating the schedule — so if Day 3 is changed from REGULAR to SORTING, it still shows the old tiered schedule. Additionally, the coordinator workflow needs clearer UI guidance so admins understand each step (generate schedule → initialize games → run day → lock day). PLAY days should use the sorting/mixing algorithm but skip point recording. Locking a day should leave the next day fully ready.

Done looks like

  • Changing a day's session type (PLAY, SORTING, REGULAR) automatically regenerates the schedule for that day using the correct algorithm
  • PLAY and SORTING days both use the random-mixing age-balanced algorithm (same schedule structure)
  • REGULAR days use the ranking-based tiered algorithm (ranks 1-20 Court 1, 21-40 Court 2, 41-60 Court 3)
  • PLAY days allow games to be played and scored, but points are excluded from ranking calculations (already works — just needs to remain intact)
  • The coordinator page shows a clear, prominent day-type selector with visual feedback about which algorithm will be used
  • The coordinator page shows a clear step-by-step workflow indicator: (1) Set Day Type → (2) Generate Schedule → (3) Initialize Games → (4) Run Day → (5) Lock Day
  • "Initialize Games" button is relabeled to something clearer like "Start Game Day" or "Create Games"
  • When a day is locked, the next day is fully prepared (schedule auto-generated, ready for the coordinator to review and initialize)
  • If a day type is changed after games have been initialized, the system warns the user that existing games will need to be reset
  • Cannot change day type on a locked session (already enforced)

Out of scope

  • Changes to the scoring/ranking algorithm
  • Changes to the scheduling algorithms themselves (those were fixed in Task #49)
  • Leaderboard or public schedule display changes
  • League creation wizard changes

Relevant files

- - - - -

Canadian Elite Volleyball Academy
elitevolleyball.training

No comments:

Post a Comment