diag(ui): #372 — event-scale click log on every wired Gameplay-tab button

The first connected gate reported most Gameplay buttons 'did nothing';
two of seven are contract-inert and the other four have dialog/chat
effects that can go unnoticed. One line per click at the BindButton
chokepoint makes the next gate's log a definitive fired/not-fired
record per button — evidence before investigation, per the debugging
discipline. App suite green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Erik 2026-08-11 12:29:55 +02:00
parent 348d794359
commit 075ade1a6c

View file

@ -273,7 +273,18 @@ public sealed class OptionsPanelController : IRetainedPanelController
{
if (onClick is null) return;
if (layout.FindElement(elementId) is UiButton button)
button.OnClick = onClick;
{
button.OnClick = () =>
{
// #372 gate evidence: the user's first connected gate reported
// most Gameplay buttons "did nothing"; two of the seven are
// contract-inert and the other four have dialog/chat effects
// that can go unnoticed. One event-scale line per click makes
// the next gate's log a definitive fired/not-fired record.
Console.WriteLine($"[options] gameplay button 0x{elementId:X8} clicked — handler invoked");
onClick();
};
}
else
Console.WriteLine(
$"[D.2b] OptionsPanelController: Gameplay-tab button 0x{elementId:X8} "