Repository navigation
Conversation
A live match with points could not change courts. Returning it to the queue only works at 0-0, so a broken net or a wet court meant losing the score. moveMatch moves a live match to a free court. It keeps the score, the server, and the start time, checks the match version, refuses a busy court, and writes a "move" row to the match history. The match panel shows a Move to button for each free court, and the CLI and MCP call the same operation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a phone the bracket canvas needs a lot of panning and zooming to find a match. Below 560px wide, the Bracket tab now shows a strip of round tabs, with a dot on rounds that have a live match, and a list of that round's match cards. It opens on the first round with a live match. The Map button brings back the pan-and-zoom canvas. The tabs follow the arrow, Home, and End keys. Wider screens still show the canvas. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The tournament example had two gaps:
Change
Fixes #4582
Fixes #4583
Round list on phones. Below 560px wide, the Bracket tab shows:
It opens on the first round with a live match. Opening a match from elsewhere switches to that match's round. The Map button brings back the canvas, and Round list returns to the list. The tabs use roving focus with the arrow, Home, and End keys. Wider screens still show only the canvas. Both views use the same snapshot data, and this adds no operation.
moveMatch. A new operation moves a live match to a free court. It:
conflictcourt_busy, and the match's own court withinvalid_inputmoverow tomatch_eventswith who did it, so the match history and the recent feed show "Moved to Court 3"The match panel shows a Move to button for each free court, or "All courts busy". The button, the CLI, and MCP all call this one operation. Like the other scoring operations, it is open to the owner and helpers and refused for spectators.
The schema adds
moveto the allowed event kinds. The example is ordinary workspace source with no shipped data to migrate. A workspace that already holds a copy picks the change up when the Collection is approved again.Outside
examples/tournament. The tests live inpackages/app-backend-runtime/src/tournament-example.test.ts. It is the only test file for this example, so the new test is added there. Nothing else in that package changed.Verification
Tested commit
515a13ea1on Windows 11.match_not_livecourt_busyconflictmovehistory row with the court, the score, the players, and the scorekeeperpnpm lint, andpnpm fmtall pass.aria-pressed="true"court_busy("Court 2 is already playing M19 (Losers round 2). Complete that match first."), a stale version withconflict, and a move to free Court 4 kept the score 9–7, games 1–0, the server, and the start timeNot checked:
apps/mobileshellScreenshots
🤖 Generated with Claude Code