Files
Tom MoorandClaude Opus 5 62d4e5f6f2 feat: Persist ordering for draft documents
Ordering is derived entirely from the collection's documentStructure, which
drafts are not part of. Drafts therefore cannot be ordered, and unpublishing a
document loses its position.

Adds a nullable index column to documents recording a document's position
amongst its siblings while it is absent from the structure, restored when the
document is published. Sibling draft positions are shifted as documents around
them are inserted or removed, emitting an update event so that the author's
client stays in sync.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-10 19:41:10 -04:00
..
2026-05-06 21:10:51 -04:00