feat: Add MinIO and graph database status handling with localization updates

- Introduced a new boolean field for MinIO status in the system info API response.
- Updated localization files in English, Russian, and Chinese to include warnings and instructions related to MinIO and graph database configurations.
- Enhanced the KBAdvancedSettings component to display alerts and disable options based on the status of MinIO and graph database.
- Implemented logic to check system status on component mount and adjust settings accordingly.
This commit is contained in:
wizardchen
2025-11-17 11:38:02 +08:00
parent 667239a625
commit da5f71dfd3
9 changed files with 136 additions and 21 deletions
+4 -1
View File
@@ -938,6 +938,7 @@ export default {
minio: 'MinIO',
cos: 'Tencent Cloud COS'
},
minioDisabledWarning: 'MinIO не включен. Автоматически переключено на Tencent Cloud COS. Чтобы использовать MinIO, сначала включите его в конфигурации системы.',
minio: {
bucketLabel: 'Имя Bucket',
bucketDescription: 'Название бакета MinIO (обязательно)',
@@ -978,7 +979,9 @@ export default {
promptPlaceholder: 'Введите текст подсказки',
tagsLabel: 'Теги',
tagsDescription: 'Предопределённые теги сущностей (несколько тегов разделяйте запятыми)',
tagsPlaceholder: 'Введите тег и нажмите Enter'
tagsPlaceholder: 'Введите тег и нажмите Enter',
disabledWarning: 'Графовая база данных не включена. Пожалуйста, сначала включите графовую базу данных, чтобы использовать эту функцию.',
howToEnable: 'Как включить'
}
}
},