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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to