Merge pull request #1290 from danielaskdd/main

Add description to status dialog
This commit is contained in:
Daniel.y
2025-04-07 04:17:35 +08:00
committed by GitHub
7 changed files with 67 additions and 59 deletions

File diff suppressed because one or more lines are too long

View File

@@ -8,7 +8,7 @@
<link rel="icon" type="image/svg+xml" href="logo.png" /> <link rel="icon" type="image/svg+xml" href="logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lightrag</title> <title>Lightrag</title>
<script type="module" crossorigin src="/webui/assets/index-C_A4jxV8.js"></script> <script type="module" crossorigin src="/webui/assets/index-DXSe8IZZ.js"></script>
<link rel="stylesheet" crossorigin href="/webui/assets/index-QU59h9JG.css"> <link rel="stylesheet" crossorigin href="/webui/assets/index-QU59h9JG.css">
</head> </head>
<body> <body>

View File

@@ -5,6 +5,7 @@ import {
DialogContent, DialogContent,
DialogHeader, DialogHeader,
DialogTitle, DialogTitle,
DialogDescription,
} from '@/components/ui/Dialog' } from '@/components/ui/Dialog'
import StatusCard from './StatusCard' import StatusCard from './StatusCard'
@@ -22,6 +23,9 @@ const StatusDialog = ({ open, onOpenChange, status }: StatusDialogProps) => {
<DialogContent className="sm:max-w-[500px]"> <DialogContent className="sm:max-w-[500px]">
<DialogHeader> <DialogHeader>
<DialogTitle>{t('graphPanel.statusDialog.title')}</DialogTitle> <DialogTitle>{t('graphPanel.statusDialog.title')}</DialogTitle>
<DialogDescription>
{t('graphPanel.statusDialog.description')}
</DialogDescription>
</DialogHeader> </DialogHeader>
<StatusCard status={status} /> <StatusCard status={status} />
</DialogContent> </DialogContent>

View File

@@ -140,7 +140,8 @@
"graphPanel": { "graphPanel": {
"dataIsTruncated": "تم اقتصار بيانات الرسم البياني على الحد الأقصى للعقد", "dataIsTruncated": "تم اقتصار بيانات الرسم البياني على الحد الأقصى للعقد",
"statusDialog": { "statusDialog": {
"title": "إعدادات خادم LightRAG" "title": "إعدادات خادم LightRAG",
"description": "عرض حالة النظام الحالية ومعلومات الاتصال"
}, },
"legend": "المفتاح", "legend": "المفتاح",
"nodeTypes": { "nodeTypes": {

View File

@@ -140,7 +140,8 @@
"graphPanel": { "graphPanel": {
"dataIsTruncated": "Graph data is truncated to Max Nodes", "dataIsTruncated": "Graph data is truncated to Max Nodes",
"statusDialog": { "statusDialog": {
"title": "LightRAG Server Settings" "title": "LightRAG Server Settings",
"description": "View current system status and connection information"
}, },
"legend": "Legend", "legend": "Legend",
"nodeTypes": { "nodeTypes": {

View File

@@ -140,7 +140,8 @@
"graphPanel": { "graphPanel": {
"dataIsTruncated": "Les données du graphe sont tronquées au nombre maximum de nœuds", "dataIsTruncated": "Les données du graphe sont tronquées au nombre maximum de nœuds",
"statusDialog": { "statusDialog": {
"title": "Paramètres du Serveur LightRAG" "title": "Paramètres du Serveur LightRAG",
"description": "Afficher l'état actuel du système et les informations de connexion"
}, },
"legend": "Légende", "legend": "Légende",
"nodeTypes": { "nodeTypes": {

View File

@@ -140,7 +140,8 @@
"graphPanel": { "graphPanel": {
"dataIsTruncated": "图数据已截断至最大返回节点数", "dataIsTruncated": "图数据已截断至最大返回节点数",
"statusDialog": { "statusDialog": {
"title": "LightRAG 服务器设置" "title": "LightRAG 服务器设置",
"description": "查看当前系统状态和连接信息"
}, },
"legend": "图例", "legend": "图例",
"nodeTypes": { "nodeTypes": {