Today I made a lot of progress on PasteDB's real-time collaboration system.
PasteDB can now:
ā” Sync edits between collaborators in real time
š„ Show who is currently in the workspace
š Handle join requests
ā
Let the host approve or reject users
š§āš» Support editor and viewer roles
š Synchronize the current document when someone joins
š¾ Save the collaborative document back to PasteDB
I'm now working on live cursors, so collaborators can see exactly where other people are editing.
This is currently the hardest part. I'm using Yjs relative positions to keep cursor locations tied to the collaborative document, but synchronization timing can sometimes cause a remote cursor position to fail to resolve or become inaccurate.
Still debugging it, but the collaboration system is starting to feel like a real collaborative editor rather than just a normal paste editor.
A lot accomplished today. More to come š
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)