messere1 opened a new issue, #1580:
URL: https://github.com/apache/rocketmq-dashboard/issues/1580

   ## Problem
   
   The Resource Plan page allows multiple preview requests to overlap, but it 
does not track which request owns the current UI state.
   
   If a user starts a preview and then changes the selected instance or starts 
a second preview before the first request completes, the slower obsolete 
response can arrive last and replace the plan for the current instance/input. 
An obsolete request can also clear `previewLoading` while the latest preview is 
still running.
   
   ## Expected behavior
   
   - Changing the selected instance invalidates any in-flight preview and 
clears results that belong to the previous instance.
   - Editing the resource bundle invalidates the displayed preview so it cannot 
be mistaken for the current input.
   - Only the latest preview request may publish results, show 
completion/errors, or clear the loading state.
   
   ## Scope
   
   Frontend-only change in `ResourcePlanPage`, with focused regression tests 
for out-of-order preview responses and instance/input changes.
   
   ## Track
   
   Track 1 / Studio resource planning diagnostics.


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