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
I tend to suspend my computer rather than shutting it off. I left golab open in my browser, and when I resumed I had to click the reconnect icon in the upper left. I edited a file that I had left open. It seemed to work - console output showed that packages were being rebuilt when I pressed ^s. However, behavior of the modified code did not change.
I didn't realize what the problem was until I opened the file in a text editor and found that the last changes were ones I made before putting my computer to sleep.
I think an error should be displayed to the user if any OT transform fails to apply.
The text was updated successfully, but these errors were encountered:
this seems to happen when the file was changed while the client was offline. however i think its not a failed transformation, but instead a naive reconnect implementation. reconnect must not only reconnect to the server but also to the document and update to the latest revision.
with a simple fix the client would replace the document with the latest version and loose offline editor changes.
the reconnect should show a warning and ask for confirmation to minimize any problems. the editor should also switch to read-only mode if there is a disconnect. it would basically do the same as a browser refresh, without loosing the list of tabs.
a diff view would be better but also way too much work for now.
I tend to suspend my computer rather than shutting it off. I left golab open in my browser, and when I resumed I had to click the reconnect icon in the upper left. I edited a file that I had left open. It seemed to work - console output showed that packages were being rebuilt when I pressed
^s
. However, behavior of the modified code did not change.I didn't realize what the problem was until I opened the file in a text editor and found that the last changes were ones I made before putting my computer to sleep.
I think an error should be displayed to the user if any OT transform fails to apply.
The text was updated successfully, but these errors were encountered: