Page MenuHomePhabricator

Single revision screen - show error states
Closed, ResolvedPublic

Description

We need to show error states if there's a network connection failure or the diffing endpoint call fails for some other reason (i.e. server side failure).

Note we should still have header information when the diff endpoint loads and fails.

The number of edits per user label will likely be a separate call that will load, then succeed or fail.


Empty state - unable to load revisionEmpty state - unable to load edit count
Empty state: Unable to load revision.png (750×1,334 px, 51 KB)
Empty state: Unable to load number of edits.png (750×1,334 px, 147 KB)
https://zpl.io/2G1YgzEhttps://zpl.io/2vPzdB7

Event Timeline

• JMinor triaged this task as Medium priority.
ABorbaWMF subscribed.

Looks good on 6.5.0 (1690) on iPhone and iPad and on a couple of languages

Oops, I took a closer look at different themes and found some icon issues

IMG_3D2FA3E9A823-1.jpeg (1,125×2,436 px, 407 KB)

IMG_F95DAF4F988C-1.jpeg (2,048×2,732 px, 441 KB)

Sorry about that, uploaded here with a clear background:

Ooh! I like that we get to keep the header sometimes! Thanks @Tsevener for the great work!