From e8af5b906c7cf630d3a6fd9a6bdcc596e0f9cbe5 Mon Sep 17 00:00:00 2001 From: wangwei Date: Wed, 17 Jun 2026 11:18:01 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20remove=20API=20docs=20iframe=20nav=20i?= =?UTF-8?q?tem,=20rename=20title=20to=20RAGAS=20=E8=AF=84=E4=BC=B0?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/static/css/app.css | 8 -------- webapp/static/index.html | 16 +--------------- webapp/static/js/app.js | 4 ++-- 3 files changed, 3 insertions(+), 25 deletions(-) diff --git a/webapp/static/css/app.css b/webapp/static/css/app.css index 0b1a7ca..4dfe8c0 100644 --- a/webapp/static/css/app.css +++ b/webapp/static/css/app.css @@ -308,14 +308,6 @@ table.group-table td { border-bottom: 1px solid #f1f5f9; font-variant-numeric: t .llm-role-label { font-size: 13px; font-weight: 600; min-width: 180px; color: var(--ink); } .llm-role-select { min-width: 240px; } -/* ---------- API 文档 iframe ---------- */ -#view-apidocs { padding: 0; display: flex; flex-direction: column; flex: 1; } -.apidocs-frame { - flex: 1; - width: 100%; - height: calc(100vh - 64px); /* 64px = topbar 高度 */ - border: none; -} .report-actions { display: flex; justify-content: flex-end; margin: 0 0 12px; } diff --git a/webapp/static/index.html b/webapp/static/index.html index 67defaf..10764b9 100644 --- a/webapp/static/index.html +++ b/webapp/static/index.html @@ -3,7 +3,7 @@ - Siemens RAGAS 评估控制台 + RAGAS 评估控制台 @@ -28,9 +28,6 @@ - - - - diff --git a/webapp/static/js/app.js b/webapp/static/js/app.js index a127244..485c920 100644 --- a/webapp/static/js/app.js +++ b/webapp/static/js/app.js @@ -5,8 +5,8 @@ const App = { currentRunId: null, activeView: null, - views: ["runs", "new", "report", "profiles", "apidocs"], - titles: { runs: "运行列表", new: "新建评估", report: "报告详情", profiles: "LLM 配置", apidocs: "API 文档" }, + views: ["runs", "new", "report", "profiles"], + titles: { runs: "运行列表", new: "新建评估", report: "报告详情", profiles: "LLM 配置" }, // 初始化:绑定导航、从 URL/sessionStorage 恢复上次位置、启动健康检查。 init() {