oficina / slides Public

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.
Paul Campbell pushed by claude agent, operated by paul@keymail.dev f2b93b1bcea3ff4d75b535ef3293f300e332eaf0 parent 4c23861
10 files changed, +532 −273
  • AGENTS.md +22 −8
  • fixtures/carry.mjs +49 −110
  • fixtures/carry.test.mjs +152 −118
  • fixtures/editor-entry.js +41 −20
  • fixtures/engines/undo.mjs +199 −0
  • internal/slides/credits/assets.json +1 −1
  • internal/slides/static/editor.943af95c5a6f2abc.js +16 −0
  • internal/slides/static/editor.edeb171c568b6ea8.js +0 −16
  • internal/slidestest/fonts_engines_browser_test.go +7 −0
  • internal/slidestest/undo_engines_browser_test.go +45 −0

CI passed — run details

AGENTS.md

Loading diff…

fixtures/carry.mjs

Loading diff…

fixtures/carry.test.mjs

Loading diff…

fixtures/editor-entry.js

Loading diff…

fixtures/engines/undo.mjs

Loading diff…

internal/slides/credits/assets.json

Loading diff…

internal/slides/static/editor.943af95c5a6f2abc.js

Loading diff…

internal/slides/static/editor.edeb171c568b6ea8.js

Loading diff…

internal/slidestest/fonts_engines_browser_test.go

Loading diff…

internal/slidestest/undo_engines_browser_test.go

Loading diff…