yyqdbngt opened a new pull request, #2095: URL: https://github.com/apache/rocketmq-dashboard/pull/2095
## What is the purpose of the change Fix #2082 (and #2084). The topic detail dialog started multiple async requests without a generation guard, so rapid topic switching let a slow older response clear the loading state while the newer request was still in flight. The topic send handler also swallowed the server's specific error message. ## Brief changelog - topic.tsx: guard detail requests with a detailRequestIdRef - topic.tsx: surface the underlying error message when a send fails ## How was this patch verified - npx vitest run src/pages/instance/__tests__/TopicPage.test.tsx (11 passed) - npx tsc -b clean - npx eslint . clean (0 errors) -- 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]
