yx9o opened a new pull request, #1269: URL: https://github.com/apache/rocketmq-dashboard/pull/1269
## What is the purpose of the change Add a read-only Resource Plan page that previews Topic and Consumer Group bundle changes before operators apply them manually. ## Brief changelog - Added a Resource Plan page under instance management. - Added JSON bundle parsing and diff planning for Topic and Consumer Group resources. - Classifies planned changes as create, update, skip, conflict, or invalid without modifying cluster resources. - Added focused tests for resource plan parsing, preview logic, page rendering, and instance-scoped routing. ## Verifying this change - `npm test -- --run --api.host 127.0.0.1 src/services/resourcePlanService.test.ts src/pages/instance/__tests__/ResourcePlanPage.test.tsx src/hooks/useInstanceFilter.test.tsx` - `npm test -- --run --api.host 127.0.0.1` - `npm run build` - `npm run lint` - `npx prettier --check src/services/resourcePlanService.ts src/services/resourcePlanService.test.ts src/pages/instance/resourcePlan.tsx src/pages/instance/__tests__/ResourcePlanPage.test.tsx src/hooks/useInstanceFilter.ts src/hooks/useInstanceFilter.test.tsx src/App.tsx src/layouts/MainLayout.tsx src/i18n/translations.ts` - `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]
