amaannawab923 commented on code in PR #35998:
URL: https://github.com/apache/superset/pull/35998#discussion_r2511052051
##########
superset-frontend/src/components/Chart/chartReducer.ts:
##########
@@ -67,6 +67,10 @@ export default function chartReducer(
};
},
[actions.CHART_UPDATE_STARTED](state) {
+ const controller = state.queryController;
Review Comment:
/**
* Race condition fix for cross-filters:
* When a filter is removed while charts are loading, abort the
* in-flight request to prevent stale filtered data from rendering.
*
* Related issue: issue link
*/
Please add a comment like this here so that anyone coming here in future
shouldnt remove the setTimeout
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]