Skip to content

fix(vchart): refresh markPoint text colors when switching themes - #4751

Open
xile611 wants to merge 2 commits into
developfrom
codex/fix-4364-mark-point-theme
Open

xile611 wants to merge 2 commits into
developfrom
codex/fix-4364-mark-point-theme

Conversation

@xile611

@xile611 xile611 commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

关联 Issue

Fixes #4364

修复内容

  • 普通 markPoint 文字在未指定颜色时使用当前主题的 primaryFontColor。
  • 初次渲染和运行时更新共用文字样式转换,并更新 VRender 实际读取的样式。主题切换保留显式颜色和格式化文本,复用现有图表及标注组件。

验证

  • 原始 Playground 配置复测通过。两处标注的颜色随浅色、深色、浅色往返切换。
  • mark-point、update-spec、update-effects 共 161 项单测通过。推送钩子的包级测试重跑通过。
  • node packages/vchart/scripts/visual-test.mjs 完成 274 个用例,基线为官方 develop 的 6869036f4。272 个无差异,0 个执行错误。逐图核查了预期差异:mark-point-theme-switch 的深色标签(142 px)和 marker-polar-coordinates 的浅色标签(1704 px)。差异均来自默认文字颜色接入主题色板。

VisActor 工作流(CN):blocked

当前提交:411fcb61d8cdb673094fe56d8b14bc34483ec095

三项检查建议与 BugServer 人工确认

@visactor-review-bot

visactor-review-bot Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

VisActor 工作流

结论:流程受阻,请处理待办事项。
当前提交:411fcb6;比较基线:6e633ae。
环境:CN;更新时间:2026-11-27 12:20:49(UTC+8)。

检查项 状态 关键结果
CR ✅ passed 待处理 0;接受风险 0 查看结果
单测 ✅ passed 必要单测 job 必须实际执行并成功 查看结果
Playwright ⚠️ blocked 尚未执行;冻结全量用例清单或摘要不符
Photo(原 BugServer / UNIC) ⏳ pending —

Photo 独立报告:流程完成不代表 Photo 通过。 差异解释不决定接受;合入前保存的选择可在人工 Merge 后更新基准,Photo 不阻断合入。

请核对 BugServer 默认全选清单,改选后保存,再手动 Merge;Approve 可选,仅记录操作。
Bot 仅提供 CR、单测、Playwright 三项检查建议,不强制阻止合入。
未 Approve,可直接 Merge。

Photo 基准选择尚未保存;不影响三项检查建议或人工合入。
等待完整报告及逐项解释;没有有效授权时不更新基准。

图片差异解释(0 项)

暂无已解释差异。

合入后 Photo 基准更新清单

没有已授权的基准更新。

版本与合入后状态

当前提交:411fcb61d8cdb673094fe56d8b14bc34483ec095;比较基线:6e633ae207ee594f676a0c71ae28d4cb5ee747cb。

CN 结果仅证明上述实际范围;完整报告和原始差异继续保留。

@visactor-review-bot visactor-review-bot Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

最新复查提交: 411fcb6

未发现可确认的新问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] markPoint cannot change color following the theme

1 participant