Hello!
We have been working many hours on Kinopio, it is so much a great tool!
We have desynchronization issue while collaborating (we are two people working at the same time).
Here is the javascript console when my collaborator selected everything (CTRL+A) and moved everything. Boxes moved properly I think, but links between boxes stayed still without moving.
[Error] WebSocket connection to 'wss://kinopio-server.herokuapp.com/' failed: The operation couldn’t be completed. (kNWErrorDomainPOSIX error 54 - Connection reset by peer)
[Error] TypeError: undefined is not an object (evaluating 'e.cards[t.id][s]=t[s]')
(anonymous function) (index.efb43cd1.js:1:677817)
forEach
update (index.efb43cd1.js:1:677798)
(anonymous function) (vendor.dea34c2e.js:6:1744)
(anonymous function) (vendor.dea34c2e.js:6:9467)
forEach
(anonymous function) (vendor.dea34c2e.js:6:9452)
(anonymous function) (vendor.dea34c2e.js:6:11273)
(anonymous function) (vendor.dea34c2e.js:6:9430)
(anonymous function) (index.efb43cd1.js:1:730224)
[Log] :first_quarter_moon_with_face: received – {message: "updateRemoteUserResizingCards", updates: {type: "updateRemoteUserResizingCards", userId: "B5UZlK4EnuO6JWLivxTn9", cardIds: ["LaDm56o4tfoWQuV8_swnT"]}, clientId: "vN2viBYVBxkRFUIkpOdwa", …} (index.efb43cd1.js, line 1)
{message: "updateRemoteUserResizingCards", updates: {type: "updateRemoteUserResizingCards", userId: "B5UZlK4EnuO6JWLivxTn9", cardIds: ["LaDm56o4tfoWQuV8_swnT"]}, clientId: "vN2viBYVBxkRFUIkpOdwa", space: {id: "tBWlV7pMtYXK7hCdhteNU", name: "Spart Q1 2022", privacy: "private"}, type: "store"}Object
[Log] :first_quarter_moon_with_face: received – {message: "updateCard", handler: "currentCards/update", updates: {type: "updateCard", id: "LaDm56o4tfoWQuV8_swnT", resizeWidth: 322}, …} (index.efb43cd1.js, line 1)
{message: "updateCard", handler: "currentCards/update", updates: {type: "updateCard", id: "LaDm56o4tfoWQuV8_swnT", resizeWidth: 322}, clientId: "vN2viBYVBxkRFUIkpOdwa", space: {id: "tBWlV7pMtYXK7hCdhteNU", name: "Spart Q1 2022", privacy: "private"}}Object
[Error] TypeError: undefined is not an object (evaluating 'e.cards[t.id][s]=t[s]')
(anonymous function) (index.efb43cd1.js:1:677817)
forEach
update (index.efb43cd1.js:1:677798)
(anonymous function) (vendor.dea34c2e.js:6:1744)
(anonymous function) (vendor.dea34c2e.js:6:9467)
forEach
(anonymous function) (vendor.dea34c2e.js:6:9452)
(anonymous function) (vendor.dea34c2e.js:6:11273)
(anonymous function) (vendor.dea34c2e.js:6:9430)
(anonymous function) (index.efb43cd1.js:1:730224)
[Log] :first_quarter_moon_with_face: received – {message: "resizeCard", handler: "currentCards/update", updates: {type: "resizeCard", id: "LaDm56o4tfoWQuV8_swnT", resizeWidth: 322}, …} (index.efb43cd1.js, line 1)
{message: "resizeCard", handler: "currentCards/update", updates: {type: "resizeCard", id: "LaDm56o4tfoWQuV8_swnT", resizeWidth: 322}, clientId: "vN2viBYVBxkRFUIkpOdwa", space: {id: "tBWlV7pMtYXK7hCdhteNU", name: "Spart Q1 2022", privacy: "private"}}Object
[Error] TypeError: undefined is not an object (evaluating 'e.cards[t.id][s]=t[s]')
(anonymous function) (index.efb43cd1.js:1:677817)
forEach
update (index.efb43cd1.js:1:677798)
(anonymous function) (vendor.dea34c2e.js:6:1744)
(anonymous function) (vendor.dea34c2e.js:6:9467)
forEach
(anonymous function) (vendor.dea34c2e.js:6:9452)
(anonymous function) (vendor.dea34c2e.js:6:11273)
(anonymous function) (vendor.dea34c2e.js:6:9430)
(anonymous function) (index.efb43cd1.js:1:730224)
[Log] :first_quarter_moon_with_face: received – {message: "updateCard", handler: "currentCards/update", updates: Object, …} (index.efb43cd1.js, line 1)
{message: "updateCard", handler: "currentCards/update", updates: Object, clientId: "vN2viBYVBxkRFUIkpOdwa", space: {id: "tBWlV7pMtYXK7hCdhteNU", name: "Spart Q1 2022", privacy: "private"}}Object
As you can see, the first error is websocket disconnection. I have a bad wifi here, it is possible this is the cause.
These errors appeared after the desynchronization. At first, it desynchronized without any error. Maybe the errors are because of the websocket disconnection and the desynchronisation is another problem.