Slides: an undo or redo while a resync is pending is kept
While the document has diverged from the server, an undo or redo now carries one step derived from the editor's mirror of it, so the rebuild makes it again on the rebuilt document; the old item-matching path is gone. The replay-wait test waits on conditions, the speed test compares CPU time, and AGENTS.md lists what still isn't kept. Reviewed by Claude Fable 5.1 (#31). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Squashed from fix/undo-redo-while-diverged into main.
10 files changed,
+532
−273
AGENTS.md+22 −8fixtures/carry.mjs+49 −110fixtures/carry.test.mjs+152 −118fixtures/editor-entry.js+41 −20fixtures/engines/undo.mjs+199 −0internal/slides/credits/assets.json+1 −1internal/slides/static/editor.943af95c5a6f2abc.js+16 −0internal/slides/static/editor.edeb171c568b6ea8.js+0 −16internal/slidestest/fonts_engines_browser_test.go+7 −0internal/slidestest/undo_engines_browser_test.go+45 −0
CI passed — run details
AGENTS.mdLoading diff…
fixtures/carry.mjsLoading diff…
fixtures/carry.test.mjsLoading diff…
fixtures/editor-entry.jsLoading diff…
fixtures/engines/undo.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/editor.943af95c5a6f2abc.jsLoading diff…
internal/slides/static/editor.edeb171c568b6ea8.jsLoading diff…
internal/slidestest/fonts_engines_browser_test.goLoading diff…
internal/slidestest/undo_engines_browser_test.goLoading diff…