Closed loreanvictor closed 1 year ago
This is basically ready for review, pending this PR on Apollon, and a corresponding version update to Apollon. Since that PR is not yet marked as ready for review, I won't mark this as ready for review either, though it can be tested and shouldn't require further changes except for the aforementioned Apollon version update.
To test, simply follow instructions outlined in this PR.:
npm i
npm run build:local
mkdir diagrams
npm start
localhost:8888
, create a diagramShare
button on top menu, then Collaborate
, then copy the browser URLre: @matthiaslehnertum if you could take a look at this it'd be nice!
This PR provides support for patch-based realtime collaboration, i.e. syncing clients using patches (with the JSONPatch standard format) instead of syncing state whole-sale.
This PR is a work-in-progress, I am mainly opening it as a way to better test the corresponding PR on Apollon, though it will also host the final updates to Apollon standalone for utilising patch-related features provided by said PR.