neighbor-sum-avoidance: render arena pre-start with interactions disabled
Show the circle arena before the user clicks Start (greyed via opacity-60 pointer-events-none), and guard drag/drop/click handlers on isActive. Clicking Start enables interactions and kicks off the timer as before. Also resync slot count with the Numbers slider while idle. Marks T1 done. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
fcbdcfccdf
commit
1c754de4f7
2 changed files with 85 additions and 63 deletions
|
|
@ -333,8 +333,10 @@
|
|||
{
|
||||
"id": "474e8061-c7a2-49a2-ba85-a8c57814ea28",
|
||||
"text": "in both default and guided mode, show the arena. to begin with all interactions should be disabled, and enabled as soon as the user clicks the start button (this should set off th etimer too, as it does now).",
|
||||
"done": false,
|
||||
"refId": "T1"
|
||||
"done": true,
|
||||
"refId": "T1",
|
||||
"remark": "Arena now renders pre-start (greyed with opacity-60 pointer-events-none). Drag/drop/click handlers short-circuit on !isActive as defense-in-depth. Start button still triggers startGame (kicks off timer + populates slots). Added a useEffect to resync slots/availableNumbers when the Numbers slider changes before start, so the pre-start arena always matches the chosen count.",
|
||||
"doneDate": "2026-04-17"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue