WarUI

Offline Edit Queue and Recovery

GRID-A26-F24P1beyond-baselinePlanned

While the connection is offline, edits are queued and persisted locally (IndexedDB by default, with a pluggable store). They are replayed when the connection returns. After a crash or page reload, unsaved edits are recovered.

Planned. This page shows the specification from issue #206. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

An editable grid with a simulated network toggle and a pending-changes badge.

Expected behavior

Offline edits show a 'pending' marker and are persisted. After a reload they are restored. Going online replays them in order, and the markers clear when replay succeeds.

Planned API surface

offline.enabledofflineStorependingChangessyncStartedsyncCompletedsyncFailedrecoverPending

Acceptance criteria

  • The queue survives a page reload (pending)
  • Replay preserves edit order for each row (pending)
  • Failed items stay in the queue with their error, and the remaining items continue (pending)
  • No telemetry or external service is required (pending)