yuluo-yx opened a new pull request, #2201: URL: https://github.com/apache/rocketmq-dashboard/pull/2201
## What is the purpose of the change This PR consolidates three related cluster administration UI integrity fixes, following the maintainer guidance in #2107. It replaces the closed one-off PRs #2147, #2156, and #2158 without reopening them. The broker configuration editor can silently round valid message-size values and submit mismatched read/write queue counts. The BrokerCluster page can display topology from the previously selected instance while a new request is loading or after it fails. The NameServer drift selector also mixes instance names and IDs, leaving its controlled value outside the option domain. ## Brief changelog - preserve exact broker message-size values and validate paired queue counts before submission - clear instance-scoped topology during instance changes and active-request failures while preserving request ordering and visibility-aware polling - use instance IDs consistently in the NameServer drift selector and downstream requests - add regression tests for configuration round trips, stale topology, request ordering, and selector identity ## Verifying this change - `npm test -- --run src/pages/cluster/__tests__/ClusterPage.test.tsx src/pages/studio/__tests__/BrokerCluster.test.tsx src/pages/ops/__tests__/NameServerConfigDriftPage.test.tsx` (37 tests passed) - ESLint and Prettier checks passed for all changed files - `npm run build` passed - `git diff --check` passed Fixes #2142 Fixes #2151 Fixes #2153 -- 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]
