feat: implement platform management system with authentication and dashboard

- Add PlatformUser model with roles (SUPER_ADMIN, ADMIN, SUPPORT)
- Implement platform authentication with NextAuth
- Create platform dashboard showing companies, users, and sessions
- Add platform API endpoints for company management
- Update landing page with SaaS design
- Include test improvements and accessibility updates
This commit is contained in:
2025-06-28 12:41:50 +02:00
parent aa0e9d5ebc
commit 60d1b72aba
18 changed files with 1190 additions and 53 deletions

View File

@ -263,7 +263,7 @@ describe("UserManagementPage", () => {
await waitFor(() => {
const emailInput = screen.getByLabelText("Email") as HTMLInputElement;
fireEvent.change(emailInput, { target: { value: "invalid-email" } });
fireEvent.blur(emailInput);