mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-12-01 15:53:26 -10:00
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:
1 parent
f42a46c513
commit
d90eacdee6
18 files changed
+478
-28
No files matched your search
@@ -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()),
|
||||
|
||||
Reference in new issue
Block a user