Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

[MIGRATED] Implement Error states #1922

Closed
thisandagain opened this issue May 20, 2015 · 13 comments
Closed

[MIGRATED] Implement Error states #1922

thisandagain opened this issue May 20, 2015 · 13 comments

Comments

@thisandagain
Copy link
Contributor

We need to have error states when creating / editing / deleting on projects, pages, and elements.

@flukeout
Copy link
Contributor

List of possible errors

  • Username too short or too long
  • Username contains illegal characters
  • Failed to create a new project
  • Failed to delete a project
  • Failed to load a project
  • Failed to load list of projects in Make or Discover views
  • Failed to load an image in a project
  • Failed to load a page within a project
  • Failed to upload an image when editing a project

@k88hudson Can you help flesh out this list with the places you've identified in the app?

@k88hudson
Copy link
Contributor

Here is a list for each view:

General

  • User loses/has no network connection
  • Network request is taking a long time
  • Network request times out

Discover

  • Discover gallery fails to load
  • Discover gallery has no items

Make

  • Make gallery fails to load
  • Make gallery has no items
  • Create new project fails

Project

  • Project fails to load/not found
  • Project is empty, attempt to create first page fails*
  • Create new page fails
  • Delete page fails

*Note: This is when a project is first created, has no pages, and the first page is created. This may need some specific behaviour here, like a prompt to re-try creating the first page... unless we can simplify creating the first page to a single request mozilla/api.webmaker.org#53

Page

  • Page fails to load/not found
  • Position update fails (scale, translation, etc.)
  • Create new element fails
  • Delete element fails

Element editor

  • Element fails to load/not found
  • Style/attribute update fails

Tinker mode

  • Element fails to load/not found
  • Style/attribute update fails

@k88hudson
Copy link
Contributor

SO MUCH ERROR ⚠️

@flukeout
Copy link
Contributor

@k88hudson I started some work in The Error States Diagram - please have a look over it and let me know your thoughts about the general structure. Give me a ping when you can chat, I have some questions.

We can work out error message wording later.

@flukeout
Copy link
Contributor

@vazquez Has already done some work on No internet in Discover mode state.

@thisandagain thisandagain modified the milestones: Beta 1/2, Beta 2/2 May 26, 2015
@xmatthewx
Copy link
Contributor

@flukeout - your spec on these states looks great. You've nicely divided things we should report via

I think we need a review from an engineering perspective on what's feasible to build this heartbeat (and if we'll need to adjust design to fit that scope).

cc @Pomax

@xmatthewx xmatthewx assigned Pomax and unassigned flukeout May 27, 2015
@xmatthewx xmatthewx changed the title Design - Error states Implement Error states May 27, 2015
@xmatthewx
Copy link
Contributor

@Pomax - can you review this doc? The Error States Diagram

What do you think is feasible to build this heartbeat?

@Pomax
Copy link
Contributor

Pomax commented Jun 3, 2015

this is going to depend on how much time solving #1946 leaves. A number of these are snackbar errors, which seems the most promising UI to start with.

@Pomax
Copy link
Contributor

Pomax commented Jun 4, 2015

started with implementing a tester for "snackbar" notification in #2080, which can then be used to move several of our "currently console.error" errors into

@thisandagain thisandagain modified the milestones: Beta 2/2, Beta 3/2 Jun 9, 2015
@Pomax
Copy link
Contributor

Pomax commented Jun 12, 2015

Also wrapping:

  • sign-in failure
  • sign-up failure

@thisandagain thisandagain modified the milestones: 1.0.0, Beta 3/2 Jun 13, 2015
@Pomax Pomax mentioned this issue Jun 13, 2015
@xmatthewx
Copy link
Contributor

Are we in good enough shape for our next release? If so, let's close this and file any follow up necessary. @Pomax @thisandagain

@cadecairos
Copy link
Contributor

Also wrapping:

sign-in failure
sign-up failure

@Pomax I recall seeing duplicate errors here when signing up, one on the page, and one "snackbar" style. is that still the case?

@thisandagain thisandagain modified the milestones: 1.0.0, 1.0.1 Jun 29, 2015
@xmatthewx xmatthewx modified the milestones: 1.0.1, 1.0.2 Jul 10, 2015
@toolness
Copy link
Contributor


This issue has been moved to mozilla/webmaker-core#125.
Please don't comment on it here.

@toolness toolness changed the title Implement Error states [MIGRATED] Implement Error states Jul 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants