invoke-ai / invoke-ai/InvokeAI

[enhancement]: Better Error Boundaries

Open
#4,498 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue web ui
Dominant language
Python
Stars
28.2k
Forks
3k
Avg merge
6d 5h
Merged PRs (30d)
19

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Contact Details

_No response_

### What should this feature add?

Currently we have one "global" error boundary, catching exceptions that bubble up to the root of the application.

We should implement much more granular error boundaries across the application.

This could be implemented in parts:
- enhance the error boundary fallback component to be more descriptive and useful
- scrollable area to display the full error?
- probably should have a "refresh" button in addition to "reset", as often all that's needed is to refresh the page
- make it configurable using `AppConfig` / `configSlice` so that eg commercial can provide their own components or URLs
- utilize it in other areas - like one for canvas, one for nodes, one for gallery, etc

### Alternatives

_No response_

### Additional Content

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.