fix: filter knowledge list by keywords and clear the selected file list after the file is uploaded successfully and add ellipsis pattern to chunk list (#628)

### What problem does this PR solve?

#627 
fix: filter knowledge list by keywords
fix: clear the selected file list after the file is uploaded
successfully
feat: add ellipsis pattern to chunk list

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-04-30 18:43:26 +08:00
committed by GitHub
parent 7d3b68bb1e
commit 9703633a57
21 changed files with 154 additions and 171 deletions

View File

@ -48,6 +48,7 @@ const ChunkMethodModal: React.FC<IProps> = ({
visible,
documentExtension,
parserConfig,
loading,
}) => {
const { parserList, handleChange, selectedTag } = useFetchParserListOnMount(
documentId,
@ -109,6 +110,7 @@ const ChunkMethodModal: React.FC<IProps> = ({
onOk={handleOk}
onCancel={hideModal}
afterClose={afterClose}
confirmLoading={loading}
>
<Space size={[0, 8]} wrap>
<Form.Item label={t('chunkMethod')} className={styles.chunkMethod}>