ragflow/web/src/components
chanx ff11348f7c
Fix: Optimize the MultiSelect component and system prompt templates #3221 (#9752)
### What problem does this PR solve?

Fix: Optimize the MultiSelect component and system prompt templates
#3221

- Modify the conditional statements in the MultiSelect component, using
the ?. operator to improve code readability
- Optimize the formatting of the system prompt template to make it more
standardized and easier to read
- Update the Chinese translation, changing "ExeSQL" to "Execute SQL"

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

---------

Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
2025-08-27 15:12:12 +08:00
..
api-service Feat: Move langfuse configuration to api page #6155 (#7196) 2025-04-22 14:08:20 +08:00
chunk-method-dialog Fix(search): Search application list supports renaming function #3221 (#9555) 2025-08-19 17:35:32 +08:00
chunk-method-modal Fix: Knowledge Graph Extraction Conflict Between Dataset-Level and File-Specific Configurations #7198 (#7199) 2025-04-22 16:00:55 +08:00
edit-tag Feat: Configure colors according to the design draft#3221 (#9301) 2025-08-07 13:59:33 +08:00
embed-dialog Feat: Displays the embedded page of the chat module #3221 (#9532) 2025-08-18 18:02:13 +08:00
file-icon
file-upload-dialog Feat: Allow users to parse documents directly after uploading files #3221 (#9633) 2025-08-21 16:56:22 +08:00
file-upload-modal Fix: Knowledge base page cannot upload folders #6062 (#6096) 2025-03-14 16:17:10 +08:00
highlight-markdown Feat: Run eslint when the project is running to standardize everyone's code #9377 (#9379) 2025-08-11 15:31:38 +08:00
hooks Feat: Upload agent file #3221 (#5311) 2025-02-24 19:30:33 +08:00
image Fix: Remove antd from dataset-page (#8830) 2025-07-15 16:12:50 +08:00
indented-tree Feat: Display the knowledge graph on the knowledge base page #4543 (#4587) 2025-01-22 19:43:27 +08:00
line-chart
list-filter-bar Fixes (web): Optimized search page style and functionality #3221 (#9627) 2025-08-21 16:57:14 +08:00
llm-select Fix: Display the invited icon in the header #9634 (#9659) 2025-08-22 15:05:56 +08:00
llm-setting-items Fix: Search app AI summary ERROR And The tag set cannot be selected #9649 #9652 (#9664) 2025-08-22 19:32:32 +08:00
message-input Fix: Delete the uploaded file in the chat input box, the corresponding file ID is not deleted #9701 (#9702) 2025-08-26 09:27:49 +08:00
message-item Feat: Allow agent operators to select speech-to-text models #3221 (#9534) 2025-08-19 09:40:01 +08:00
metadata-filter Fixes (web): Optimized search page style and functionality #3221 (#9627) 2025-08-21 16:57:14 +08:00
next-markdown-content Feat: Run eslint when the project is running to standardize everyone's code #9377 (#9379) 2025-08-11 15:31:38 +08:00
next-message-item Feat: Add metadata configuration for new chats #3221 (#9502) 2025-08-15 17:40:16 +08:00
operate-dropdown Feat: Allows users to search for models in the model selection drop-down box #3221 (#6708) 2025-04-01 11:53:48 +08:00
originui Fix(i18n): Added new translations #3221 (#9727) 2025-08-26 17:57:53 +08:00
parse-configuration Fix: Optimize dataset page layout and internationalization and default values for multi selection #3221 (#9695) 2025-08-25 17:29:15 +08:00
pdf-drawer
pdf-previewer
prompt-editor Feat: Replace color variables according to design draft #3221 (#9305) 2025-08-07 15:19:45 +08:00
rename-dialog Feat: Replace the submit form button with ButtonLoading #3221 (#7547) 2025-05-09 10:17:36 +08:00
rename-modal
retrieval-documents Fix: File selection in Retrieval testing causes other options to disappear (#7759) 2025-05-30 09:38:50 +08:00
similarity-slider Feat: Fixed the issue where some fields in the chat configuration could not be displayed #3221 (#9430) 2025-08-13 10:26:26 +08:00
ui Fix: Optimize the MultiSelect component and system prompt templates #3221 (#9752) 2025-08-27 15:12:12 +08:00
xyflow Feat: Adjust the style of the note node #3221 (#9167) 2025-08-01 20:21:19 +08:00
auto-keywords-form-field.tsx Fix: Fixed the issue of retrieval operator text overlapping #3221 (#8652) 2025-07-03 19:04:06 +08:00
auto-keywords-item.tsx Feat: Add TagTable #4367 (#4368) 2025-01-06 18:58:42 +08:00
bulk-operate-bar.tsx Feat: Replace color variables according to design draft #3221 (#9305) 2025-08-07 15:19:45 +08:00
collapse.tsx Feat: Modify the background color of the agent canvas #3221 (#9020) 2025-07-24 11:20:00 +08:00
confirm-delete-dialog.tsx Feat: Replace color variables according to design draft #3221 (#9305) 2025-08-07 15:19:45 +08:00
copy-to-clipboard.tsx
cross-language-form-field.tsx Feat: Modify the background color of the agent canvas #3221 (#9020) 2025-07-24 11:20:00 +08:00
cross-language-item.tsx Adds 'Vietnamese' to the list of available languages in the cross-language item components (#8843) 2025-07-15 13:02:12 +08:00
dataset-configuration-container.tsx Feat: Wrap MaxTokenNumber with DatasetConfigurationContainer. #5467 (#5491) 2025-02-28 17:52:18 +08:00
delimiter-form-field.tsx Fix(search): Search application list supports renaming function #3221 (#9555) 2025-08-19 17:35:32 +08:00
delimiter.tsx Fix: Knowledge base page cannot upload folders #6062 (#6096) 2025-03-14 16:17:10 +08:00
editable-cell.tsx Feat: Run eslint when the project is running to standardize everyone's code #9377 (#9379) 2025-08-11 15:31:38 +08:00
embed-container.tsx Feat: Displays the embedded page of the chat module #3221 (#9532) 2025-08-18 18:02:13 +08:00
entity-types-form-field.tsx Fix:Optimize Agent template page, fix bugs in knowledge base (#9009) 2025-07-24 09:30:05 +08:00
entity-types-item.tsx fix: fix dataset-page's bugs (#8786) 2025-07-11 11:34:36 +08:00
excel-to-html-form-field.tsx Fix(search): Search application list supports renaming function #3221 (#9555) 2025-08-19 17:35:32 +08:00
excel-to-html.tsx
file-upload.tsx Feat: Upload files in the chat box on the agent page #3221 (#9035) 2025-07-24 19:17:56 +08:00
file-uploader.tsx Fix: Fixed the issue that the agent embedded page needs to be logged in #9750 (#9751) 2025-08-27 14:18:00 +08:00
form-container.tsx Feat: Fixed the issue where the dataset configuration page kept refreshing #3221 (#7666) 2025-05-16 09:53:47 +08:00
home-card.tsx Fix: Fixed an issue where knowledge base could not be shared #9634 (#9642) 2025-08-22 09:34:11 +08:00
icon-font.tsx Feat: Adjust the style of the note node #3221 (#9167) 2025-08-01 20:21:19 +08:00
knowledge-base-item.tsx Feat: Add metadata configuration for new chats #3221 (#9502) 2025-08-15 17:40:16 +08:00
large-model-form-field.tsx Fix(i18n): Added new translations #3221 (#9727) 2025-08-26 17:57:53 +08:00
layout-recognize-form-field.tsx Fix: Optimize dataset page layout and internationalization and default values for multi selection #3221 (#9695) 2025-08-25 17:29:15 +08:00
layout-recognize.tsx Feat: Add the Experimental text to the option of the large model of the Image2text type of LayoutRecognizeItem (#5495) 2025-02-28 18:44:04 +08:00
llm-tools-select.tsx Feat: Support tool calling in Generate component (#7572) 2025-05-16 16:32:19 +08:00
max-token-number-from-field.tsx fix: fix dataset-page's bugs (#8786) 2025-07-11 11:34:36 +08:00
max-token-number.tsx Feat: Set the default value of Chunk token number to 512 #6016 (#6017) 2025-03-13 14:51:55 +08:00
message-history-window-size-item.tsx Feat: Add agent advanced settings form #3221 (#8592) 2025-07-01 10:52:48 +08:00
modal-manager.tsx
more-button.tsx Feat: Using IconFont as an additional icon library #3221 (#7427) 2025-04-30 13:09:42 +08:00
new-document-link.tsx Feat: Adjust the operation cell of the table on the file management page and dataset page #3221. (#7526) 2025-05-08 15:25:26 +08:00
page-header.tsx Feat: Show multiple chat boxes #3221 (#9443) 2025-08-13 15:59:51 +08:00
page-rank-form-field.tsx Fix: Fixed the issue of retrieval operator text overlapping #3221 (#8652) 2025-07-03 19:04:06 +08:00
page-rank.tsx Feat: Add TagTable #4367 (#4368) 2025-01-06 18:58:42 +08:00
ragflow-avatar.tsx Fix(search): Search application list supports renaming function #3221 (#9555) 2025-08-19 17:35:32 +08:00
ragflow-form.tsx Fix: Fixed an issue where knowledge base could not be shared #9634 (#9642) 2025-08-22 09:34:11 +08:00
rerank.tsx Feat: Fixed the issue where some fields in the chat configuration could not be displayed #3221 (#9430) 2025-08-13 10:26:26 +08:00
shared-badge.tsx Fix: Fixed an issue where knowledge base could not be shared #9634 (#9642) 2025-08-22 09:34:11 +08:00
skeleton-card.tsx Feat: Add FilesTable #3221 (#4491) 2025-01-15 14:39:33 +08:00
slider-input-form-field.tsx Fix(search): Search application list supports renaming function #3221 (#9555) 2025-08-19 17:35:32 +08:00
svg-icon.tsx Feat: Support vLLM #4316 (#5395) 2025-02-26 18:33:43 +08:00
switch-fom-field.tsx Feat: Retrieval test #3221 (#7121) 2025-04-17 19:03:55 +08:00
table-skeleton.tsx Fix(i18n): Added new translations #3221 (#9727) 2025-08-26 17:57:53 +08:00
tavily-form-field.tsx Feat: Show multiple chat boxes #3221 (#9443) 2025-08-13 15:59:51 +08:00
tavily-item.tsx Fix: Prevent password boxes other than login passwords from displaying passwords saved in the browser's password manager by default. #6033 (#6084) 2025-03-14 14:15:43 +08:00
theme-provider.tsx Feat: Replace the link of the old version of the agent module #3221 (#9130) 2025-07-31 12:14:00 +08:00
top-n-item.tsx Feat: Fixed the issue where some fields in the chat configuration could not be displayed #3221 (#9430) 2025-08-13 10:26:26 +08:00
use-knowledge-graph-item.tsx Feat: Retrieval test #3221 (#7121) 2025-04-17 19:03:55 +08:00