Files
soroban-abacus-flashcards/apps/web
Thomas Hallock 0d546dcd2d debug: add click detection logging, remove freeze debug logs
Replace zoom freeze debug logging with click detection logging to debug
the issue where clicking on regions doesn't register most of the time.

**Changes:**

1. **Removed freeze debug logs:**
   - Removed [DEBUG FREEZE] Setting target zoom log from MapRenderer
   - Removed Animation effect and Threshold checks logs from useMagnifierZoom
   - Freeze issue is fixed, these logs no longer needed

2. **Added click detection logs:**
   - [CLICK] Region clicked in MapRenderer.tsx:1193
     - Shows regionId, regionName, isExcluded, willCall
     - Logs at SVG path onClick handler

   - [CLICK] clickRegion called in Provider.tsx:140
     - Shows regionId, regionName, currentPlayer, viewerId
     - Shows currentPrompt and isCorrect (match check)
     - Logs before sendMove dispatch

   - [CLICK] sendMove dispatched in Provider.tsx:159
     - Confirms move was sent to server

**Debug flow:**
1. User clicks SVG path → [CLICK] Region clicked
2. onRegionClick called → [CLICK] clickRegion called
3. sendMove dispatched → [CLICK] sendMove dispatched

This will help identify where clicks are failing:
- If no [CLICK] Region clicked: SVG click handler not firing
- If no [CLICK] clickRegion called: onRegionClick not being called
- If no server response: sendMove or server issue

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 08:57:37 -06:00
..

Test deployment - Mon Nov 3 16:31:57 CST 2025