mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-09-30 12:39:42 +02:00
- Add EVENT_DEBOUNCE_MS constant (50ms) for batching rapid updates - Add debounce timers and pending flags for todo/loop updates - Add emitTodoUpdateDebounced() and emitLoopUpdateDebounced() methods - Add flushPendingEvents() for testing/immediate sync needs - Update reset()/fullReset() to clear debounce timers - Replace rapid-fire emit calls with debounced versions - Reduces UI jitter from rapid consecutive updates - Tests updated to use flushPendingEvents() for synchronous testing Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>