chess: pick a promotion on the board, lichess-style - #400
Conversation
The pawn lands on the last rank and the pieces stack down its file over a dimmed board; a tap off them puts the pawn back. Replaces the button row below the board, where the pawn sat back on its starting square. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KLwM4Z2DvpU7UvZj6mkVsx
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
muchq | 22e4af1 | Commit Preview URL Branch Preview URL |
Oct 01 2026, 02:40 AM |
|
Blocking None. Pawn is previewed on the promotion square ( Nits
Fine Lichess-shaped promotion without a hub change: preview on the last rank, file-aligned stack, dimmed dismiss, Esc and focus restore kept from the old row. Tests cover preview/cancel, column for both sides, and option order. Merge when ready. Review of #400 |
|
Both nits stay as-is for this PR: neither blocks, and the keyboard-modal one ( Generated by Claude Code |
The scrim already blocks the pointer; inert on the squares does the same for Tab. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KLwM4Z2DvpU7UvZj6mkVsx
Promotion used to put the pawn back on its starting square and show a row of buttons under the board. Now it works like lichess:
Tests: pawn shown on the last rank and put back on cancel; picker inside the board at the right column for White (50%) and Black (37.5%); options in Q/R/B/N order. I broke the code by hand to check both tests fail when they should. typecheck, lint, the full suite (1285 tests) and the build all pass. I checked desktop (1280×900) and mobile (390×844) screenshots by eye.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KLwM4Z2DvpU7UvZj6mkVsx
Generated by Claude Code