Description
The web dashboard implements client-side fallbacks if the local Node.js Express server is offline, enabling simulations to run in-memory inside the browser.
Problem
Any signals injected or runs processed while offline are lost and not persisted to the database once connection is re-established. There is no synchronization worker or local queue mechanism to sync changes back.
Proposed Action Items
- Introduce an offline synchronization queue using
IndexedDB or localStorage to cache offline actions.
- Listen for reconnection events and automatically replay cached actions to the server API to sync state.
Description
The web dashboard implements client-side fallbacks if the local Node.js Express server is offline, enabling simulations to run in-memory inside the browser.
Problem
Any signals injected or runs processed while offline are lost and not persisted to the database once connection is re-established. There is no synchronization worker or local queue mechanism to sync changes back.
Proposed Action Items
IndexedDBorlocalStorageto cache offline actions.