mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
* fix(desktop): address code review findings — DRY debounce, error handling, retry cap - Extract duplicated flush-scheduling into schedule_debounced_flush() helper - Drop flush_scheduled lock before spawning thread to narrow lock scope - Add .catch() to lazyPanel() for silent import failure visibility - Convert happy-variant panels to use lazyPanel() helper (consistency + error handling) - Cap flush retries at 5 to prevent infinite loop on persistent disk errors - Only clear sidecar caches when at least one batch entry succeeded - Log batch fallback error for debugging * fix: remove unsafe type casts in happy-variant lazy panels Move ctx property assignments into the loader callback where the concrete type is known, eliminating all `as unknown as` double casts.