ipfs/ipfs-companion

IPFS-aware error page: improve UX when gateway is offline

Open

#806 opened on Oct 30, 2019

View on GitHub
 (3 comments) (1 reaction) (0 assignees)JavaScript (364 forks)batch import
P1effort/dayseffort/hoursexp/intermediategood first issuehelp wantedkind/enhancementstatus/readytopic/design-contenttopic/design-front-endtopic/design-ux

Repository metrics

Stars
 (1,992 stars)
PR merge metrics
 (Avg merge 53d 3h) (1 merged PR in 30d)

Description

Recovery from dead public gateways was introduced in #640.

What about scenarios when local gateway goes offline?

Current UX: error page provided by the browser

Right now, opening http://docs.ipfs.io.ipns.localhost:8080 when node is offline ends up with a generic error:

2019-10-30-114745_905x465_scrot

I believe we could improve UX of errors like this.

Improvement: custom error page aware of IPFS options

We should introduce a custom error page tho, to improve UX AND to give user a final say if they choose to start local node and retry, load from original server (if DNSLink), or a public gateway instead.

Custom error page could be used in all recovery contexts (when local node is offline, but also when remote server is down, but has DNSLink).

Contributor guide