yuluo-yx opened a new issue, #2229:
URL: https://github.com/apache/rocketmq-dashboard/issues/2229

   ### Problem\n\nThe Producer page keeps the previous connection summary while 
a new query is running or after that query fails. The form also relies only on 
asynchronous React loading state, so two submissions in the same event turn can 
start duplicate provider requests.\n\n### Expected behavior\n\nStarting a new 
query should clear results from the prior criteria. A failed active query must 
not leave stale clients visible, and only one request may be in flight for the 
current form submission.\n\n### Reproduction\n\n1. Run a successful Producer 
connection query.\n2. Change the criteria and make the next request fail; the 
old result remains visible.\n3. Double-submit before React commits loading 
state; two requests can be sent.\n\n### Acceptance criteria\n\n- Previous rows 
and summary are cleared at query start.\n- Only the active request may update 
or release request state.\n- Same-tick duplicate submissions are ignored.\n- UI 
tests cover stale failure state and duplicate submission
 .


-- 
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