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

Recover entry after unexpected quit, show in error boundary #2129

Merged
merged 6 commits into from
Feb 28, 2019

Conversation

erquhart
Copy link
Contributor

@erquhart erquhart commented Feb 28, 2019

  • Regularly persists changes to browser storage, prompts to load local changes after unexpected exit.
  • Displays raw entry (if available) on error screen w/ copy to clipboard button.

The next iteration for this functionality, though not a current priority, is to stop trying to do things when the browser is unloading, and instead create highly visible auto-saving functionality that persists to the backend, allowing the user to manage any auto-saved versions in the UI.

Closes #388
Closes #1752

@netlify
Copy link

netlify bot commented Feb 28, 2019

Preview proposed changes to the CMS demo site in the link below:

Built with commit aac599c

https://deploy-preview-2129--cms-demo.netlify.com

@netlify
Copy link

netlify bot commented Feb 28, 2019

Preview proposed changes to netlifycms.org in the link below:

Built with commit aac599c

https://deploy-preview-2129--netlify-cms-www.netlify.com

@erquhart erquhart merged commit 686504a into master Feb 28, 2019
@erquhart erquhart deleted the local-backup branch February 28, 2019 18:30
@fleaz
Copy link

fleaz commented Feb 28, 2019

This is awesome! Thanks for implementing this :)

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

Successfully merging this pull request may close these issues.

2 participants