webui layout: add dedicated EKG menu/page and declutter task-audit layout

This commit is contained in:
DBT
2026-03-01 08:35:11 +00:00
parent 13f0b1905f
commit be2381f128
5 changed files with 121 additions and 112 deletions

View File

@@ -1,5 +1,5 @@
import React from 'react';
import { LayoutDashboard, MessageSquare, Settings, Clock, Server, Terminal, Zap, FolderOpen, ClipboardList, ListTodo } from 'lucide-react';
import { LayoutDashboard, MessageSquare, Settings, Clock, Server, Terminal, Zap, FolderOpen, ClipboardList, ListTodo, BrainCircuit } from 'lucide-react';
import { useTranslation } from 'react-i18next';
import { useAppContext } from '../context/AppContext';
import NavItem from './NavItem';
@@ -34,6 +34,12 @@ const Sidebar: React.FC = () => {
{ icon: <ListTodo className="w-5 h-5" />, label: t('tasks'), to: '/tasks' },
],
},
{
title: t('sidebarInsights'),
items: [
{ icon: <BrainCircuit className="w-5 h-5" />, label: t('ekg'), to: '/ekg' },
],
},
];
return (