fix(knowledge): harden batch reparse UX and async processing

Move batch reparse work to an asynq task to avoid HTTP timeouts, add i18n
for all locales, guard in-flight documents, and prevent concurrent delete/reparse.
This commit is contained in:
wizardchen
2026-06-25 23:51:38 +08:00
committed by lyingbug
parent a14c1d87aa
commit 97b7bb9890
13 changed files with 214 additions and 199 deletions
+5
View File
@@ -576,6 +576,11 @@ export default {
confirmBatchDeleteDocument: "确认删除选中的 {count} 个文档?删除后将无法恢复。",
batchDeleteSuccess: "成功删除 {count} 个文档",
batchDeleteFailed: "批量删除失败",
confirmBatchReparseDocument: "确认重建选中的 {count} 个文档?现有内容将被清除并重新解析。",
confirmBatchReparse: "确认并重新解析",
batchReparseSuccess: "已提交 {count} 个重建任务",
batchReparseFailed: "批量重建失败",
batchReparseSkippedInFlight: "已跳过 {count} 个正在解析中的文档",
statusCompleted: "已完成",
statusProcessing: "解析中",
statusFinalizing: "优化中",