Skip to content

Commit f887aa8

Browse files
committed
ui optimization
1 parent a65ca2e commit f887aa8

23 files changed

Lines changed: 2005 additions & 1438 deletions

frontend/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" href="/favicon.ico" />
5+
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
6+
<link rel="alternate icon" href="/favicon.ico" />
67
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
78
<link rel="preconnect" href="https://fonts.googleapis.com" />
89
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
910
<link
10-
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Exo+2:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap"
11+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Exo+2:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap"
1112
rel="stylesheet"
1213
/>
1314
<title>LMeterX</title>

frontend/package-lock.json

Lines changed: 53 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
"antd": "^5.11.5",
2222
"axios": "^1.6.2",
2323
"dayjs": "^1.11.10",
24+
"echarts": "^6.0.0",
25+
"echarts-for-react": "^3.0.6",
2426
"html2canvas": "^1.4.1",
2527
"i18next": "^25.3.2",
2628
"i18next-browser-languagedetector": "^8.2.0",

frontend/public/favicon.svg

Lines changed: 13 additions & 0 deletions
Loading

frontend/public/locales/en/translation.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,12 @@
7676
"filterMine": "Mine",
7777
"filterAll": "All",
7878
"deleteRunningBlocked": "Please stop the task and wait for it to finish before deleting.",
79-
"copyError": "Failed to load task details"
79+
"copyError": "Failed to load task details",
80+
"goToCompare": "Compare",
81+
"selectedCount": "{{count}} selected",
82+
"selectMinForCompare": "Please select 2-5 tasks to compare",
83+
"selectMaxForCompare": "Maximum 5 tasks can be selected for comparison",
84+
"clearSelection": "Clear Selection"
8085
},
8186
"results": {
8287
"title": "Test Results",

frontend/public/locales/zh/translation.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,12 @@
7676
"filterMine": "当前用户",
7777
"filterAll": "全部",
7878
"deleteRunningBlocked": "请先停止任务并等待任务完成后再删除",
79-
"copyError": "加载任务详情失败"
79+
"copyError": "加载任务详情失败",
80+
"goToCompare": "去对比",
81+
"selectedCount": "已选 {{count}} 个",
82+
"selectMinForCompare": "请选择2-5个任务进行对比",
83+
"selectMaxForCompare": "最多只能选择5个任务进行对比",
84+
"clearSelection": "清除勾选"
8085
},
8186
"results": {
8287
"title": "测试结果",

0 commit comments

Comments
 (0)