Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[saving] if user has machine open in multiple windows, we should automatically reload changes to it #86

Open
CSchank opened this issue Feb 13, 2020 · 0 comments

Comments

@CSchank
Copy link
Owner

CSchank commented Feb 13, 2020

Currently, having the same machine open in two different windows (or devices) can cause some problems. If they make changes on one, changes on the other will be overwritten. This could be confusing to users as the interface mostly looks like Google Drive, but live editing isn't a thing.

To fix this, we could either introduce live editing (harder) or at very least, we need to introduce a version on the server and client. The client could poll (eventually use a WebSocket) to get updates, so race conditions won't happen very often (only if they happen to edit the same machine within 5 seconds on both windows), and if they do edit and try to save an old version, provide a warning that they're going to overwrite changes on the other screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant