Add comprehensive error handling with Error Boundary and improve user feedback. Changes: - Created global ErrorBoundary component with fallback UI using react-error-boundary - Integrated ErrorBoundary in root layout to catch all errors - Created Loading component with variants (sm, md, lg) for consistent loading states - Created EmptyState component for better empty data display with CTAs - Improved form error messages in login and register pages (consistent destructive styling) - Updated projects page to use EmptyState component - Added better error handling with retry actions UX improvements: - Better error messages and recovery options with clear action buttons - Consistent loading indicators across all pages - Helpful empty states with clear descriptions and CTAs - Graceful error handling without crashes - Consistent destructive color theme for all error messages Technical: - Installed react-error-boundary package (v5) - All TypeScript types are properly defined - Build and type checking pass successfully 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
69 lines
2.3 KiB
JSON
69 lines
2.3 KiB
JSON
{
|
|
"name": "colaflow-web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
"docker:dev": "docker-compose up -d postgres redis backend",
|
|
"docker:all": "docker-compose up -d",
|
|
"docker:stop": "docker-compose down",
|
|
"docker:logs": "docker-compose logs -f frontend",
|
|
"docker:logs:backend": "docker-compose logs -f backend",
|
|
"docker:logs:all": "docker-compose logs -f",
|
|
"docker:restart": "docker-compose restart frontend",
|
|
"docker:restart:backend": "docker-compose restart backend",
|
|
"docker:clean": "docker-compose down -v && docker-compose up -d --build",
|
|
"docker:status": "docker-compose ps",
|
|
"docker:build": "docker build --target development -t colaflow-frontend:dev .",
|
|
"docker:build:prod": "docker build --target production -t colaflow-frontend:prod ."
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@hookform/resolvers": "^5.2.2",
|
|
"@microsoft/signalr": "^9.0.6",
|
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
"@radix-ui/react-avatar": "^1.1.11",
|
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
"@radix-ui/react-label": "^2.1.7",
|
|
"@radix-ui/react-select": "^2.2.6",
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"@tanstack/react-query": "^5.90.6",
|
|
"@tanstack/react-query-devtools": "^5.90.2",
|
|
"axios": "^1.13.1",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"lucide-react": "^0.552.0",
|
|
"next": "16.0.1",
|
|
"next-themes": "^0.4.6",
|
|
"react": "19.2.0",
|
|
"react-dom": "19.2.0",
|
|
"react-error-boundary": "^6.0.0",
|
|
"react-hook-form": "^7.66.0",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.3.1",
|
|
"zod": "^4.1.12",
|
|
"zustand": "^5.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.0.1",
|
|
"prettier": "^3.6.2",
|
|
"prettier-plugin-tailwindcss": "^0.7.1",
|
|
"tailwindcss": "^4",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typescript": "^5"
|
|
}
|
|
}
|