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

Crash on missing platform support #1713

Merged
merged 1 commit into from
Nov 14, 2019
Merged

Conversation

dmsnell
Copy link
Member

@dmsnell dmsnell commented Nov 12, 2019

The Simplenote app, for better or worse, currently depends on a few
storage technologies that may be disabled through browser settings,
extensions, and manual configuration.

When these dependencies are missing we cannot function normally and
right now the app crashes or breaks in misleading ways.

In this patch we perform an up-front check when the app boots to verify
that we have some basic dependencies met. This is not an exhaustive
validation but it should catch the most common cases and give customers
an idea of why things may be broken.

SimplenoteMissingDeps mov

The Simplenote app, for better or worse, currently depends on a few
storage technologies that may be disabled through browser settings,
extensions, and manual configuration.

When these dependencies are missing we cannot function normally and
right now the app crashes or breaks in misleading ways.

In this patch we perform an up-front check when the app boots to verify
that we have some basic dependencies met. This is not an exhaustive
validation but it should catch the most common cases and give customers
an idea of why things may be broken.
@dmsnell dmsnell requested a review from a team November 12, 2019 00:46
<BootWarning>
<p>
Simplenote depends on a few web technologies to operate. Please make
sure that you have all of the following enabled in your browser.
Copy link
Member Author

Choose a reason for hiding this comment

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

@SylvesterWilmott would you be willing to provide some copy-review on this?

This message is the only thing that would appear to a customer if they try to load Simplenote without having the necessary support enabled in the browser.

Copy link
Contributor

Choose a reason for hiding this comment

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

The copy looks good to me! Thanks @dmsnell

Copy link
Contributor

@belcherj belcherj left a comment

Choose a reason for hiding this comment

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

Pending Sly's comment

@dmsnell dmsnell added this to the 1.12 milestone Nov 14, 2019
@dmsnell dmsnell merged commit f703f1b into develop Nov 14, 2019
@dmsnell dmsnell deleted the boot/crash-on-missing-deps branch December 4, 2019 15:28
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.

3 participants