Files
soroban-abacus-flashcards/apps/web
Thomas Hallock d0a877ee8e refactor(know-your-world): wire precision mode to state machine
Integrate precision mode with the interaction state machine:

- handleLockAcquired dispatches REQUEST_PRECISION directly
- handleLockReleased dispatches RELEASE_ANIMATION_DONE directly
- setIsReleasingPointerLock wrapper dispatches PRECISION_ESCAPE_BOUNDARY
- Remove sync effects (no longer needed with direct dispatch)

Replace rendering conditionals with state machine values:
- precisionCalcs.isAtThreshold && !pointerLocked → isPrecisionMode
- MagnifierLabel pointerLocked prop → isPrecisionMode
- MagnifierControls pointerLocked prop → isPrecisionMode
- isReleasingPointerLock checks → isReleasingPrecision

Handler logic that interacts with browser API still uses
pointerLocked from usePointerLock for correct browser behavior.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 10:22:43 -06:00
..

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