XLabs / wormscan-ui

6 stars 3 forks source link

Add React Error Boundary #221

Open mliu-xlabs opened 1 year ago

mliu-xlabs commented 1 year ago

@raop155 any other details you can add here?

raop155 commented 1 year ago

@mliu-xlabs

This is something that needs to be defined inside the react-code-base, like an error handler in case of the app crash we can display some kind of message or anything else.

FYI: @valentinoConti, what do you think?

SamantaCasal commented 11 months ago

@Gpluv https://www.figma.com/file/kVuUyVjFFcRP55xHxHoKtH/WormholeScan?type=design&node-id=5767-9904&mode=design&t=4K0Ghf9zeSyLlw7o-0 For this case, we need to show a page with some comments like: "Something unexpected happened" Reload page (BUTTON) Contact us (Redirect to wormhole discord) Could you help us with the design?

giulianoconti commented 11 months ago

@SamantaCasal

If you want to see the error design, you can use requestly with something like this (only on the txs page. changing the other endpoints the application no longer explodes)

Image

SamantaCasal commented 11 months ago

QA Fail, the page looks like

Image