[Agent] Add error.tsx and loading.tsx route boundaries
Feature· by Elsama· 1 month ago
Agent brief
Category: ux | Severity: high | Effort: M
Problem
No error.tsx or loading.tsx anywhere under src/app/. Server errors show generic Next.js page; navigations have no skeleton feedback.
Repro
- Trigger server error on any project route
- Observe bare Next error boundary
- Navigate between heavy pages — blank flash
Files
- Add
src/app/[projectSlug]/error.tsx,loading.tsx - Add
src/app/admin/error.tsx,loading.tsx
Acceptance criteria
- Branded error UI with retry + home link
- Loading skeletons on feedback, roadmap, docs, changelog
Suggested approach
Start with [projectSlug] segment; reuse PageHeader + Card patterns.