oysterprotocol / webinterface

Web interface that enables a user to upload a file via the Oyster Protocol
GNU General Public License v3.0
35 stars 5 forks source link

[Webinterface] Do something when paymentStatus comes back as error #125

Closed rfornea closed 6 years ago

rfornea commented 6 years ago

We can move this to optimizations if we want, it may not be crucial to do something here.

When payment status from the broker comes back as error, this happens:

image.png

Hopefully paymentStatus won't ever be error in prod but if it is we should display something.

Generic Error Screen: https://zpl.io/VqxPxL5

rfornea commented 6 years ago

Edmund says we can avoid the error in the console by returning something.

If we have time we should put an error message on the screen. @tfrench93 What should the message look like? This happens when there's an error with user's payment.

AaronVasquez commented 6 years ago

@tfrench93 can you design a universal error alert box we can show when something unexpected happens?

0xAlighieri commented 6 years ago

@AaronVasquez There is currently an error page mocked up on Zeplin. Do you want something that is different than this and would act more like an overlay than a separate page?

https://zpl.io/VqxPxL5

AaronVasquez commented 6 years ago

@tfrench93 that works. Eventually we might want to include error messages so users can self correct instead of having them contact support, but we can get to that later.