Undo across saved changes with compensating saves
Optionally allow undoing operations that are already saved by issuing compensating server updates. These updates use version checks, and a conflict blocks the undo if data changed remotely. History entries are marked by sync state.
Planned. This page shows the specification from issue #195. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Grid with a saved bulk edit in its history and a second simulated client.
Expected behavior
With 'off', history is cleared at the save boundary. With 'confirm', a dialog explains the server update. If a remote change exists, the undo is blocked with conflict details and the option to open the resolution UI.
Planned API surface
undoRedo.acrossSavescompensatingSavehistoryEntry.syncStateundoBlockedAcceptance criteria
- A compensating save uses the versions recorded at save time. (pending)
- A partial failure rolls back the whole compensating group. (pending)
- History entries show the saved or unsaved state. (pending)
- undoBlocked is emitted with the reasons. (pending)