Thanks for this great plugin, which fits in really well with our use-cases to use Discourse to collaboratively take notes, brainwrite etc. While examining the plugin I have occasionally experienced glitches though, which are unfortunately hard to consistently reproduce.
What I have experienced is that a change done by user A is undone when user B updates the document, both changes being explicitly saved using the Save-button. I am assuming it could be caused by network connectivity and managed to reproduce the behavior as follows:
- Both browsers start with a shared state of the document:
- Browser 2 looses connection (but the user does not notice this):
- Browser 1 saves a change:
- Browser 2 makes a changes while still offline:
- Browser 2 is back online and saves the change:
- Change done in Browser 2 is saved, undoing the previous change made in Browser 1:
I know this seems quite artificial, but it was the only to reproduce the behavior I am experiencing every now and then. Has anybody else encountered this issue? Is there perhaps even a fix for it?