Skip to content

Fix counter undo after remote updates#906

Merged
zxch3n merged 1 commit intomainfrom
zxch3n/fix-issue-905
Jan 22, 2026
Merged

Fix counter undo after remote updates#906
zxch3n merged 1 commit intomainfrom
zxch3n/fix-issue-905

Conversation

@zxch3n
Copy link
Copy Markdown
Member

@zxch3n zxch3n commented Jan 19, 2026

Fixes issue #905 where UndoManager undo could be canceled by remote counter diffs. Counter diffs commute, so their transform is now a no-op. Adds a regression test covering local increment + remote increment + undo/redo.

Counter diffs commute, so transforming them can incorrectly cancel local undo after remote increments. Add regression test for issue #905.
@github-actions
Copy link
Copy Markdown
Contributor

WASM Size Report

  • Original size: 3186.77 KB
  • Gzipped size: 1006.90 KB
  • Brotli size: 698.97 KB

@zxch3n zxch3n merged commit 3519216 into main Jan 22, 2026
1 check passed
@github-actions github-actions bot mentioned this pull request Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant