feat: AgentCatalog dynamique + route /ui/docs directe + URL sync

This commit is contained in:
2026-03-20 22:06:08 +01:00
parent 5762275aef
commit b51ea60579
3 changed files with 263 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
import { useState, useEffect, ReactNode } from 'react'
import ReactMarkdown, { Components } from 'react-markdown'
import { TierComparatif, TierSingle } from './TierDashboard'
import { AgentCatalog } from './AgentDashboard'
interface DocFile {
name: string
@@ -210,6 +211,9 @@ export default function DocsView() {
const tierName = activeDoc.replace('vue-', '')
return <article className="docs-markdown"><TierSingle tierName={tierName} /></article>
}
if (liveMode && activeDoc === 'agents') {
return <article className="docs-markdown"><AgentCatalog /></article>
}
// Mode standard — markdown
return (