本地化 dashboard 并新增架构库面板
这个提交包含在:
@@ -423,7 +423,7 @@ async function openArtifact(href, label, kind) {
|
||||
}
|
||||
viewer.innerHTML = `<pre>${escapeHtml(formatted)}</pre>`;
|
||||
} catch (error) {
|
||||
viewer.innerHTML = `<pre>加载 artifact 失败:${escapeHtml(error.message)}</pre>`;
|
||||
viewer.innerHTML = `<pre>加载产物失败:${escapeHtml(error.message)}</pre>`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
<label class="field">
|
||||
<span>Profile</span>
|
||||
<select id="profileFilter" class="filter-select">
|
||||
<option value="">全部 Profile</option>
|
||||
<option value="">全部复现档案</option>
|
||||
</select>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
@@ -220,7 +220,7 @@ def _build_architecture_data(summary: Dict[str, Any], source_map: Dict[str, Any]
|
||||
_link("项目功能文档", "./docs/project-features.html", "项目能力、目录结构与自动化链路总览。"),
|
||||
_link("前端设计文档", "./docs/frontend-dashboard-design.html", "当前本地工作台的交互与视觉规范。"),
|
||||
_link("安全编码索引", "./docs/secure-code-index.html", "secure-code 修复库本地镜像。"),
|
||||
_link("README 镜像", "./docs/root-readme.html", "仓库根 README 的本地镜像。"),
|
||||
_link("仓库入口镜像", "./docs/root-readme.html", "仓库根 README 的本地镜像。"),
|
||||
_link("授权模型", "./docs/authorization-model.html", "允许目标范围、全局原则与记录要求。"),
|
||||
_link("source-map 真值", "./docs/source-map.html", "系统覆盖、来源和输出目录真值。"),
|
||||
_link("repro-map 真值", "./docs/repro-map.html", "复现族路由、浏览器要求和日志策略。"),
|
||||
@@ -404,7 +404,7 @@ def _build_architecture_data(summary: Dict[str, Any], source_map: Dict[str, Any]
|
||||
],
|
||||
"links": [
|
||||
_link("授权模型镜像", "./docs/authorization-model.html", "目标分类、原则与记录要求。"),
|
||||
_link("项目 README 镜像", "./docs/root-readme.html", "仓库定位、能力矩阵与自动化入口。"),
|
||||
_link("仓库入口镜像", "./docs/root-readme.html", "仓库定位、能力矩阵与自动化入口。"),
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -696,7 +696,7 @@ def _write_dashboard_docs(architecture: Dict[str, Any]) -> None:
|
||||
),
|
||||
(
|
||||
"root-readme.html",
|
||||
"仓库 README 镜像",
|
||||
"仓库入口镜像",
|
||||
(ROOT / "README.md").read_text(encoding="utf-8"),
|
||||
"工作台内置镜像页:仓库定位、能力矩阵、入口和自动化入口。",
|
||||
),
|
||||
|
||||
在新工单中引用
屏蔽一个用户