feat(frontend): unify document tag filter, manage drawer, and detail UX

Split tag filtering from CRUD management on the knowledge base document
page, align copy to "tags" across locales, and polish hover/detail surfaces
with setting-drawer section styling. Return tags from GetKnowledge for the
detail drawer.
This commit is contained in:
wizardchen
2026-06-26 12:23:27 +08:00
committed by lyingbug
parent 96ac1a17a1
commit ecaedf1196
16 changed files with 1847 additions and 943 deletions
+3 -3
View File
@@ -160,7 +160,7 @@ export function togglePinKnowledgeBase(id: string) {
}
// 知识文件 API(基于具体知识库)
// data.tag_ids: 可选,指定知识所属的多个分类ID
// data.tag_ids: 可选,指定知识所属的多个标签 ID
export function uploadKnowledgeFile(
kbId: string,
data: {
@@ -188,7 +188,7 @@ export function uploadKnowledgeFile(
}
// 从URL创建知识
// data.tag_ids: 可选,指定知识所属的多个分类ID
// data.tag_ids: 可选,指定知识所属的多个标签 ID
export function createKnowledgeFromURL(
kbId: string,
data: { url: string; enable_multimodel?: boolean; tag_ids?: string[]; process_config?: KnowledgeProcessOverrides },
@@ -197,7 +197,7 @@ export function createKnowledgeFromURL(
}
// 手工创建知识
// data.tag_ids: 可选,指定知识所属的分类ID
// data.tag_ids: 可选,指定知识所属的标签 ID
export function createManualKnowledge(
kbId: string,
data: {