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

Remove alert modal from localForage error case #1676

Merged
merged 3 commits into from
Aug 28, 2018

Conversation

tonyrzhang
Copy link
Contributor

Summary

Fixes #1626
Remove alert modal from localForage error case

Test plan
yarn test

@tonyrzhang
Copy link
Contributor Author

@tech4him1

LMK if this works for you.

@verythorough
Copy link
Contributor

verythorough commented Aug 26, 2018

Deploy preview for netlify-cms-www ready!

Built with commit ed59ba5

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

@verythorough
Copy link
Contributor

verythorough commented Aug 26, 2018

Deploy preview for cms-demo ready!

Built with commit ed59ba5

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

const message = `Unable to set localStorage key. Quota exceeded! Full disk?`;
return alert(`${message}\n\n${err}`);
const message = 'Unable to set localStorage key. Quota exceeded! Full disk?';
console.log(message);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do a console.warn here. Other than that, LGTM!

Copy link
Contributor

@tech4him1 tech4him1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tonyrzhang
Copy link
Contributor Author

Cool thanks! And I assume you guys will have to merge it as well?

@tech4him1
Copy link
Contributor

Yes, once another maintainer reviews they will merge it.

@erquhart erquhart merged commit 4f3116d into decaporg:master Aug 28, 2018
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.

4 participants