-
Notifications
You must be signed in to change notification settings - Fork 95
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
Refreshing the page shouldn't delete current work. #32
Comments
I sympathize with the idea but as I currently see it, it would mean one would need to implement a "files"-in-localstorage-management-part of the app (or a save-to-url etc), which would sort of double the saving-as-files-part (which I deliberatly choose as means of storing data) You get the warning, when you reload, don't you? (I know this is not ideal, but that best for now) |
Yeah, totally get the warning, and also get the complexity factor. If we switch to an MVC then an abstraction of the objects, as a nested json data object or something similar, which would be used to generate the relevant DOM would also work? |
FWIW, if quickMockup is ported to Sandstorm, I imagine that people are
going to randomly reload it frequently for any of a number of reasons, like
their Internet connection breaking and them wondering if Sandstorm is stuck
and so they reload the page. I know I do that frequently.
Having said that, if quickMockup on Sandstorm autosaves to disk on the
server side, then that addresses this problem.
|
I think a higher level question of saving to disk is - is this a webapp or a standalone app that just happens to run in the browser? |
It is a standalone app that happens to run in the browser. Or, to be more specific, it is an unhosted app. Which means it still can get save-to-localstorage.
Interesting – it should not be possible that quickMockup is slow due to the connection, since everything is on the client side. (But naturally, they may still reload) |
If you refresh the page for whatever reason, you shouldn't lose the current work. Can it be stored in localstorage or in the user's cache?
The text was updated successfully, but these errors were encountered: