yyqdbngt opened a new pull request, #3202: URL: https://github.com/apache/rocketmq-dashboard/pull/3202
## Summary The consumer group page is being localized in slices (offset reset, create/import, list done previously); this PR covers the detail modal overview and health-diagnostics tabs. Localized in instance/consumer.tsx: - Detail modal title fallback (Group 详情) and the 概览 / 健康诊断 tab labels. - Overview tab: statistic cards (在线实例 / 总堆积 / 订阅 Topic 数), the descriptions (Group 名称 / 所属集群 / 订阅模式 / 消费类型 / 订阅组类型 / 消费延迟 / 最大重试次数 with its unit suffix / 创建时间 / 订阅 Topic), the online-instances section header, and the subscription consistency panel (header, re-check button, all six status messages - failed / checking / inconsistent count / unknown count / all consistent / none - and the 仅看不一致 checkbox). Unavailable-lag placeholders reuse the existing `groupMgmt.lagUnavailable` key. - Health diagnostics tab: summary sentence + auto-refresh note, re-diagnose button, degraded-data banner, the four health cards (健康分 / 已知堆积 with 报告堆积 prefix / Queue 覆盖 with unknown-queue states / 客户端 with stale-heartbeat states), the no-risk success alert, the recommendations banner, and the health issues table (级别 / 诊断项 / 说明 headers and severity labels 风险 / 关注 / 提示 through a now-keyed helper). - Reuses existing keys where wording matches (`consumer.name`, `consumer.subMode`, `consumer.subGroupType`, `consumer.delay`, `consumer.maxRetry`, `consumer.createdAt`, ...); 40 new `consumer.*` keys; zh byte-identical. ## Why Overview and health diagnostics are the richest surface of the group detail view; operators rely on these labels and status texts in the active language. ## Testing - `tsc --noEmit` passes - `eslint` clean on the changed files - `vitest run ConsumerPage` - 29/29 tests pass -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
