Wave 8 coverage a3 (PeriodicTableHUD in projects/spikersoft/src/app/_components/_games/space-game/hud/periodic-table-hud.ts).
createUI paints a 120×36 DEFAULTS rect next to CONFIRM (defaultX = confirmX - 130) but never stores the mesh, never sets userData.action, and handleClick never hit-tests it. selectDefaultElements() (Fe/Al/Si/Cu) is therefore unreachable from a click.
Repro (unit, jsdom, mocked troika / WebGLRenderer — no GPU):
show().
Click the DEFAULTS rect centre (the 120×36 mesh that is not userData.action === "confirm").
Observed: handleClick returns true (click consumed as a panel miss); getSelectedElements() stays []; onElementSelected is never called.
Expected: clicking DEFAULTS should run selectDefaultElements() (and typically refresh the selection callbacks / info text), matching the painted control.
Covered by periodic-table-hud.leftovers.spec.ts (“DEFAULTS button is painted but never hit-tested…”).
Wave 8 coverage a3 (`PeriodicTableHUD` in `projects/spikersoft/src/app/_components/_games/space-game/hud/periodic-table-hud.ts`).
`createUI` paints a 120×36 DEFAULTS rect next to CONFIRM (`defaultX = confirmX - 130`) but never stores the mesh, never sets `userData.action`, and `handleClick` never hit-tests it. `selectDefaultElements()` (Fe/Al/Si/Cu) is therefore unreachable from a click.
Repro (unit, jsdom, mocked troika / WebGLRenderer — no GPU):
1. `show()`.
2. Click the DEFAULTS rect centre (the 120×36 mesh that is not `userData.action === "confirm"`).
Observed: `handleClick` returns `true` (click consumed as a panel miss); `getSelectedElements()` stays `[]`; `onElementSelected` is never called.
Expected: clicking DEFAULTS should run `selectDefaultElements()` (and typically refresh the selection callbacks / info text), matching the painted control.
Covered by `periodic-table-hud.leftovers.spec.ts` (“DEFAULTS button is painted but never hit-tested…”).
Resolved in spikersoft-angular PR #819 (merged to master). PeriodicTableHUD DEFAULTS button is hit-tested. Closing.
Resolved in spikersoft-angular [PR #819](https://git.spikersoft.com/spikerj/spikersoft-angular/pulls/819) (merged to `master`). PeriodicTableHUD DEFAULTS button is hit-tested. Closing.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Wave 8 coverage a3 (
PeriodicTableHUDinprojects/spikersoft/src/app/_components/_games/space-game/hud/periodic-table-hud.ts).createUIpaints a 120×36 DEFAULTS rect next to CONFIRM (defaultX = confirmX - 130) but never stores the mesh, never setsuserData.action, andhandleClicknever hit-tests it.selectDefaultElements()(Fe/Al/Si/Cu) is therefore unreachable from a click.Repro (unit, jsdom, mocked troika / WebGLRenderer — no GPU):
show().userData.action === "confirm").Observed:
handleClickreturnstrue(click consumed as a panel miss);getSelectedElements()stays[];onElementSelectedis never called.Expected: clicking DEFAULTS should run
selectDefaultElements()(and typically refresh the selection callbacks / info text), matching the painted control.Covered by
periodic-table-hud.leftovers.spec.ts(“DEFAULTS button is painted but never hit-tested…”).Resolved in spikersoft-angular PR #819 (merged to
master). PeriodicTableHUD DEFAULTS button is hit-tested. Closing.