Repository navigation
feat(web): add replay timeline and branching - #102
Merged
Merged
Conversation
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.
Matches now open in a replay viewer with a turn slider, keyboard controls, autoplay speed, seat perspectives, and shareable turn links. Players can branch from any recorded position into hot-seat, built-in-opponent, or external-agent play; the parent remains unchanged and ancestor/child links connect the variations.
Recorded reasoning and engine estimates are shown only when returned by the replay API. The graph distinguishes seat estimates and includes a text table. Creation, moves, and forks refresh history and variation caches.
Validation: type checking, lint, dependency boundaries, formatting, production build, and six real-server replay/branch browser scenarios pass. Added coverage spans all four MVP games, branching against minimax, recorded estimates, links, autoplay, perspective changes, parent immutability, and mobile layout. Full browser regression and all CI workflows must pass before merge.
SemVer: additive feature (minor).