saleor / saleor-storefront

A GraphQL-powered, NextJs-based, PWA storefront for Saleor. IMPORTANT: This project is [DEPRECATED] in favor of saleor/react-storefront soon to become our default demo and storefront starter pack.
https://demo.saleor.io/
BSD 3-Clause "New" or "Revised" License
768 stars 674 forks source link

Handle state when app cannot connect to server #711

Open maarcingebala opened 4 years ago

maarcingebala commented 4 years ago

When the app is disconnected from the server, it renders like this:

image

Instead of multiple network errors, we should handle this state and render some placeholder image/message informing the user what's going on. In the developer console, we could also print a message that the app cannot connect to the server for the devs.

pwgryglak commented 4 years ago

@maarcingebala I've created the design for that in Figma