From 650f6e6723605d2c0aea7772c2dc469c43894791 Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Tue, 21 Jul 2026 23:01:21 +0200 Subject: [PATCH] AISidebar: rename Proaktiv to Live KI, align icon strip border with TopBar, notifications as slim cards --- frontend/src/components/layout/AISidebar.tsx | 42 ++++++++++---------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/frontend/src/components/layout/AISidebar.tsx b/frontend/src/components/layout/AISidebar.tsx index 76b686b..869b5a8 100644 --- a/frontend/src/components/layout/AISidebar.tsx +++ b/frontend/src/components/layout/AISidebar.tsx @@ -63,7 +63,7 @@ export function AISidebar() { const tabs: TabDef[] = [ { key: 'chat', label: 'KI Chat', icon: robotIcon, testId: 'ai-sidebar-tab-chat' }, - { key: 'proactive', label: 'Proaktiv', icon: bulbIcon, testId: 'ai-sidebar-tab-proactive' }, + { key: 'proactive', label: 'Live KI', icon: bulbIcon, testId: 'ai-sidebar-tab-proactive' }, { key: 'notifications', label: t('topbar.notifications'), icon: bellIcon, testId: 'ai-sidebar-tab-notifications' }, ]; @@ -103,26 +103,24 @@ export function AISidebar() { } if (aiSidebarTab === 'notifications') { return ( -
- +
+ {notifications.length === 0 && ( +

Keine Benachrichtigungen

+ )} + {notifications.map((msg, i) => ( +
+ {msg} + +
+ ))}
); } @@ -143,7 +141,7 @@ export function AISidebar() { }; const iconStrip = ( -
+
{tabs.map((tab) => (