Handle react-error-boundary unknown fallback errors in RunFrame error boundaries and update @tscircuit/3d-viewer to version 0.0.560#3473
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR updates the project’s @tscircuit/3d-viewer dependency, and as a result of the lockfile refresh also changes resolved transitive @tscircuit/* dependencies (notably @tscircuit/core).
Changes:
- Bump
@tscircuit/3d-viewerfrom0.0.559to0.0.560inpackage.json. - Update
bun.lockto reflect the new resolved@tscircuit/3d-viewer@0.0.560(and updated transitive resolutions, including@tscircuit/core).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Updates the declared @tscircuit/3d-viewer devDependency version. |
| bun.lock | Updates the lockfile for the new @tscircuit/3d-viewer version and updates transitive resolutions (including @tscircuit/core). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs. |
4b4ddc3 to
6dab755
Compare
|
Thank you for your contribution! 🎉 PR Rating: ⭐⭐⭐ Track your contributions and see the leaderboard at: tscircuit Contribution Tracker |
This pull request improves error handling and messaging across several components by standardizing how errors are processed and displayed. It also updates some dependencies to their latest versions. The most important changes are as follows:
Error Handling Improvements:
ErrorBoundaryusages to use theFallbackPropstype fromreact-error-boundaryinstead of custom or inline types, ensuring consistency and compatibility. [1] [2] [3]getErrorMessageutility in multiple components to robustly extract error messages from unknown error types, improving user-facing error feedback. [1] [2]ErrorFallback,RunFrameErrorFallback) to handle unknown error types gracefully by normalizing them toErrorinstances before displaying messages and stack traces. [1] [2] [3] [4]Component Updates:
CircuitJsonPreviewandRunFrameStaticBuildViewerto use the new error message extraction logic, ensuring consistent and user-friendly error messages throughout the UI. [1] [2] [3] [4]Dependency Updates:
@tscircuit/3d-viewer,schematic-symbols, andtscircuitto their latest versions inpackage.jsonfor improved stability and new features. [1] [2]