You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Social card: change summary and the Version card #669
Part of #663 (slice 6b, R7 and R-D). Needs slice 6a.
Goal
The Version card: "Version from ", the version's own title, and its change numbers. The kind stays off.
Scope
Column.Documents.changeSummary (jsonb, null = not computed). The version's own Title, words added and removed, and sections added, removed, changed and moved, against the previous version.
Own job. A BullMQ queue at concurrency 1, enqueued after the persist commit. Never on the persist path: the summary costs up to 94.8 ms on a 3.7 MB head. A late or failed job leaves null.
No backfill. Old versions keep the Document card.
Card. The approved r4c stack: eyebrow, title, and the labelled stat row. REST never reads the Yjs data column on the request path.
Page head.?version=<n> gives og:title "Version from {date} — {pad}".
Acceptance checks
A thinned or missing row gives the Document card.
change_summary write failures stay 0 in local runs.
The Version card shipped in 34116d296, and the change summary job and the Documents.changeSummary column shipped in 674dfc189. Both are deployed with the version kind off. Old versions keep the Document card, so there is no backfill. Switch-on stays on #663.
Activity
HMarzban commentedon Nov 1, 2026
Built on
mainand checked locally, not committed yet. Status and the checks owed before switch-on are in #663 (comment of 2026-11-01).feat(hocuspocus): draw a social preview card for pad links
feat(hocuspocus): store card data and version summaries
HMarzban commentedon Nov 3, 2026
The Version card shipped in
34116d296, and the change summary job and theDocuments.changeSummarycolumn shipped in674dfc189. Both are deployed with theversionkind off. Old versions keep the Document card, so there is no backfill. Switch-on stays on #663.