feat(dashboard): add error boundary with Try Again button (#2250)#2532
feat(dashboard): add error boundary with Try Again button (#2250)#2532mallya-m wants to merge 1 commit into
Conversation
GSSoC Label Checklist 🏷️@Umbrella-io — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
|
@Priyanshu-byte-coder PR is up! Created src/app/dashboard/error.tsx using Next.js App Router error boundary conventions. Any widget crash now shows a friendly "Something went wrong" message with a "Try Again" button that calls reset(). Closes #2250 |
What does this PR do?
Creates src/app/dashboard/error.tsx as a Next.js App Router error boundary so any dashboard widget crash shows a friendly fallback UI instead of a blank page.
Related issue
Closes #2250
Changes made
src/app/dashboard/error.tsxfollowing Next.js App Router error boundary conventionHow to test
throw new Error("test")inside any dashboard widgetScreenshots
Checklist