feat: complete tRPC integration and fix platform UI issues

- Implement comprehensive tRPC setup with type-safe API
- Create tRPC routers for dashboard, admin, and auth endpoints
- Migrate frontend components to use tRPC client
- Fix platform dashboard Settings button functionality
- Add platform settings page with profile and security management
- Create OpenAI API mocking infrastructure for cost-safe testing
- Update tests to work with new tRPC architecture
- Sync database schema to fix AIBatchRequest table errors
This commit is contained in:
2025-07-11 15:37:53 +02:00
committed by Kaj Kowalski
parent f2a3d87636
commit fa7e815a3b
38 changed files with 4285 additions and 518 deletions

View File

@ -52,7 +52,12 @@
"@radix-ui/react-toggle-group": "^1.1.10",
"@radix-ui/react-tooltip": "^1.2.7",
"@rapideditor/country-coder": "^5.4.0",
"@tanstack/react-query": "^5.81.5",
"@tanstack/react-table": "^8.21.3",
"@trpc/client": "^11.4.3",
"@trpc/next": "^11.4.3",
"@trpc/react-query": "^11.4.3",
"@trpc/server": "^11.4.3",
"@types/canvas-confetti": "^1.9.0",
"@types/d3": "^7.4.3",
"@types/d3-cloud": "^1.2.9",
@ -88,6 +93,7 @@
"recharts": "^3.0.2",
"rehype-raw": "^7.0.0",
"sonner": "^2.0.5",
"superjson": "^2.2.2",
"tailwind-merge": "^3.3.1",
"vaul": "^1.1.2",
"zod": "^3.25.67"
@ -98,6 +104,7 @@
"@next/eslint-plugin-next": "^15.3.4",
"@playwright/test": "^1.53.1",
"@tailwindcss/postcss": "^4.1.11",
"@tanstack/react-query-devtools": "^5.81.5",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",