Skip to content

[#11] Pair visualization polish#17

Merged
javaisbetterthanpython merged 1 commit into
mainfrom
issue-11-pair-visualization
Jun 7, 2026
Merged

[#11] Pair visualization polish#17
javaisbetterthanpython merged 1 commit into
mainfrom
issue-11-pair-visualization

Conversation

@javaisbetterthanpython

Copy link
Copy Markdown
Owner

Summary

  • Add src/fixedPairs.ts helpers and useFixedPairs() hook that reads optional fixedPairs from shuffler state (no-op when absent)
  • PlayerBadge shows a link icon with accessible label when the player is in a fixed pair
  • TeamBadges visually groups fixed-pair teammates with a dashed border and connector on /rounds
  • Sit-out badges pass playerId so pair indicators appear there too

Test plan

  • yarn test:ci passes
  • yarn build passes
  • Manual visual check on /rounds with fixed pairs configured

Closes #11

Made with Cursor

Replace nonexistent react-iconly Link export with an inline chain-link
SVG via PairLinkIcon so yarn build type-checks cleanly.

Co-authored-by: Cursor <cursoragent@cursor.com>
@javaisbetterthanpython javaisbetterthanpython force-pushed the issue-11-pair-visualization branch from 2567607 to 57c4f0a Compare June 7, 2026 09:57
@javaisbetterthanpython javaisbetterthanpython merged commit d8097cb into main Jun 7, 2026
@javaisbetterthanpython javaisbetterthanpython deleted the issue-11-pair-visualization branch June 7, 2026 09:57
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.

Pair visualization polish

1 participant