GenSpectrum / dashboards

https://genspectrum.github.io/dashboards/
GNU Affero General Public License v3.0
1 stars 0 forks source link

Components: Develop error handling #143

Open JonasKellerer opened 2 weeks ago

JonasKellerer commented 2 weeks ago

Develop a method to provide the user with error information. Most of the time error occur when LAPIS is not reachable. This can already happen in the gs-app component fetching the reference genome.

More tbd

fengelniederhammer commented 2 weeks ago

In the first iteration: Let's start thinking about how we want to implement this. Then we can implement it in a second iteration.

fengelniederhammer commented 4 days ago

Maybe we can simply use useErrorBoundary in all Preact based components? https://preactjs.com/guide/v10/hooks

fengelniederhammer commented 2 days ago

Related: #75