Rename patch sidebar to AI reading and drop the disclaimer.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
voson
2026-07-31 10:14:00 +08:00
co-authored by Cursor
parent 3ee4ba7e84
commit 961574037e
8 changed files with 17 additions and 19 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ climperor/
| `web/fetch_item_counter_stats.py` | OpenDota Explorer 近场次聚合:对阵英雄时敌方终局装备购买率/胜率,与同窗口该装备全局队伍基线作差 → `web/data/item_counter_stats.json`(可再生成缓存;观测证据,不作因果结论;weekly 软失败) | | `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/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/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_grid_order.json` | Web 站点四列网格顺序 |
| `web/data/hero_items.json` | 核心成品装备缓存(Web + PC 锁定后核心装推荐只读;由 `fetch_hero_items.py` 生成) | | `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` 生成;**不**参与局内推荐) | | `web/data/hero_stats.json` | 英雄各段位 pick/win + `totals` + `window_*`OpenDota **近约 7 天**;Web「走势」Tab:胜率/上场率/场次;冠绝与超凡样本合并展示;由 `fetch_hero_stats.py` 生成;**不**参与局内推荐) |
+7 -1
View File
@@ -17,11 +17,17 @@
- PC 选将 overlay 不再在顶栏头像下显示定位图标;仍保留网格「克/搭/补」与阵容分析条。 - PC 选将 overlay 不再在顶栏头像下显示定位图标;仍保留网格「克/搭/补」与阵容分析条。
## [0.6.14] - 2026-07-31
### Changed
- 版本页侧栏标题改为「AI 解读」,去掉「非官方 · 社区摘要」副标。
## [0.6.13] - 2026-07-31 ## [0.6.13] - 2026-07-31
### Fixed ### Fixed
- 版本页「版本解读」:`max-height` 按顶栏留白(`100dvh - 9rem`),sticky 面板不再伸出视口,主栏未滚到底也能独立滚完解读全文。 - 版本页「AI 解读」:`max-height` 按顶栏留白(`100dvh - 9rem`),sticky 面板不再伸出视口,主栏未滚到底也能独立滚完解读全文。
## [0.6.12] - 2026-07-31 ## [0.6.12] - 2026-07-31
+1 -1
View File
@@ -267,7 +267,7 @@ components:
| 档位 | 宽度 | 页面 | | 档位 | 宽度 | 页面 |
|------|------|------| |------|------|------|
| full | 100% | 英雄网格 | | full | 100% | 英雄网格 |
| read | 主列 `min(820px)` 页内居中;宽屏解读贴主列右侧(不参与居中),sticky + 视口内自滚动 | 版本 | | read | 主列 `min(820px)` 页内居中;宽屏「AI 解读贴主列右侧(不参与居中),sticky + 视口内自滚动 | 版本 |
| standard | `min(880px, calc(100% - 48px))` | 排行、主播、机制 | | standard | `min(880px, calc(100% - 48px))` | 排行、主播、机制 |
| wide | `min(1080px, …)` | 走势 | | wide | `min(1080px, …)` | 走势 |
| data | `min(1200px, …)`(居中时两侧预留侧栏) | 比赛 | | data | `min(1200px, …)`(居中时两侧预留侧栏) | 比赛 |
+1 -1
View File
@@ -55,7 +55,7 @@ from shared.paths import (
from seo_prerender import DEFAULT_SITE_ORIGIN, write_seo_bundle from seo_prerender import DEFAULT_SITE_ORIGIN, write_seo_bundle
from serve_relations import WEB_DIR, build_payload 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" DEFAULT_OSS_BASE = "https://climperor.oss-cn-shanghai.aliyuncs.com"
+1 -2
View File
@@ -3866,8 +3866,7 @@ function renderPatchAside(version) {
aside.innerHTML = ` aside.innerHTML = `
<div class="patch-summary ui-panel"> <div class="patch-summary ui-panel">
<div class="patch-summary-head"> <div class="patch-summary-head">
<h3 class="patch-summary-title">版本解读</h3> <h3 class="patch-summary-title">AI 解读</h3>
<p class="patch-summary-disclaimer">非官方 · 社区摘要</p>
</div> </div>
${body} ${body}
</div>`; </div>`;
+1 -1
View File
@@ -1,5 +1,5 @@
/* Local defaults; production export overwrites via export_relations_site.py. */ /* 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 SITE_ORIGIN = "";
var ABILITY_VIDEO_BASE = ""; var ABILITY_VIDEO_BASE = "";
var STATIC_ASSET_BASE = ""; var STATIC_ASSET_BASE = "";
+5 -5
View File
@@ -43,8 +43,8 @@
} }
</script> </script>
<link rel="icon" href="/ui-icon/dota2_logo.png" type="image/png" /> <link rel="icon" href="/ui-icon/dota2_logo.png" type="image/png" />
<link rel="stylesheet" href="/style.css?v=0.6.13" /> <link rel="stylesheet" href="/style.css?v=0.6.14" />
<script src="/mobile-gate.js?v=0.6.13"></script> <script src="/mobile-gate.js?v=0.6.14"></script>
</head> </head>
<body> <body>
<h1 class="sr-only">DOTA2 上分帝</h1> <h1 class="sr-only">DOTA2 上分帝</h1>
@@ -240,8 +240,8 @@
</div> </div>
<footer class="heroes-site-foot" id="heroes-site-foot" aria-hidden="true"></footer> <footer class="heroes-site-foot" id="heroes-site-foot" aria-hidden="true"></footer>
<script src="/config.js?v=0.6.13"></script> <script src="/config.js?v=0.6.14"></script>
<script src="/router.js?v=0.6.13"></script> <script src="/router.js?v=0.6.14"></script>
<script src="/app.js?v=0.6.13"></script> <script src="/app.js?v=0.6.14"></script>
</body> </body>
</html> </html>
-7
View File
@@ -2943,13 +2943,6 @@ body:has(#items-view:not(.hidden)) {
letter-spacing: 0.02em; letter-spacing: 0.02em;
line-height: var(--lh-tight); 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 { .patch-summary-headline {
margin: 0; margin: 0;
font-size: var(--fs-body-sm); font-size: var(--fs-body-sm);