From 961574037e497e1d9fd4cf31455da9a18118e30d Mon Sep 17 00:00:00 2001 From: voson Date: Fri, 31 Jul 2026 10:14:00 +0800 Subject: [PATCH] Rename patch sidebar to AI reading and drop the disclaimer. Co-authored-by: Cursor --- AGENTS.md | 2 +- CHANGELOG.md | 8 +++++++- DESIGN.md | 2 +- web/export_relations_site.py | 2 +- web/frontend/app.js | 3 +-- web/frontend/config.js | 2 +- web/frontend/index.html | 10 +++++----- web/frontend/style.css | 7 ------- 8 files changed, 17 insertions(+), 19 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 974fb7d..ed15a53 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -104,7 +104,7 @@ climperor/ | `web/fetch_item_counter_stats.py` | OpenDota Explorer 近场次聚合:对阵英雄时敌方终局装备购买率/胜率,与同窗口该装备全局队伍基线作差 → `web/data/item_counter_stats.json`(可再生成缓存;观测证据,不作因果结论;weekly 软失败) | | `web/item_fears.py` | 规则推导「英雄怕的装备」→ `web/data/hero_item_fears.json`;可选读取 `item_counter_stats.json`,对全部英雄的已有机制候选小幅调序;统计发现的新组合须经机制复核后写入 overrides | | `web/data/patches.json` | 近一年版本列表 + 逐版本详情(`patches`/`lookup`/`details`;由 `fetch_patches.py` 生成,Web 版本页只读) | -| `web/data/patch_summaries.json` | 手写「版本解读」(仅保留最新版条目;Cursor 审阅后写入;进 `INPUT_WATCH`;**不**进定时生成 / recommend) | +| `web/data/patch_summaries.json` | 手写「AI 解读」(仅保留最新版条目;Cursor 审阅后写入;进 `INPUT_WATCH`;**不**进定时生成 / recommend) | | `web/data/hero_grid_order.json` | Web 站点四列网格顺序 | | `web/data/hero_items.json` | 核心成品装备缓存(Web + PC 锁定后核心装推荐只读;由 `fetch_hero_items.py` 生成) | | `web/data/hero_stats.json` | 英雄各段位 pick/win + `totals` + `window_*`(OpenDota **近约 7 天**;Web「走势」Tab:胜率/上场率/场次;冠绝与超凡样本合并展示;由 `fetch_hero_stats.py` 生成;**不**参与局内推荐) | diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ce8b07..6e97fcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,11 +17,17 @@ - PC 选将 overlay 不再在顶栏头像下显示定位图标;仍保留网格「克/搭/补」与阵容分析条。 +## [0.6.14] - 2026-07-31 + +### Changed + +- 版本页侧栏标题改为「AI 解读」,去掉「非官方 · 社区摘要」副标。 + ## [0.6.13] - 2026-07-31 ### Fixed -- 版本页「版本解读」:`max-height` 按顶栏留白(`100dvh - 9rem`),sticky 面板不再伸出视口,主栏未滚到底也能独立滚完解读全文。 +- 版本页「AI 解读」:`max-height` 按顶栏留白(`100dvh - 9rem`),sticky 面板不再伸出视口,主栏未滚到底也能独立滚完解读全文。 ## [0.6.12] - 2026-07-31 diff --git a/DESIGN.md b/DESIGN.md index 27609e9..dc3ab01 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -267,7 +267,7 @@ components: | 档位 | 宽度 | 页面 | |------|------|------| | full | 100% | 英雄网格 | -| read | 主列 `min(820px)` 页内居中;宽屏解读贴主列右侧(不参与居中),sticky + 视口内自滚动 | 版本 | +| read | 主列 `min(820px)` 页内居中;宽屏「AI 解读」贴主列右侧(不参与居中),sticky + 视口内自滚动 | 版本 | | standard | `min(880px, calc(100% - 48px))` | 排行、主播、机制 | | wide | `min(1080px, …)` | 走势 | | data | `min(1200px, …)`(居中时两侧预留侧栏) | 比赛 | diff --git a/web/export_relations_site.py b/web/export_relations_site.py index 38176fe..c7d6499 100644 --- a/web/export_relations_site.py +++ b/web/export_relations_site.py @@ -55,7 +55,7 @@ from shared.paths import ( from seo_prerender import DEFAULT_SITE_ORIGIN, write_seo_bundle from serve_relations import WEB_DIR, build_payload -SITE_VERSION = "0.6.13" +SITE_VERSION = "0.6.14" DEFAULT_OSS_BASE = "https://climperor.oss-cn-shanghai.aliyuncs.com" diff --git a/web/frontend/app.js b/web/frontend/app.js index eb71bcd..4b95d18 100644 --- a/web/frontend/app.js +++ b/web/frontend/app.js @@ -3866,8 +3866,7 @@ function renderPatchAside(version) { aside.innerHTML = `
-

版本解读

-

非官方 · 社区摘要

+

AI 解读

${body}
`; diff --git a/web/frontend/config.js b/web/frontend/config.js index 749870e..eb89843 100644 --- a/web/frontend/config.js +++ b/web/frontend/config.js @@ -1,5 +1,5 @@ /* Local defaults; production export overwrites via export_relations_site.py. */ -var SITE_VERSION = "0.6.13"; +var SITE_VERSION = "0.6.14"; var SITE_ORIGIN = ""; var ABILITY_VIDEO_BASE = ""; var STATIC_ASSET_BASE = ""; diff --git a/web/frontend/index.html b/web/frontend/index.html index 6de800c..b5314b2 100644 --- a/web/frontend/index.html +++ b/web/frontend/index.html @@ -43,8 +43,8 @@ } - - + +

DOTA2 上分帝

@@ -240,8 +240,8 @@
- - - + + + diff --git a/web/frontend/style.css b/web/frontend/style.css index 3259b1a..4a3c3cd 100644 --- a/web/frontend/style.css +++ b/web/frontend/style.css @@ -2943,13 +2943,6 @@ body:has(#items-view:not(.hidden)) { letter-spacing: 0.02em; line-height: var(--lh-tight); } -.patch-summary-disclaimer { - margin: 0; - font-size: var(--fs-label); - font-weight: var(--fw-medium); - color: var(--muted); - line-height: 1.35; -} .patch-summary-headline { margin: 0; font-size: var(--fs-body-sm);