yyqdbngt opened a new pull request, #1365:
URL: https://github.com/apache/rocketmq-dashboard/pull/1365

   ## Summary
   - assign each Grafana preview load a request id so stale responses cannot 
replace the active dashboard
   - clear previous preview content immediately and invalidate pending loads 
when the modal closes or unmounts
   - add an out-of-order response regression test
   
   ## Test plan
   - `NODE_OPTIONS=--no-experimental-webstorage npm test -- --run 
src/components/__tests__/GrafanaDashboardList.test.tsx`
   - `NODE_OPTIONS=--no-experimental-webstorage npx eslint 
src/components/GrafanaDashboardList.tsx 
src/components/__tests__/GrafanaDashboardList.test.tsx --quiet`
   
   Fixes #1344
   


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