Update messages on the shared document to human readable text

Can update messages on the shared document be combined by clientId and converted into human readable text? I require this for showing audit logs.

Y.logUpdate(update) and Y.decodeUpdate(update) transform updates to a human-readable format. However, this information still isn’t easy to decipher.

2 Likes

@dmonad - Is that possible to change the result of Y.decodeUpdate(update) and encode it back to Uint8Array data?

We are thinking to add a new property userID to the result.structs[0].id.userID as mentioned here Add a new property "userID" to the "class ID" in the yjs rep · Issue #508 · yjs/yjs · GitHub