feat(frontend): fullscreen toggle, move indicators, material advantage & move-history rewind - #214
Merged
chiscookeke11 merged 1 commit intoAug 28, 2026
Conversation
…rs, fullscreen - Kaycee276#124: fullscreen toggle button in action bar + 'f' keyboard shortcut - Kaycee276#123: legal-move dot markers on empty squares, capture rings on enemy pieces - Kaycee276#109: captured-piece icons and real-time material point differential for both players - Kaycee276#112: move-history board playback with arrow-key/button rewind, clickable move list in chat panel, and movable last-move highlight Closes Kaycee276#124 Closes Kaycee276#123 Closes Kaycee276#112 Closes Kaycee276#109
|
@dimka90 is attempting to deploy a commit to the kaycee276's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Yilkash Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
Summary
Batched frontend enhancement for four assigned issues on a single branch. All changes are in the React/Vite/TypeScript frontend.
#124 — Fullscreen Mode Toggle
Maximize2/Minimize2) to the game action bar using the HTML5 Fullscreen API.fkeyboard shortcut (ignored while typing in inputs).fullscreenchangeso the icon reflects the real state.#123 — Legal Move Dot Indicators & Capture Ring Highlights
#109 — Captured Pieces & Material Advantage
+3,−5), computed from captured piece values inchessUtils.ts.#112 — Interactive Move History Navigation / Board Playback Rewind
GET /api/games/:code/movesand kept in the Zustand store (moveHistory,viewingIndex), refreshed after moves, on join/rejoin, and kept in sync viamove_count.←/→rewind/advance the board (ignored while typing).+/#suffixes) and is fully clickable.Verification
npm run lintpasses on all touched files.npx tsc --noEmitpasses with zero errors.npm test(Vitest) passes.eslint .on the wholefrontend/still reports one pre-existing parsing error insrc/pages/SpectatorPage.tsx:193that also exists onmaster(it was merged broken in a previous PR) — left untouched per contribution scope.Closes #124
Closes #123
Closes #112
Closes #109