Skip to content

Add more detail to error screen#1129

Merged
1Blademaster merged 2 commits into
mainfrom
922-improve-error-screen-ux
Mar 25, 2026
Merged

Add more detail to error screen#1129
1Blademaster merged 2 commits into
mainfrom
922-improve-error-screen-ux

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 25, 2026 20:23
@1Blademaster 1Blademaster linked an issue Mar 25, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves the GCS renderer’s error boundary screen to provide richer diagnostics and user actions when a render-time exception occurs.

Changes:

  • Switches react-error-boundary usage to FallbackComponent so the fallback can receive resetErrorBoundary.
  • Expands the error fallback UI to show copyable diagnostics (app/runtime/drone/connection/status text) and an optional stack trace.
  • Updates recovery actions to offer both “Reload app” (IPC) and “Retry render”.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
gcs/src/components/mainContent.jsx Updates ErrorBoundary configuration to use FallbackComponent with the enhanced fallback UI.
gcs/src/components/error/errorBoundary.jsx Reworks the fallback component to collect and display diagnostics + stack trace with copy actions and recovery buttons.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gcs/src/components/error/errorBoundary.jsx Outdated
Comment thread gcs/src/components/error/errorBoundary.jsx
@1Blademaster 1Blademaster merged commit a36da31 into main Mar 25, 2026
5 checks passed
@1Blademaster 1Blademaster deleted the 922-improve-error-screen-ux branch March 25, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve error screen UX

2 participants