You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an Alkemio user I want to be able to import an exported Excalidraw JSON to my collaborative whiteboard.
Context
With the works performed on whiteboards we have disabled the functionality "LoadScene" from excalidraw that loads an exported JSON file because it was causing synchronization issues on multiuser whiteboards.
On single user whiteboards (template editing, whiteboard form fields) the functionality is still available
Causes: when Excalidraw loads a file, it replaces in memory the entire structure, all the previous elements are gone, so we cannot send a broadcast message to delete them, all the versions of the elements are the versions coming in the file, so sceneVersion gets also problematic.
The elements versions should be updated but also the previous elements should be kept as deleted
OR:
we can add a callback to the <Excalidraw component onLoadScene that can reset from outside all the elements, the scene version, and send a broadcast so every client do the same.
Acceptance criteria
Multi user whiteboards don't get desynchronized when one of the clients imports a JSON file
The content from the file is appended to the current scene
Additional Context
Screen shots / UX designs / data that are relevant.
Areas that will be affected
Importing from file
Scene update
Scene saving in the backend
Multi-user synchronization
The text was updated successfully, but these errors were encountered:
@ccanos@hero101 loading from file should just add to the current whitboard, not replace. So same path as importing from template. Does that change the estimate?
Description
As an Alkemio user I want to be able to import an exported Excalidraw JSON to my collaborative whiteboard.
Context
With the works performed on whiteboards we have disabled the functionality "LoadScene" from excalidraw that loads an exported JSON file because it was causing synchronization issues on multiuser whiteboards.
On single user whiteboards (template editing, whiteboard form fields) the functionality is still available
<Excalidraw
componentonLoadScene
that can reset from outside all the elements, the scene version, and send a broadcast so every client do the same.Acceptance criteria
Additional Context
Screen shots / UX designs / data that are relevant.
Areas that will be affected
The text was updated successfully, but these errors were encountered: