graceguo-supercat opened a new issue #11384: URL: https://github.com/apache/incubator-superset/issues/11384
When I open dashboard or chart list page with ENABLE_REACT_CRUD_VIEWS flag: ### Actual results  - it sends 25 api calls to backend. If i have 50 items per page, then it will send 50 api calls. - each api call is to check if dashboard/chart is favorite ### Expected results Can this `favorite` information get loaded with initial other bootstrap data? We should keep this api in this page, so that user can fav/unfav dashboard without open it. But sending a call for each of item, this design is not optimized. ### Environment latest master ### Checklist Make sure these boxes are checked before submitting your issue - thank you! - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [x] I have reproduced the issue with at least the latest released version of superset. - [x] I have checked the issue tracker for the same issue and I haven't found one similar. ### Additional context Add any other context about the problem here. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
