feat(ui): remove KI/Automation from agents sidebar, add automation to start page, remove from topbar
This commit is contained in:
@@ -20,23 +20,6 @@ const AGENT_TREE: AgentNode[] = [
|
||||
{ title: 'Versionen', path: '/agents/versions' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Automation',
|
||||
icon: <Zap className="w-4 h-4" />,
|
||||
children: [
|
||||
{ title: 'Übersicht', path: '/agents/automation' },
|
||||
{ title: 'Einstellungen', path: '/agents/automation-settings' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'KI',
|
||||
icon: <Brain className="w-4 h-4" />,
|
||||
children: [
|
||||
{ title: 'Assistent', path: '/agents/ai-assistant' },
|
||||
{ title: 'Einstellungen', path: '/agents/ai-settings' },
|
||||
{ title: 'Proactive AI', path: '/agents/ai-proactive' },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
function TreeItem({ node, depth }: { node: AgentNode; depth: number }) {
|
||||
|
||||
@@ -8,7 +8,7 @@ import { useNavigate } from 'react-router-dom';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useAuthStore } from '@/store/authStore';
|
||||
import { useUIStore } from '@/store/uiStore';
|
||||
import { Settings, HelpCircle, LayoutGrid, ArrowRight, Plus, Bot } from 'lucide-react';
|
||||
import { Settings, HelpCircle, LayoutGrid, ArrowRight, Plus, Bot, Zap } from 'lucide-react';
|
||||
|
||||
// Workspace tile definition
|
||||
interface WorkspaceTile {
|
||||
@@ -41,6 +41,7 @@ export function StartPage() {
|
||||
{ id: 'workspaces', label: 'Workspaces', icon: <LayoutGrid className="w-4 h-4" />, active: true },
|
||||
{ id: 'settings', label: 'Einstellungen', icon: <Settings className="w-4 h-4" />, onClick: () => navigate('/settings') },
|
||||
{ id: 'agents', label: 'Agenten', icon: <Bot className="w-4 h-4" />, onClick: () => navigate('/agents/overview') },
|
||||
{ id: 'automation', label: 'Automation', icon: <Zap className="w-4 h-4" />, onClick: () => navigate('/agents/automation') },
|
||||
{ id: 'help', label: 'Hilfe', icon: <HelpCircle className="w-4 h-4" />, onClick: () => navigate('/help/welcome') },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user