yx9o opened a new pull request, #4216: URL: https://github.com/apache/rocketmq-dashboard/pull/4216
## What is the purpose of the change Add a capacity risk insights panel to the LiteTopic page so operators can quickly identify quota pressure, TTL risks, backlog hotspots, idle patterns, and namespace-level pressure from existing LiteTopic data. ## Brief changelog - Add a LiteTopic capacity insights model for quota usage, TTL status, backlog, idle pattern, and namespace pressure analysis. - Add a LiteTopic capacity insights panel to the LiteTopic page. - Add Chinese and English translations for the new insights UI. - Add unit and component tests for the insights model, panel, and LiteTopic page integration. ## Verifying this change - `npm test -- src/utils/liteTopicCapacityInsights.test.ts src/pages/studio/__tests__/LiteTopicCapacityInsights.test.tsx src/pages/studio/__tests__/LiteTopic.test.tsx` - `npx eslint src/utils/liteTopicCapacityInsights.ts src/utils/liteTopicCapacityInsights.test.ts src/pages/studio/LiteTopicCapacityInsights.tsx src/pages/studio/__tests__/LiteTopicCapacityInsights.test.tsx src/pages/studio/LiteTopic.tsx src/pages/studio/__tests__/LiteTopic.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]
