yx9o opened a new pull request, #3042: URL: https://github.com/apache/rocketmq-dashboard/pull/3042
## What is the purpose of the change Add a traffic insights panel to the Studio dashboard so users can quickly understand cluster traffic distribution, unhealthy traffic, per-broker load skew, recent traffic trends, idle clusters, and unavailable topology counts from the existing dashboard data. ## Brief changelog - Added dashboard traffic insight calculation utilities. - Added a new DashboardTrafficInsights panel on the home dashboard. - Added i18n text for traffic insight labels and findings. - Added unit and component tests for traffic insight calculation and rendering. - Updated dashboard page tests for duplicated cluster names introduced by the new panel. ## Verifying this change - `npm test -- src/utils/dashboardTrafficInsights.test.ts src/pages/home/__tests__/DashboardTrafficInsights.test.tsx src/pages/home/__tests__/DashboardPage.test.tsx` - `npx eslint src/utils/dashboardTrafficInsights.ts src/utils/dashboardTrafficInsights.test.ts src/pages/home/DashboardTrafficInsights.tsx src/pages/home/__tests__/DashboardTrafficInsights.test.tsx src/pages/home/__tests__/DashboardPage.test.tsx src/pages/home/dashboard.tsx src/i18n/translations.ts` - `npm run build` - `git diff --check` -- 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]
