Skip to content

release(1.x.x): v0.6.8 → v0.6.9 —— Overview 趋势页签更名 - #324

Merged
ThreeFish-AI merged 6 commits into
masterfrom
feature/1.x.x
Dec 1, 2026
Merged

ThreeFish-AI merged 6 commits into
masterfrom
feature/1.x.x

Conversation

@ThreeFish-AI

Copy link
Copy Markdown
Owner

发布内容

将 feature/1.x.x 自 v0.6.8 以来的变更合入 master,作为 v0.6.9 发布基线:

  • feat(Dashboard) Overview 趋势页签更名(feat(Dashboard): 趋势页签更名为「Requests」「Token / Vendor」「Token / Model」 #323):「请求量」「Token(按供应商)」「Token(Vendor / 模型)」改为 Requests、Token / Vendor、Token / Model,页签条总宽由 378px 收到 316px;同时给 .trend-tab 钉 line-height: 18px,页签行高与右侧「近 N 天」的基线保持更名前的样子
  • docs:docs/guide/dashboard.md 的图表表同步改名;README 首图按更名后的页签重拍,版本徽标更新为 v0.6.9

共 1 个 feature PR(以 merge commit 合入,保留独立提交)。预合并提交 8e7f7dc 已把 master 的 v0.6.8 版本提交带入 feature/1.x.x。

验证

  • 预合并后的 feature/1.x.x:全量 pytest 2284 passed。
  • 预合并门禁:git diff origin/master 8e7f7dc -- pyproject.toml CHANGELOG.md 为空;相对合并前的 feature/1.x.x 头(1e0a32f)只多 pyproject.toml 与 CHANGELOG.md 两个文件。
  • 首图徽标重拍后与上一张逐像素比较,只差 128 个像素,全在版本徽标处。
  • feat(Dashboard): 趋势页签更名为「Requests」「Token / Vendor」「Token / Model」 #323 自身的验证:隔离实例加 mock 数据,在 390 到 1440 的 7 个视口宽度下,更名前后页签行高、基线位置逐项一致;390px 仍折两行,其余宽度单行且无横向滚动;首图与更名前页面同环境截图相比,只差页签文字与选中下划线(8,076 像素)。

发布计划

  1. 本 PR merge commit 合入 master
  2. release/v0.6.9 分支做版本 bump(0.6.8 → 0.6.9)+ CHANGELOG
  3. tag v0.6.9 + prerelease Release 触发发布流水线

风险与注意

🤖 Generated with Claude Code

ThreeFish-AI and others added 6 commits December 1, 2026 15:44
页签文案由「请求量」「Token(按供应商)」「Token(Vendor / 模型)」改为英文,页签条总宽由 378px 收到 316px:390px 视口仍折成两行,其余视口单行且不出横向滚动。

更名后页签行矮了 2px(38px 到 36px),页签文字与右侧「近 N 天」的基线错开 1px。行高为 normal 时含汉字的标签行盒 18px,纯拉丁标签只有 16px,页签行高跟着文案语言变。给 .trend-tab 钉 line-height: 18px:390 到 1440 的 7 个视口宽度下,改前改后的页签行高与基线位置逐项一致,测试钉住这条声明。文档的图表表同步改名。

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
截图改用 Playwright 自带的 headless-shell 加本地字体快照,两次截图逐字节一致,尺寸仍为 2880×2538。与改前页面在同一环境下的截图相比,差异只在页签文字与选中下划线的长度(8,076 像素,包围盒 x 114–804、y 1730–1783)。

与入库首图相比,除页签外还有 JetBrains Mono 文字的差异(24,051 像素,字形略粗)。换浏览器内核或字体格式都复现不出入库图的字形,应是 11-28 截图时取到的字体文件不同;页面其余部分逐像素一致。

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5a89934 重拍的首图里 JetBrains Mono 加载成功,数值与名称的字形随之变了,这不属于页签更名。旧首图是在 JetBrains Mono 没加载上时截的,等宽文字走系统回退的 monospace:给改前页面拦掉 Google Fonts 请求重截,与旧首图逐字节相同(2880×2538,0 像素差异)。本次首图按同一口径重截,与旧首图相比只有页签文字与选中下划线的长度不同(8,076 像素,包围盒 x 114–804、y 1730–1783),其余逐像素一致。

5a89934 提交信息里「旧图的字体文件版本不同、复现不了」的说明有误,以本提交为准;历史按规约不改写。

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(Dashboard): 趋势页签更名为「Requests」「Token / Vendor」「Token / Model」
🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ThreeFish-AI
ThreeFish-AI merged commit 602b26d into master Dec 1, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant