Aias00 opened a new pull request, #2992: URL: https://github.com/apache/rocketmq-dashboard/pull/2992
## Summary - Replaces #2687 and #2841 with one focused delete-pagination recovery PR. - Closes #2680. - Keeps the #2841 out-of-range page clamp behavior already present in rocketmq-studio. - Adds the #2687 server-backed reload behavior for Topic and Consumer destructive actions. - Refreshes ACL rule deletion through the server-backed rule list instead of local page arithmetic. ## Behavior - Topic, Consumer, and ACL deletes reconcile page contents and totals from the server response. - Topic and Consumer batch deletes keep failed items selected after partial failure. - Empty/out-of-range pages after delete fall back to the last valid page. - Existing import/export/reset preview flows are not changed. ## Verification - RED: `npm test -- src/pages/instance/__tests__/TopicPage.test.tsx` failed before implementation because `listTopicsPage` was only called once after a topic delete. - `npm test -- src/pages/instance/__tests__/TopicPage.test.tsx src/pages/instance/__tests__/ConsumerPage.test.tsx src/pages/instance/__tests__/AclPage.test.tsx` -> 67 passed. - `npm run lint` -> 0 errors, 11 existing warnings. - `npm run build` -> passed. - `git diff --check HEAD~1..HEAD` -> passed. -- 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]
