From 72a0409c16f2f164c914af84821e9d1971df72be Mon Sep 17 00:00:00 2001 From: BreakPilot Dev Date: Thu, 12 Feb 2026 20:01:09 +0100 Subject: [PATCH] refactor(admin-v2): Rename to Admin Lehrer KI and remove migrated categories Remove communication, infrastructure, and development categories from navigation (now in Admin Core on port 3008). Rename Admin v2 to Admin Lehrer KI in sidebar, header, and browser title. Co-Authored-By: Claude Opus 4.6 --- admin-v2/app/layout.tsx | 2 +- admin-v2/components/layout/Header.tsx | 2 +- admin-v2/components/layout/Sidebar.tsx | 2 +- admin-v2/lib/navigation.ts | 160 +------------------------ admin-v2/lib/roles.ts | 4 +- 5 files changed, 6 insertions(+), 164 deletions(-) diff --git a/admin-v2/app/layout.tsx b/admin-v2/app/layout.tsx index 5d3f280..f17fb1d 100644 --- a/admin-v2/app/layout.tsx +++ b/admin-v2/app/layout.tsx @@ -5,7 +5,7 @@ import './globals.css' const inter = Inter({ subsets: ['latin'] }) export const metadata: Metadata = { - title: 'BreakPilot Admin v2', + title: 'BreakPilot Admin Lehrer KI', description: 'Neues Admin-Frontend mit verbesserter Navigation und Rollen-System', } diff --git a/admin-v2/components/layout/Header.tsx b/admin-v2/components/layout/Header.tsx index 4b8855b..8928e3b 100644 --- a/admin-v2/components/layout/Header.tsx +++ b/admin-v2/components/layout/Header.tsx @@ -65,7 +65,7 @@ export function Header({ title, description }: HeaderProps) { {/* User Area */}
- Admin v2 + Admin Lehrer KI
A
diff --git a/admin-v2/components/layout/Sidebar.tsx b/admin-v2/components/layout/Sidebar.tsx index 3ea5e25..c41a6b9 100644 --- a/admin-v2/components/layout/Sidebar.tsx +++ b/admin-v2/components/layout/Sidebar.tsx @@ -148,7 +148,7 @@ export function Sidebar({ onRoleChange }: SidebarProps) {
{!collapsed && ( - Admin v2 + Admin Lehrer KI )}