Repository navigation
feat(charts): distinguish Huawei in amber / 为 Huawei 图表统一琥珀色标识 - #1508
Merged
Merged
Conversation
中文:为 Huawei 图表统一琥珀色标识。OperatorX、ubenchX 和共享配色逻辑使用同一套明暗主题颜色,统一图例与提示框,并补充浏览器回归测试。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Bugbot is paused — your team has an unpaid invoiceBugbot is paused because your team has an unpaid invoice. Pay it from the billing page in the Cursor dashboard and Bugbot resumes automatically. (requestId: 6cd6bcfb-4896-4277-97df-0adf77979bc6) |
4 tasks done
This branch was successfully deployed
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.
Huawei currently uses crimson in OperatorX and red in ubenchX, making it easy to confuse with AMD. Give Huawei a shared amber/gold palette across the app, with darker amber in light mode and brighter gold in dark mode.
OperatorX, ubenchX, legends, and tooltips now share the same color source. Normal, date-comparison, and high-contrast generators recognize Huawei/Ascend keys; high-contrast palettes reserve the amber range when Huawei is present. Benchmark values and API contracts are unchanged. Numeric heatmap scales and brand artwork retain their existing colors.
Browser validation passed: 24 OperatorX/ubenchX tests, including a live light-to-dark switch and tooltip/legend consistency. The full component and integration smoke suites also passed, including existing unofficial-run overlay tests.
AI model disclosure
PR checklist
中文
Huawei 在 OperatorX 和 ubenchX 中使用的红色容易与 AMD 混淆。本次统一为琥珀色/金色:浅色主题使用较深的琥珀色,深色主题使用较亮的金色。
OperatorX、ubenchX、图例和提示框共用配色来源。普通配色、日期对比和高对比度配色均识别 Huawei/Ascend;出现 Huawei 时,高对比度配色会为其保留琥珀色色域。实测数据和 API 契约不变,数值热力图色阶及品牌图案保持原样。
24 项 OperatorX/ubenchX 浏览器测试通过,覆盖明暗主题实时切换以及图例、提示框的颜色一致性。完整组件与集成 smoke 测试也通过,包括现有非官方运行数据叠加测试。
AI 模型:Codex 运行环境未提供可核实的精确模型标识。AI 参与实现、回归测试、视觉检查和 PR 编写,未委派其他 agent。