Switching from editing a document to a different document in the same Workspace, can result in lost content.
Proposed solution
- decrease polling interval on document changes
- explicitly poll when changing docs to capture any unsaved changes
Test
- create new document "mytest"
- add some content
- immediately switch to another document in the current workspace
- go back to "mytest" and it is blank
Note that this issue can persist for quite long periods in which data is lost.
A browser reload of the current page can also result in lost document content (have had instances of >20 sec)
Also see
Switching from editing a document to a different document in the same Workspace, can result in lost content.
Proposed solution
Test
Also see
broadcast failed to sent sync message- possibly websockets issue? #46 (comment)