[7/N] fix(zh): localize data and tool pages / 完善数据与工具页面中文本地化 - #838
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished @edwingao28's task in 7m 1s —— View job Claude review — ✅ complete
🟢 LGTM — no blocking issues foundThis is a large but clean localization PR. I reviewed the logic-bearing changes and verified the changed screens render at runtime against the real read-only DB. Static review — no bugs found. Spot-checked the risk areas:
Runtime verification (Playwright, real DB):
Test coverage: new functions ship with tests ( Chinese copy (advisory): the changed strings read as natural, accurate technical Chinese; terminology upgrades ( CI: |
c530f07 to
58c8d9f
Compare
|
Claude finished @edwingao28's task in 2m 37s —— View job Re-review — latest push (
|
This comment has been minimized.
This comment has been minimized.
|
Claude finished @edwingao28's task in 2m 15s —— View job Re-review — latest push (
|
|
Claude finished @edwingao28's task in 1m 17s —— View job Re-review (ready-for-review) — 🟢 LGTM, no new blocking issues
No new commits since my last review. HEAD is still CI — now green on this commit. The pending item from earlier reviews is resolved:
Runtime verification (Playwright, real DB): Two open findings remain — both previously flagged, both non-blocking, still unaddressed in the code:
Chinese copy (advisory): no new strings since the last pass; prior review found the touched copy natural and accurate. Nothing requires maintainer escalation. The PR's remaining self-declared item — regenerating Cypress |
d45082c to
474efa3
Compare
|
Claude finished @edwingao28's task in 2m 22s —— View job Re-review — latest commit (
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 474efa3. Configure here.
Rewrite Reliability, Submissions, Historical, CollectiveX, AI Chart, and Feedback surfaces with complete locale-aware states, accessibility copy, safe errors, analytics, and responsive E2E coverage. 中文:完整重写可靠性、提交记录、历史趋势、CollectiveX、AI 图表与反馈相关界面的中文文案,并补齐状态提示、无障碍文案、安全错误处理、交互分析及响应式端到端测试。
Propagate secondary query retry state, preserve feedback modal ARIA labels, format date-only tooltips in UTC, and make reliability failures recoverable. 中文:补齐中文数据页面的错误恢复流程,修复反馈弹窗无障碍标签、UTC 日期格式与可靠性重试。
- nudge-system: keep the feedback-modal snooze keys out of the shared clearAllNudgeStorage helper — clearing them un-snoozed the support-file seed and let the immediate feedback modal claim the overlay slot, suppressing the reproducibility/filter-hint toasts in every other test. The accessibility test now clears those keys in its own onBeforeLoad. - zh-pages: the first table row (sorted by datapoints) is an aggregate deployment, so assert the 聚合推理 detail labels there and expand a disaggregated Mooncake ATOMesh row for the 预填充/解码 labels; make the error/retry intercept fail until the retry button is actually clicked instead of counting attempts (race-prone with query retries). - historical-trends: surface the error card before the loading skeleton in HistoricalTrendsDisplay — a failed benchmark query never produces rows, so the loading flag (which includes "no rows yet") pinned the page on the skeleton forever and 历史基准测试数据加载失败。 never rendered.
Address the valid accessibility and workflow-status review findings, refine the remaining Chinese data-tool copy, preserve English behavior, and record observed Cypress timings for the rebalanced specs.\n\n中文:处理有效的无障碍与工作流状态审查意见,完成数据与工具页面的中文文案终审,保持英文页面行为不变,并记录调整后 Cypress 测试的实测时长。
474efa3 to
41176c0
Compare
|
Claude finished @edwingao28's task in 1m 55s —— View job Re-review — latest commit (
|
…复失效断言 - drop query-state unit tests duplicated end-to-end by the retry e2e specs - drop 390px viewport arms (no breakpoint between 375 and 390) - drop zh success-label component dup and intercept prompt asserts covered by vitest - fix vacuous locale-leak needle in prompt-templates.test.ts - replace tautological blank-label sweep with concise-override value table 中文:删除与端到端重试用例重复的 query 单测、390px 视口分支及重复断言;修复永真断言。
|
Claude finished @edwingao28's task in 1m 52s —— View job Re-review — latest commit (
|
|
Claude finished @edwingao28's task in 3m 18s —— View job Re-review — latest commit (
|
|
Claude finished @edwingao28's task in 4m 56s —— View job Re-review — latest commit (
|
中文:合并 master 并解决 CollectiveX KV 相关冲突
Complete the remaining native Chinese presentation copy, preserve technical identifiers, align Submissions timestamps to UTC, and consolidate duplicated end-to-end coverage. 中文:补全数据工具中剩余的自然中文展示文案,保留技术标识符,统一 Submissions 时间戳为 UTC,并精简重复的端到端测试。
3c95be2 to
5b9342b
Compare
|
Claude finished @edwingao28's task in 1m 21s —— View job Re-review — 🟢 LGTM, no new content since the last full pass
No new commits since my last full review. The branch was rebased onto latest All prior findings resolved and confirmed in earlier passes — not re-raising:
Test coverage: unchanged from the last pass — new logic ships with colocated unit tests ( Chinese copy (advisory): no new user-visible strings introduced by the rebase; prior passes found the touched copy natural and accurate. Nothing requires maintainer escalation. CI: |

Part of #823 / 属于 #823 路线图的一部分
What changed
OpenAI API Keyand the Submissions detail valuenoneintentionally remain unchanged.Validation
Ready for maintainer approval and merge.
中文说明
OpenAI API Key与 Submissions 详情中的none按约定保持不变。验证
现已可供维护者批准并合并。
Note
Medium Risk
Broad UI/i18n surface with localized LLM prompts and centralized error sanitization; low auth/data risk but many user-facing paths and chart behaviors are touched.
Overview
Extends Simplified Chinese across Reliability, Submissions, Historical Trends, CollectiveX, AI Chart, Feedback Viewer, and the global feedback dialog—axes, tooltips, tables, workflow conclusions, dates, validation, and chart accessibility labels—while keeping canonical model/hardware/unit identifiers unchanged per the localization policy.
AI Chart now threads
localethrough generation (buildParsePrompt/buildSummaryPrompt,validateSpecfallbacks), locale-specific example prompts, localized result chrome (including per-chart empty states and scatter/linerole="group"labels), and user-safe provider errors with analytics on retry and API-key visibility.CollectiveX & reliability/historical data views replace raw API error text with fixed copy, add localized run conclusions and KV/support-matrix strings, expose
refetchfrom reliability and trend hooks for tracked retry buttons, and wire legend/analytics events where expanded.Feedback gains bilingual
FeedbackFormstrings, optional dialogtitleId/descriptionId(wired from the nudge engine), mapped HTTP/network errors instead of leaking internals, and viewer retry plus localized key validation.Cypress coverage expands for
/zh/*workflows (empty/error/retry, 375px overflow, no leaked secrets) and updates English assertions where UX changed (e.g. CollectiveX load failures).Reviewed by Cursor Bugbot for commit 5b9342b. Bugbot is set up for automated code reviews on this repo. Configure here.