History phase one: retirements record their wall time as a delta attribute carried onto copies, and a per-document metadata record of users beside the history is persisted, carried in the sync and gossiped on change, so the editor names authors from the record before presence and colours by user id

This commit is contained in:
Dennis Kobert committed 2026-09-29 14:37:00 +00:00
1 parent f42a46c513
commit d90eacdee6
18 files changed
+478 -28

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ pub fn report(event: &Event) {
Event::RoleChanged { role } => println!("role is now {role:?}"),
Event::ProfileChanged { peer } => println!("peer {peer:?} announced a name"),
Event::CursorMoved { .. } => {}
Event::MetadataChanged => println!("the record of the document's users changed"),
Event::Synced => println!("synced"),
Event::Changed => println!("document changed"),
Event::ResourceReceived { hash, bytes } => println!("received resource {hash} ({} bytes)", bytes.len()),