flycat-web icon indicating copy to clipboard operation
flycat-web copied to clipboard

better handle on err catch to prevent page crashed

Open digi-monkey opened this issue 1 year ago • 0 comments
trafficstars

Shook — 11/29/2023 3:23 PM I was trying to find articles on the home feed, so I clicked the "Articles" tab, but nothing seemed to happen. Then I refreshed the page, and that's when the error occurred.

1

Shook — 11/29/2023 3:52 PM And once this error is triggered, the home feed page becomes inaccessible unless the local storage is cleared manually. Some suggestions to improve usability: Instead of using an "error page" that completely blocks the page, maybe consider show error within the list when the list breaks, or show a notification pup-up at the corner of the page? Provide a button to "try fix the error", for example a button that allows users to clear local storage without needing to open the browser's dev tool? Not sure if this is a good idea, maybe too aggressive. (edited)

image

digi-monkey avatar Dec 08 '23 17:12 digi-monkey