Skip to content

Skill groups — court-to-group mapping + rounds layout #34

@javaisbetterthanpython

Description

@javaisbetterthanpython

Summary

Upstream: pickleball-shuffler#25 (part 2 of 3)

Physical court labels assigned to groups, and rounds page layout that visually groups courts by skill group.

Court-to-group mapping

  • Configure at game setup and in-game (Courts/Groups modal).
  • Example: Courts 1 & 3 → Standard; Court 2 → Advanced.
  • Number of courts per group = number of courts assigned to that group.
  • Host can reassign mid-session (triggers pre-gen restart per Richer session mix + instant next round #30).

Rounds page layout

  • Same overall rounds page pattern as today — not tabs/pager for groups.
  • Courts visually grouped by skill group (clear which courts belong to which group).
  • Group courts together in layout as much as possible.

Combined rounds

Acceptance criteria

  • Court labels + assignment to groups on /new and in-game
  • Court count per group derived from assignments
  • Rounds page shows courts visually grouped by group (separate mode)
  • Combined round display hides group labels
  • Reassignment invalidates pre-gen (Richer session mix + instant next round #30)
  • yarn test:ci and yarn build pass

Files likely touched

  • src/CourtsModal.tsx (or new Groups/Courts modal)
  • pages/new.tsx
  • pages/rounds.tsx
  • src/Court.tsx

Dependencies

Upstream reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions