Adds a error boundary to each component. This will catch every error thrown in its children. If the error is a UserFacingError then the content of the error message will also be shown. Otherwise it will be omitted. The error should take up as much space as the original component.
This also introduces a loading skeleton for those components, which have this state.
When the reference genome can not be fetched, an error banner will be shown.
Screenshot
Error banner when error while fetching reference genome.
PR Checklist
[x] All necessary documentation has been adapted.
[x] The implemented feature is covered by an appropriate test.
resolves #143
Summary
Adds a error boundary to each component. This will catch every error thrown in its children. If the error is a
UserFacingError
then the content of the error message will also be shown. Otherwise it will be omitted. The error should take up as much space as the original component.This also introduces a loading skeleton for those components, which have this state.
When the reference genome can not be fetched, an error banner will be shown.
Screenshot
Error banner when error while fetching reference genome.
PR Checklist