Repository navigation
Conversation
- plainGeo: 期望删掉 legendY 字段(#27 起从返回类型移除) - combo 线标计数: paint-order=stroke 已随 2026-11-03 去描边决定移除(HALO=''), 改用线标自身标识 fill=var(--d-text)+data-series - sankey 节点条计数: 排除 Edit 角标的圆角 rect(fill=var(--d-link)) - 折线穿标签: 从真实贝塞尔采样折线(数据点弦在 Catmull-Rom 拐点误报); 无描边时代按绘制顺序判定 —— 字压线(标签画在线后)可接受,线压字才算遮挡 - echarts: DrawInter 内嵌字体已移除,断言改为系统字体栈;同步更正过时注释
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
main 的 CI 从 2026-11-01 起连续失败(同机对照:最后一个绿提交
f9e4d7a113/113 全过,下一个提交d59790e起转红)。5 处失败全部是对有意的设计改动未同步更新的过期断言,渲染输出本身与系统字体/runner 镜像无关(渲染层是纯函数,textW 用内置 Inter 字宽表)。每处失败的归因与修法
plainGeo期望legendY: 50legendY从PlainGeo返回类型移除,其余 5 个字段不变legendYpaint-order="stroke"HALO='',代码有注释)fill=var(--d-text)+data-series计数height+rx圆角 rect,混入计数fill=var(--d-sN)的节点条18.7k:弦穿、真实贝塞尔不穿);② 去描边后遮挡判定应看绘制顺序 —— 已验证两个「被穿」标签都画在折线之后(字压线,可读),并非缺陷DrawInterui-sans-serif系统栈;同步修正 echarts-ssr 的过时注释验证
npm run check(tsc×3)通过;npm test247/247 全过(修复前 5 失败);node scripts/diagrams.mjs --check通过。渲染代码零改动,只动测试与一处注释。