Skip to content

feat(charts): distinguish Huawei in amber / 为 Huawei 图表统一琥珀色标识 - #1508

Merged
Oseltamivir merged 1 commit into
masterfrom
feat/huawei-shared-chart-color
Oct 26, 2026
Merged

Oseltamivir merged 1 commit into
masterfrom
feat/huawei-shared-chart-color

Conversation

@Oseltamivir

Copy link
Copy Markdown
Contributor

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
  • Model/version: The exact model identifier was not exposed by the Codex runtime and could not be verified.
  • Role: Implementation, regression tests, visual review, and PR preparation. No delegated agents contributed.
PR checklist
  • AI model disclosure is complete.
  • Skills documentation records this presentation-only change; no API contract changes are needed.
  • No indexable pages or Chinese UI copy changed.
中文

Huawei 在 OperatorX 和 ubenchX 中使用的红色容易与 AMD 混淆。本次统一为琥珀色/金色:浅色主题使用较深的琥珀色,深色主题使用较亮的金色。

OperatorX、ubenchX、图例和提示框共用配色来源。普通配色、日期对比和高对比度配色均识别 Huawei/Ascend;出现 Huawei 时,高对比度配色会为其保留琥珀色色域。实测数据和 API 契约不变,数值热力图色阶及品牌图案保持原样。

24 项 OperatorX/ubenchX 浏览器测试通过,覆盖明暗主题实时切换以及图例、提示框的颜色一致性。完整组件与集成 smoke 测试也通过,包括现有非官方运行数据叠加测试。

AI 模型:Codex 运行环境未提供可核实的精确模型标识。AI 参与实现、回归测试、视觉检查和 PR 编写,未委派其他 agent。

中文:为 Huawei 图表统一琥珀色标识。OperatorX、ubenchX 和共享配色逻辑使用同一套明暗主题颜色,统一图例与提示框,并补充浏览器回归测试。
@Oseltamivir
Oseltamivir requested a review from adibarra as a code owner October 26, 2026 15:12
@vercel

vercel Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
inferencemax-app Ready Ready Preview Oct 26, 2026 3:13pm UTC

Request Review

@cursor

cursor Bot commented Oct 26, 2026

Copy link
Copy Markdown

Bugbot is paused — your team has an unpaid invoice

Bugbot 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)

@Oseltamivir
Oseltamivir merged commit 0e3f197 into master Oct 26, 2026
37 checks passed
@Oseltamivir
Oseltamivir deleted the feat/huawei-shared-chart-color branch October 26, 2026 15:29

This branch was successfully deployed

1 active deployment
Preview — a0c40efb Deployed Oct 26, 2026 by vercel[bot]
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