refactor: move integrations overview from main nav into admin area

Remove the top-level "Integrationen" sidebar entry and add an "Uebersicht"
tab to the admin integrations page with summary stats and integration cards.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-23 20:32:40 +01:00
parent d8a3c03554
commit b1238b7bb8
2 changed files with 86 additions and 28 deletions

View File

@@ -25,7 +25,6 @@ import {
Network,
Building2,
UserPlus,
MessageSquare,
type LucideIcon,
} from 'lucide-react';
@@ -106,30 +105,6 @@ const mainNavItems: NavItem[] = [
},
],
},
{
key: 'integrations',
href: '/integrations',
icon: Plug,
requiredRoles: ['manager', 'admin'],
children: [
{
key: 'overview',
href: '/integrations',
icon: Plug,
exactMatch: true,
},
{
key: 'plentyOne',
href: '/integrations/plentyone',
icon: Building2,
},
{
key: 'zulip',
href: '/integrations/zulip',
icon: MessageSquare,
},
],
},
];
const bottomNavItems: NavItem[] = [