Skip to content

Improve errors when the app is offline #4410

@rachelmcr

Description

@rachelmcr

Expected behavior

If the app is offline and can't sync/display the correct information on a screen, I expect to see a toast message or other error message explaining that.

In most cases, when an action fails while offline, we display this toast message:

There is no network available

Actual behavior

There are a couple screens where there is no error or the error is generic, not explaining the offline state:

  • Plans: A toast message appears Unable to load plans
  • Themes: When you first open the Themes section, the full list of themes does not appear and there is no error or other message to explain why
  • Editor - Post Settings - Select categories: A blank screen appears (no categories load) and there is no error or other message to explain why
  • Editor - Post Settings - Add a new category: A toast message appears Adding category failed with no explanation why
  • Me - My Profile: It looks like the changes are saved (no error message), but if you exit the My Profile section and open it again the changes are gone.

Screenshots

Examples of clear toast/error messages:

screenshot_20160721-122502

screenshot_20160721-124101

Tested on Nexus 9, Android 6.0.1, WPAndroid alpha-17

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions