From 4c06953a7a6395737918efefe5ed98a442d5b90c Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Mon, 9 Feb 2026 11:11:46 +0100 Subject: [PATCH] Add OCR Compare, OCR Labeling, RAG Pipeline, Magic Help to AI sidebar Adds the missing navigation entries and SVG icons for all AI tool modules so they appear in the sidebar navigation. Co-Authored-By: Claude Opus 4.6 --- admin-v2/components/ai/AIToolsSidebar.tsx | 56 +++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/admin-v2/components/ai/AIToolsSidebar.tsx b/admin-v2/components/ai/AIToolsSidebar.tsx index f543c2a..c2cf61b 100644 --- a/admin-v2/components/ai/AIToolsSidebar.tsx +++ b/admin-v2/components/ai/AIToolsSidebar.tsx @@ -46,6 +46,34 @@ export const AI_TOOLS_MODULES: AIToolModule[] = [ description: 'vast.ai Management', icon: '🖥️', }, + { + id: 'ocr-compare', + name: 'OCR Vergleich', + href: '/ai/ocr-compare', + description: 'OCR-Methoden & Vokabel-Extraktion', + icon: '🔍', + }, + { + id: 'ocr-labeling', + name: 'OCR Labeling', + href: '/ai/ocr-labeling', + description: 'Trainingsdaten erstellen', + icon: '🏷️', + }, + { + id: 'rag-pipeline', + name: 'RAG Pipeline', + href: '/ai/rag-pipeline', + description: 'Retrieval Augmented Generation', + icon: '🔗', + }, + { + id: 'magic-help', + name: 'Magic Help', + href: '/ai/magic-help', + description: 'KI-Assistent', + icon: '✨', + }, ] export interface AIToolsSidebarProps { @@ -86,6 +114,34 @@ const ToolIcon = ({ id }: { id: string }) => { d="M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z" /> ) + case 'ocr-compare': + return ( + + + + ) + case 'ocr-labeling': + return ( + + + + ) + case 'rag-pipeline': + return ( + + + + ) + case 'magic-help': + return ( + + + + ) default: return null }