chore: layout optimize

This commit is contained in:
qixinbo
2026-03-29 14:44:32 +08:00
parent 74fb360df6
commit 22e1891a57
10 changed files with 1316 additions and 925 deletions
+22
View File
@@ -919,6 +919,17 @@ function SidebarBody() {
{t('dataSourceManagement')}
</button>
<button
className="w-full flex items-center gap-2 px-3 py-2 text-sm text-foreground/80 hover:bg-muted transition-colors"
onClick={() => {
navigate("/knowledge-bases");
setShowUserMenu(false);
}}
>
<Database className="h-4 w-4 text-muted-foreground" />
{t('knowledgeBaseManagement', 'Knowledge Bases')}
</button>
<button
className="w-full flex items-center gap-2 px-3 py-2 text-sm text-foreground/80 hover:bg-muted transition-colors"
onClick={() => {
@@ -954,6 +965,17 @@ function SidebarBody() {
{t('modelConfig')}
</button>
<button
className="w-full flex items-center gap-2 px-3 py-2 text-sm text-foreground/80 hover:bg-muted transition-colors"
onClick={() => {
navigate("/embedding-models");
setShowUserMenu(false);
}}
>
<Brain className="h-4 w-4 text-muted-foreground" />
{t('embeddingModelConfig', 'Embedding Models')}
</button>
<button
className="w-full flex items-center gap-2 px-3 py-2 text-sm text-foreground/80 hover:bg-muted transition-colors"
onClick={() => {