Skip to content

fix: reset play board state between games#272

Merged
ashtonanderson merged 2 commits intomainfrom
codex/fix-second-game-piece-offset
Mar 28, 2026
Merged

fix: reset play board state between games#272
ashtonanderson merged 2 commits intomainfrom
codex/fix-second-game-piece-offset

Conversation

@ashtonanderson
Copy link
Copy Markdown
Member

Summary

  • remount the play controller subtree when a new game id is loaded
  • remount the chessboard instance per game so chessground cannot reuse stale interaction state
  • clear pending promotion state when switching to a new game

Testing

  • npx tsc --noEmit

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
maia-platform-frontend Ready Ready Preview, Comment Mar 28, 2026 3:01pm

Request Review

@ashtonanderson ashtonanderson merged commit 9df1ba2 into main Mar 28, 2026
6 checks passed
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.

1 participant