feat: Improve knowledge base loading and dropdown UI in manual knowledge editor
- Enhanced the knowledge base loading function with detailed logging for better debugging and visibility of the data flow. - Filtered knowledge bases to include only document types, improving the relevance of displayed options. - Updated the dropdown component to include a custom empty state message when no document-type knowledge bases are available. - Adjusted z-index styles for dropdowns to ensure proper visibility in various UI contexts. - Added localization strings for the new empty state message in English, Russian, and Chinese.
This commit is contained in:
@@ -618,6 +618,7 @@ export default {
|
||||
titlePlaceholder: 'Enter title',
|
||||
contentPlaceholder: 'Supports Markdown. Use # headings, lists, code blocks, etc.'
|
||||
},
|
||||
noDocumentKnowledgeBases: 'No document-type knowledge bases available. Please create one first',
|
||||
status: {
|
||||
draftTag: 'Status: Draft',
|
||||
publishedTag: 'Status: Published',
|
||||
|
||||
Reference in New Issue
Block a user