coder999o opened a new pull request, #2555:
URL: https://github.com/apache/rocketmq-dashboard/pull/2555

   ## What is the purpose of the change
   
   Topic and Consumer Group inventories use server-side pagination, but their 
CSV export actions only used the rows currently loaded in the table. Operators 
exporting a filtered inventory from later pages or large instances could get an 
incomplete CSV.
   
   This change makes the export actions load every page matching the current 
filters before building the CSV.
   
   ## Brief changelog
   
   - Added frontend service helpers to collect all paged Topic and Consumer 
Group results for export.
   - Updated Topic and Consumer Group export actions to use the full filtered 
result set instead of the current table page.
   - Reused the page filtering/sorting logic for table display and exports.
   - Added service and page tests covering complete filtered exports.
   
   ## Verifying this change
   
   - `npm test -- --run src/services/topicService.test.ts 
src/services/consumerService.test.ts 
src/pages/instance/__tests__/TopicPage.test.tsx 
src/pages/instance/__tests__/ConsumerPage.test.tsx`
   - `npx eslint src/services/topicService.ts src/services/topicService.test.ts 
src/services/consumerService.ts src/services/consumerService.test.ts 
src/pages/instance/topic.tsx src/pages/instance/__tests__/TopicPage.test.tsx 
src/pages/instance/consumer.tsx 
src/pages/instance/__tests__/ConsumerPage.test.tsx --max-warnings=0`
   - `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]

Reply via email to