Docs: a resync keeps a paste that was waiting for its font
The resync waits for the pending action, carries what was written onto the rebuilt document before its view mounts, and takes a fresh Yjs client ID; the carried paste is one undo step. Uncarriable changes are not posted, unsaved work is beaconed on close, and the queue no longer reports ok while a batch is on the wire. A paste anchored to the refused text itself is still lost (and reported); replaying it is the next branch. Reviewed by Claude Fable 5.1 (#88). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Squashed from fix/resync-keeps-waiting-paste into main.
6 files changed,
+300
−29
fixtures/editor-entry.js+123 −13fixtures/save-queue.mjs+11 −2fixtures/save-queue.test.mjs+16 −0internal/docs/resync_browser_test.go+136 −0internal/docs/static/editor.455b88221c9de6ec.js+14 −0internal/docs/static/editor.cd50554350b8c6aa.js+0 −14
CI passed — run details
fixtures/editor-entry.jsLoading diff…
fixtures/save-queue.mjsLoading diff…
fixtures/save-queue.test.mjsLoading diff…
internal/docs/resync_browser_test.goLoading diff…
internal/docs/static/editor.455b88221c9de6ec.jsLoading diff…
internal/docs/static/editor.cd50554350b8c6aa.jsLoading diff…