Skip to content

fix: add scoped error.tsx and loading.tsx boundaries across all routes (#29) - #183

Open
rafaio1 wants to merge 1 commit into
MergeFi:mainfrom
rafaio1:fix/29-scoped-error-loading-boundaries
Open

fix: add scoped error.tsx and loading.tsx boundaries across all routes (#29)#183
rafaio1 wants to merge 1 commit into
MergeFi:mainfrom
rafaio1:fix/29-scoped-error-loading-boundaries

Conversation

@rafaio1

@rafaio1 rafaio1 commented Aug 20, 2026

Copy link
Copy Markdown

Fixes #29.

  • Add global-error.tsx as outermost safety net with on-brand dark styling and retry action
  • Add route-specific error.tsx for 9 segments (home, issues list, bounty detail, milestones, connect, contributor/maintainer/sponsor dashboards, reputation profile) each with contextual messaging and working retry button
  • Add loading.tsx skeletons for all 9 data-fetching routes enabling streaming SSR instead of blank white screens during fetch
  • All error boundaries are Client Components per Next.js requirement
  • Skeletons use animate-pulse matching the existing StatCard shimmer pattern

TypeScript compiles cleanly with npx tsc --noEmit.

MergeFi#29)

- Add global-error.tsx as outermost safety net with on-brand dark styling
- Add route-specific error.tsx for 9 segments (home, issues, bounty detail,
  milestones, connect, contributor/maintainer/sponsor dashboards, reputation)
  each with contextual messaging and working retry button
- Add loading.tsx skeletons for all 9 data-fetching routes enabling streaming
  SSR instead of blank white screens during fetch
- All error boundaries are Client Components per Next.js requirement
- Skeletons use animate-pulse matching the existing StatCard shimmer pattern

TypeScript compiles cleanly with npx tsc --noEmit.
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add scoped error.tsx and loading.tsx/Suspense boundaries across all routes

1 participant