feat(ui): open the move history at the newest move; scale the landscape rack glyphs #289
Reference in New Issue
Block a user
Delete Branch "feature/history-autoscroll-landscape-rack"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two cosmetic fixes.
Move history opens at the newest move. The grid fills top to bottom, oldest first, so the table used to open on the opening moves. It is now pinned to its last row when shown — the portrait drawer and the landscape dock alike — once per showing, not on every arriving move (so reading back through a long game is not interrupted by an opponent's move).
Landscape rack glyphs +25%. The landscape tray shares the narrow left panel, so its tiles — and with them the cqw-sized glyphs — come out markedly smaller than the full-width portrait tray. The letter and Erudit's blank star scale up a quarter there; the point value keeps its size.
Tests: two new e2e assertions (portrait drawer + landscape dock) that stretch the cells so the seeded four-move game overflows the scroller, guarded against a vacuous pass; both fail without the fix.
svelte-checkclean, 668 vitest, 256 e2e (chromium + webkit), bundle-size gate ok (app entry 130.3/131 KB). Docs:docs/UI_DESIGN.md.