Skip to content

[#33] Skill groups — foundation (data model + UI)#38

Open
javaisbetterthanpython wants to merge 1 commit into
mainfrom
issue-33-skill-groups
Open

[#33] Skill groups — foundation (data model + UI)#38
javaisbetterthanpython wants to merge 1 commit into
mainfrom
issue-33-skill-groups

Conversation

@javaisbetterthanpython

Copy link
Copy Markdown
Owner

Summary

  • Adds groups.ts data model (Standard/Advanced defaults, swing detection, fixed-pair leveling) with localStorage via useShuffler.
  • Adds GroupsEditor / GroupsModal for enable toggle, drag priority, player assignment, and swing warnings on /new, Players modal, and rounds.
  • Records per-round roundPlayModes and nextRoundPlayMode override for upcoming Skill groups — court-to-group mapping + rounds layout #34 generation work.

Test plan

  • npm run test:ci (including 7 new groups.spec.ts tests)
  • npm run build
  • npm run lint
  • Manual: enable skill groups on /new, assign players, start game
  • Manual: open Groups on rounds, change play mode for next round
  • Manual: verify swing ⚠️ on multi-group players

Closes #33

Made with Cursor

Enables optional Standard/Advanced groups on setup and in-game, with swing-player warnings, fixed-pair leveling, and per-round play mode fields for #34.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skill groups — foundation (data model + UI)

1 participant