You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "btlqql (via GitHub)" <gi...@apache.org> on 2026/10/09 13:23:09 UTC
[PR] fix(dashboard): localize traffic findings separators [rocketmq-dashboard]
btlqql opened a new pull request, #5874:
URL: https://github.com/apache/rocketmq-dashboard/pull/5874
## Why
The traffic-insights findings line joins the label and the issues with hard-coded CJK punctuation (`:` and `、`), so an English-locale operator reads "Traffic signals to review:Idle cluster、Unhealthy traffic". Every other joined list on this surface (e.g. the instance batch-delete toasts) switches separators by `lang`.
## What changed
- `web/src/pages/home/DashboardTrafficInsights.tsx`: the findings Alert now uses locale-aware separators (`:`/`、` in zh, `: `/`; ` otherwise).
## Validation
- New regression test in `DashboardTrafficInsights.test.tsx`: with `en` locale and two findings, the alert contains `; ` and no CJK punctuation. Red before, green after.
- `DashboardTrafficInsights.test.tsx` + `DashboardPage.test.tsx` all pass (9/9).
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(dashboard): localize traffic findings separators [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on PR #5874:
URL: https://github.com/apache/rocketmq-dashboard/pull/5874#issuecomment-6120350366
Thanks — this is merged, as part of [`76cea71e4`](https://github.com/apache/rocketmq-dashboard/commit/76cea71e4003701ed5e9e802cfb48d22ff91ce0a) on `rocketmq-studio`.
Your change went in together with #5873 and #5875 — all yours, all in the same area — so we folded them into a single commit instead of landing several near-identical entries for the same subsystem. Nothing was dropped.
The commit message calls this one out explicitly:
> #5874 `web/src/pages/home/DashboardTrafficInsights.tsx:159` interpolates a full-width colon and
Closing as folded, not rejected.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(dashboard): localize traffic findings separators [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #5874: fix(dashboard): localize traffic findings separators
URL: https://github.com/apache/rocketmq-dashboard/pull/5874
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org