UX: show a generic error on upload for XHR status 0 (PR #10521)

This indication covers all cases of network errors, not just “cancelled by user”. The post upload component already has its own handling for user-cancelled uploads, but the generic upload component does not.

Because this error code frequently indicates the browser is refusing to tell the page what’s wrong, suggest checking the developer console.

Tested by stopping my localhost server right before attempting to upload a file (browser’s net::ERR_CONNECTION_REFUSED).

GitHub

image

Could use suggestions on copy, if anyone has them.

I feel like this is too technical for the average user. I suggest we use the error right above it upload

1 Like