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

Refreshing the page shouldn't delete current work. #32

Open
simonv3 opened this issue Mar 23, 2016 · 5 comments
Open

Refreshing the page shouldn't delete current work. #32

simonv3 opened this issue Mar 23, 2016 · 5 comments

Comments

@simonv3
Copy link
Contributor

simonv3 commented Mar 23, 2016

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?

@jdittrich
Copy link
Owner

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)

@simonv3
Copy link
Contributor Author

simonv3 commented Mar 23, 2016

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?

@paulproteus
Copy link

paulproteus commented Mar 23, 2016 via email

@simonv3
Copy link
Contributor Author

simonv3 commented Mar 23, 2016

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?

@jdittrich
Copy link
Owner

webapp or a standalone app....

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.

their Internet connection breaking and them wondering if Sandstorm is stuck

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)

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

No branches or pull requests

3 participants