yx9o opened a new pull request, #1013: URL: https://github.com/apache/rocketmq-dashboard/pull/1013
## What is the purpose of the change Add CSV import support for topics and consumer groups so exported resource data can be validated, previewed, and recreated without manual row-by-row entry. ## Brief changelog - Add CSV import workflows to the Topic and Consumer Group pages. - Support BOM, quoted delimiters, embedded newlines, escaped quotes, and malformed CSV detection. - Validate resource fields, duplicate names, and the 100-row import limit. - Skip invalid rows without blocking valid resources. - Preserve failed rows for retry and report per-row import results. - Add shared CSV parsing utilities and focused page tests. ## Verifying this change - `cd web && npm test -- src/utils/resourceCsvImport.test.ts src/pages/instance/__tests__/TopicPage.test.tsx src/pages/instance/__tests__/ConsumerPage.test.tsx --maxWorkers=1 --no-file-parallelism` - `cd web && npm test -- --maxWorkers=1 --no-file-parallelism` - `cd web && npm run build` - `cd web && npm run lint` - `cd web && npx prettier --check src/utils/resourceCsvImport.ts src/utils/resourceCsvImport.test.ts src/pages/instance/topic.tsx src/pages/instance/consumer.tsx src/pages/instance/__tests__/TopicPage.test.tsx src/pages/instance/__tests__/ConsumerPage.test.tsx` - `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]
