fix: add missing STEP_EXPLANATIONS and sidebar entries for new SDK modules
Add STEP_EXPLANATIONS for academy, whistleblower, incidents, dsb-portal, industry-templates, multi-tenant, sso, document-crawler, advisory-board to fix client-side crashes. Add all new modules to Zusatzmodule section in both SDKSidebar and SDKPipelineSidebar (FAB). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -296,6 +296,45 @@ function SidebarContent({ onNavigate }: SidebarContentProps) {
|
||||
{/* Pipeline Flow */}
|
||||
<PipelineFlow />
|
||||
|
||||
{/* Zusatzmodule */}
|
||||
<div className="pt-3 border-t border-slate-200 dark:border-gray-700">
|
||||
<div className="text-xs font-medium text-slate-500 dark:text-slate-400 mb-2 px-1">
|
||||
Zusatzmodule
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
{[
|
||||
{ href: '/sdk/rag', label: 'Legal RAG', icon: '🔍' },
|
||||
{ href: '/sdk/quality', label: 'AI Quality', icon: '✅' },
|
||||
{ href: '/sdk/security-backlog', label: 'Security Backlog', icon: '⚠️' },
|
||||
{ href: '/sdk/compliance-hub', label: 'Compliance Hub', icon: '📊' },
|
||||
{ href: '/sdk/dsms', label: 'DSMS', icon: '🛡️' },
|
||||
{ href: '/sdk/academy', label: 'Academy', icon: '🎓' },
|
||||
{ href: '/sdk/whistleblower', label: 'Whistleblower', icon: '📢' },
|
||||
{ href: '/sdk/incidents', label: 'Incidents', icon: '🚨' },
|
||||
{ href: '/sdk/dsb-portal', label: 'DSB Portal', icon: '👤' },
|
||||
{ href: '/sdk/industry-templates', label: 'Branchenvorlagen', icon: '🏢' },
|
||||
{ href: '/sdk/multi-tenant', label: 'Multi-Tenant', icon: '👥' },
|
||||
{ href: '/sdk/sso', label: 'SSO', icon: '🔑' },
|
||||
{ href: '/sdk/document-crawler', label: 'Doc Crawler', icon: '📄' },
|
||||
{ href: '/sdk/advisory-board', label: 'Beirat', icon: '💬' },
|
||||
].map(mod => (
|
||||
<Link
|
||||
key={mod.href}
|
||||
href={mod.href}
|
||||
onClick={onNavigate}
|
||||
className={`flex items-center gap-2 px-3 py-1.5 rounded-lg text-sm transition-colors ${
|
||||
pathname === mod.href
|
||||
? 'bg-purple-100 dark:bg-purple-900/30 text-purple-700 dark:text-purple-300 font-medium'
|
||||
: 'text-slate-600 dark:text-slate-400 hover:bg-slate-100 dark:hover:bg-gray-800'
|
||||
}`}
|
||||
>
|
||||
<span className="text-base">{mod.icon}</span>
|
||||
<span className="truncate">{mod.label}</span>
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Quick Info */}
|
||||
{currentStep && (
|
||||
<div className="pt-3 border-t border-slate-200 dark:border-gray-700">
|
||||
|
||||
Reference in New Issue
Block a user