123123213weqw opened a new pull request, #1326: URL: https://github.com/apache/rocketmq-dashboard/pull/1326
## Summary - stop Topic and Consumer Group tables from showing a permanent spinner when no managed instance exists - hide previously loaded rows when the current instance becomes unavailable - invalidate in-flight list requests when the instance selection disappears - add focused regression coverage for both pages ## Root cause Both pages initialized `loading` to `true`, but their list effects returned before starting a request when `selectedInstanceId` was empty. The table therefore never left its loading state. ## Impact Empty Studio installations now render usable empty Topic and Consumer Group pages without issuing unscoped API requests. Fixes #1283 ## Validation - `NODE_OPTIONS=--no-experimental-webstorage npm test -- --run src/pages/instance/__tests__/TopicPage.test.tsx src/pages/instance/__tests__/ConsumerPage.test.tsx` - `NODE_OPTIONS=--no-experimental-webstorage npm run lint -- --quiet` -- 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]
