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

maiden should check for on device file modification before run or save #181

Open
ngwese opened this issue Mar 27, 2020 · 0 comments
Open

Comments

@ngwese
Copy link
Member

ngwese commented Mar 27, 2020

https://llllllll.co/t/norns-maiden/14052/137
https://llllllll.co/t/norns-maiden/14052/138

what might make the most sense is for maiden to check to see; on run or save, if the file back on norns has changed - if it has then maiden could present a warning that work could be overwritten and offer to continue or to save the current file with a new name.

given the lack of a real time clock on device we can't use timestamps to check for change but simply doing a content hash would work and not be too costly. on run/save the editor could compare the hash of the in browser buffer with a hash obtained from the backend.

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