feat(ui): 批量重建文档先经解析设置弹窗,支持逐文档独立配置 - #2758
Open
asmh1989 wants to merge 1 commit into
Open
Conversation
Collaborator
|
是否可以增加下效果截图或者视频,方便我们Review具体实现效果 |
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

问题
listView 多选模式下点击批量 "Rebuild Document" 会直接开始重建,跳过 Parse settings 界面;而 gridView 单文档 rebuild 需要先经过该界面确认配置。与上传多文档时的体验不一致。
方案
纯前端实现,不改动后端:
uploadConfirmStore的reparse模式,与单文档流程一致process_overrides;也可从列表中移除文档POST /knowledge/{id}/reparse提交(每文档携带各自的process_config),无需后端扩展Promise.allSettled提交,失败计入失败数但不清空选择验证
npx vue-tsc --noEmit通过npm run check-i18n通过(i18n 零新增 key,复用现有文案)