feat(ui): Erudit blank tiles carry the star (✻) mark #109

Merged
developer merged 4 commits from feature/erudit-blank-star into development 2026-06-22 11:06:22 +00:00
Owner

The Erudit variant's blank is the "звёздочка", so render it with a star.

  • Rack: an empty blank (and its drag ghost) shows centred.
  • Board and Stats best-move tiles: a placed blank keeps its designated letter and carries in the value corner (a blank has no point value).
  • The Scrabble variants are unchanged; gated by usesStarBlank() in lib/variants.ts.
  • Docs: UI_DESIGN.md Tiles bullet. Unit test in variants.test.ts.

Visual verified locally in mock (Chromium). The test contour will deploy this branch for live sign-off.

The Erudit variant's blank is the "звёздочка", so render it with a star. - **Rack**: an empty blank (and its drag ghost) shows `✻` centred. - **Board** and **Stats** best-move tiles: a placed blank keeps its designated letter and carries `✻` in the value corner (a blank has no point value). - The Scrabble variants are unchanged; gated by `usesStarBlank()` in `lib/variants.ts`. - Docs: `UI_DESIGN.md` Tiles bullet. Unit test in `variants.test.ts`. Visual verified locally in mock (Chromium). The test contour will deploy this branch for live sign-off.
developer added 1 commit 2026-06-22 09:52:20 +00:00
feat(ui): Erudit blank tiles carry the star (✻) mark
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / ui (pull_request) Successful in 54s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m17s
e3e4cedc77
The Erudit variant's blank is the "звёздочка", so render it with a star.
An empty rack blank (and its drag ghost) shows ✻ centred; a placed blank
keeps its designated letter and carries ✻ where the (absent) point value
sits — on the board and in the Stats best-move tiles. The Scrabble variants
are unchanged. Gated by usesStarBlank() in lib/variants.ts.
developer added 1 commit 2026-06-22 10:11:41 +00:00
fix(ui): align the Erudit blank star with neighbouring tiles
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / ui (pull_request) Successful in 54s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m21s
a393561d79
Rack: the empty-blank star is now top-anchored level with the letters and a
touch larger (was centred, sitting low). Board and Stats best-move tiles: the
placed-blank star's ink is centred on the value digits' line (was slightly
high). CSS-only nudges; pixel offsets measured against the rendered glyphs.
developer added 1 commit 2026-06-22 10:22:51 +00:00
fix(ui): raise the rack blank star to centre on the letters
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / ui (pull_request) Successful in 55s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m18s
81680a1d5e
Top-aligning it still read a touch low; move the empty-blank star up
(top 8% -> 0.5%) so its ink centres against the rack letters' block,
matching the board tile's centred mark. Size unchanged.
developer added 1 commit 2026-06-22 10:55:06 +00:00
fix(ui): nudge the rack blank star up a pixel
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / ui (pull_request) Successful in 53s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m19s
62f66735a3
By eye the centred star still read a hair low; subtract 1px from its top
offset (top: calc(0.5% - 1px)).
owner approved these changes 2026-06-22 11:05:57 +00:00
developer merged commit 1ef2bde395 into development 2026-06-22 11:06:22 +00:00
developer deleted branch feature/erudit-blank-star 2026-06-22 11:06:22 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: developer/scrabble-game#109