yx9o opened a new pull request, #4237: URL: https://github.com/apache/rocketmq-dashboard/pull/4237
## What is the purpose of the change Add a query history insights panel to the Message Query History drawer. The panel summarizes existing message and trace query history data into a health score, risk signals, notable rows, and recommendations so operators can quickly identify broad topic searches, zero-result queries, large result sets, trace collection gaps, fragmented trace topics, stale history, and missing operator context. ## Brief changelog - Added message query history insight aggregation logic with unit tests. - Added a MessageHistoryInsightsPanel to the query history drawer. - Added localized insight labels and recommendations. - Reused the existing UTC time formatter for queriedAt display. ## Verifying this change - `npx prettier --write src/utils/messageHistoryInsights.ts src/utils/messageHistoryInsights.test.ts src/components/MessageHistoryInsightsPanel.tsx src/components/__tests__/MessageHistoryInsightsPanel.test.tsx src/components/MessageQueryHistoryDrawer.tsx src/i18n/translations.ts` - `npm test -- src/utils/messageHistoryInsights.test.ts src/components/__tests__/MessageHistoryInsightsPanel.test.tsx src/components/__tests__/MessageQueryHistoryDrawer.test.tsx` - `npx eslint src/utils/messageHistoryInsights.ts src/utils/messageHistoryInsights.test.ts src/components/MessageHistoryInsightsPanel.tsx src/components/__tests__/MessageHistoryInsightsPanel.test.tsx src/components/MessageQueryHistoryDrawer.tsx src/components/__tests__/MessageQueryHistoryDrawer.test.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]
