Skip to content

Add CollectiveX KV axis scale toggles / 新增 CollectiveX KV 坐标轴缩放开关 - #949

Merged
Oseltamivir merged 1 commit into
masterfrom
feat/collectivex-kv-axis-scales
Aug 30, 2026
Merged

Add CollectiveX KV axis scale toggles / 新增 CollectiveX KV 坐标轴缩放开关#949
Oseltamivir merged 1 commit into
masterfrom
feat/collectivex-kv-axis-scales

Conversation

@Oseltamivir

@Oseltamivir Oseltamivir commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add independent X-axis and Y-axis Log Scale switches to the CollectiveX KV legend, following the /inference Advanced-control pattern.
  • Preserve the existing log-log defaults and carry the selected scales between the standard and Envelope KV views.
  • Reduce standard KV line width from 2.25px to 1.75px and Envelope line width from 2.5px to 2px.
  • Localize the new controls and dynamic axis labels for /zh/collectivex.

Testing

  • bun run fmt
  • bun run lint
  • bun run typecheck
  • bun run test:unit (5,297 tests)
  • bunx cypress run --spec cypress/e2e/collectivex.cy.ts (33 tests)
  • bun run test:e2e (117 tests)

Chinese copy was checked manually against docs/chinese-copy.md because the referenced review-zh-copy skill was not available in this session.

中文说明

概要

  • 参照 /inference 图表的高级设置,在 CollectiveX KV 图例中新增 X 轴和 Y 轴两个独立的对数缩放开关。
  • 保留现有的双对数默认设置,并在标准 KV 图表与带宽包络图之间沿用用户选择的坐标轴设置。
  • 标准 KV 图表的曲线线宽由 2.25px 调整为 1.75px,带宽包络图的曲线线宽由 2.5px 调整为 2px。
  • /zh/collectivex 补充新控件和动态坐标轴标签的中文文案。

测试

  • bun run fmt
  • bun run lint
  • bun run typecheck
  • bun run test:unit(5,297 项测试)
  • bunx cypress run --spec cypress/e2e/collectivex.cy.ts(33 项测试)
  • bun run test:e2e(117 项测试)

由于本次会话未提供文档中提到的 review-zh-copy skill,中文文案已参照 docs/chinese-copy.md 完成人工检查。

@Oseltamivir
Oseltamivir requested a review from adibarra as a code owner August 30, 2026 04:38
@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
inferencemax-app Ready Ready Preview Aug 30, 2026 5:49am

Request Review

@Oseltamivir
Oseltamivir force-pushed the feat/collectivex-kv-axis-scales branch from 4d5cbc7 to 36e2988 Compare August 30, 2026 05:37
@Oseltamivir
Oseltamivir changed the base branch from master to collectivex-kv-frontier August 30, 2026 05:38
Base automatically changed from collectivex-kv-frontier to master August 30, 2026 05:39
Add independent X/Y log-scale controls to the KV chart legend and preserve the existing log-log defaults across chart modes.

Reduce KV series stroke widths and cover scale switching, localization, and line styling in Cypress.

中文:为 CollectiveX KV 图表新增 X/Y 轴独立对数缩放开关,并在不同图表模式下保留原有 log-log 默认设置。

同时减小曲线线宽,并通过 Cypress 覆盖坐标轴切换、中文文案和曲线样式。
@Oseltamivir
Oseltamivir force-pushed the feat/collectivex-kv-axis-scales branch from 36e2988 to b04b4e5 Compare August 30, 2026 05:48
@Oseltamivir
Oseltamivir merged commit 6a01a76 into master Aug 30, 2026
24 checks passed
@Oseltamivir
Oseltamivir deleted the feat/collectivex-kv-axis-scales branch August 30, 2026 05:54
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